[Gluster-devel] Crash in glusterfs!!!

ABHISHEK PALIWAL abhishpaliwal at gmail.com
Fri Sep 21 09:25:01 UTC 2018


We have seen a SIGSEGV crash on glusterfs process on kernel restart at
start up.

(gdb) bt
#0  0x00003fffad4463b0 in _IO_unbuffer_all () at genops.c:960
#1  _IO_cleanup () at genops.c:1020
#2  0x00003fffad400d00 in __run_exit_handlers (status=<optimized out>,
listp=<optimized out>, run_list_atexit=run_list_atexit at entry=true) at
exit.c:95
#3  0x00003fffad400e1c in __GI_exit (status=<optimized out>) at exit.c:104
#4  0x000000001000984c in cleanup_and_exit (signum=<optimized out>) at
glusterfsd.c:1295
#5  0x0000000010009a64 in *glusterfs_sigwaiter *(arg=<optimized out>) at
glusterfsd.c:2016
#6  0x00003fffad57db30 in start_thread (arg=0x3fffab302160) at
pthread_create.c:462
#7  0x00003fffad4c7cdc in .__clone () at
../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:96

(gdb) bt full
#0  0x00003fffad4463b0 in _IO_unbuffer_all () at genops.c:960
    __result = 0
    __self = 0x3fffab302160
    cnt = 1
    fp = 0x3fffa4001f00
#1  _IO_cleanup () at genops.c:1020
    result = 0
#2  0x00003fffad400d00 in __run_exit_handlers (status=<optimized out>,
listp=<optimized out>, run_list_atexit=run_list_atexit at entry=true) at
exit.c:95
    ptr = 0x3fffad557000 <__elf_set___libc_atexit_element__IO_cleanup__>
#3  0x00003fffad400e1c in __GI_exit (status=<optimized out>) at exit.c:104
No locals.
#4  0x000000001000984c in cleanup_and_exit (signum=<optimized out>) at
glusterfsd.c:1295
    ctx = <optimized out>
    trav = <optimized out>
    __FUNCTION__ = <error reading variable __FUNCTION__ (Cannot access
memory at address 0x10010e38)>
#5  0x0000000010009a64 in glusterfs_sigwaiter (arg=<optimized out>) at
glusterfsd.c:2016
    set = {__val = {18947, 0 <repeats 15 times>}}
    ret = <optimized out>
    sig = 15
#6  0x00003fffad57db30 in start_thread (arg=0x3fffab302160) at
pthread_create.c:462
    pd = 0x3fffab302160
    now = <optimized out>
    unwind_buf = {cancel_jmp_buf = {{jmp_buf = {5451414826039278896,
70367357615104, 5451414826003312788, 0, 0, 70367312883712, 70367321268768,
8388608,
            70367357575200, 70367913735952, 268595776, 70367357600728,
268588656, 3, 0, 70367357600744, 70367913735600, 70367913735656, 4001536,
            70367357576216, 70367321265984, -3187653564, 0 <repeats 42
times>}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data =
{prev = 0x0,
          cleanup = 0x0, canceltype = 0}}}
    not_first_call = <optimized out>
    pagesize_m1 = <optimized out>
    sp = <optimized out>
    freesize = <optimized out>
    __PRETTY_FUNCTION__ = "start_thread"
---Type <return> to continue, or q <return> to quit---
#7  0x00003fffad4c7cdc in .__clone () at
../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:96
No locals

*Can you please help us in finding the cause for SIGSEGV. ?*
*Also please share your understanding on this issue.*
-- 
Regards
Abhishek Paliwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20180921/9ce3c573/attachment.html>


More information about the Gluster-devel mailing list