glusterfs icon indicating copy to clipboard operation
glusterfs copied to clipboard

Segmentation fault (core dumped)

Open SRP86 opened this issue 7 months ago • 8 comments

The "gluster volume status test" command returns the error "Segmentation fault (core dumped)"

I have a setup of 15 nodes, each node has 36 Hard drives (Each 4TB Capacity). So my total brick count is 540 My volume is disperse-data 11 redundancy 4 transport tcp (11+4 Setup with 15 nodes)

The status command worked fine till I added the 33rd set of bricks i.e when my brick count reached 495 it worked fine and returned the status of volume, However after adding the 34th Brick set, I got the error "Segmentation fault (core dumped)" i.e my total brick count reached 510 now.

What is the reason behind this error? Someone, please help with this ASAP

Thank You SRP

SRP86 avatar May 29 '25 13:05 SRP86

Could you please share the core dump? if possible, please take the core into gdb and share output of "thread all apply bt" output. Which gluster version are you running?

sanjurakonde avatar May 30 '25 07:05 sanjurakonde

@pranithk Is there any updates from your end on this problem? Do you want me to provide the dump? The similar issue reported in the ticket #4323 already has the dump in it.

SRP86 avatar Jun 04 '25 11:06 SRP86

@pranithk Is there any updates from your end on this problem? Do you want me to provide the dump? The similar issue reported in the ticket #4323 already has the dump in it.

Could you attach the dump from your setup also? Sometimes issues could be slightly different. Better to have more information

pranithk avatar Jun 05 '25 00:06 pranithk

@pranithk I got the below alone in my dump file, this is it or am I missing something? If Yes, Please let me know.

root@node01:/tmp# gdb $(which gluster) /tmp/core-glfs_epoll001-1627308-1749140626 GNU gdb (Debian 13.1-3) 13.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.

For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/sbin/gluster... (No debugging symbols found in /usr/sbin/gluster) [New LWP 1627313] [New LWP 1627311] [New LWP 1627308] [New LWP 1627309] [New LWP 1627312] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `gluster volume status test'. Program terminated with signal SIGSEGV, Segmentation fault. #0 ___pthread_mutex_lock (mutex=0x0) at ./nptl/pthread_mutex_lock.c:80 80 ./nptl/pthread_mutex_lock.c: No such file or directory. [Current thread is 1 (Thread 0x7fa3ab5fc6c0 (LWP 1627313))] (gdb)

SRP86 avatar Jun 05 '25 16:06 SRP86

@SRP86 Attach the file to this issue

pranithk avatar Jun 10 '25 09:06 pranithk

core-glfs_epoll001-21629-1749799797.zip

@pranithk Attached the core dump for your reference.

SRP86 avatar Jun 13 '25 07:06 SRP86

@pranithk Any further updates on this? Please let me know

SRP86 avatar Jun 19 '25 10:06 SRP86

@pranithk Any further updates on this? Please let me know

SRP86 avatar Jun 30 '25 16:06 SRP86