Bug 763448 (GLUSTER-1716)

Summary: client crashes on SIGINT
Product: [Community] GlusterFS Reporter: Csaba Henk <csaba>
Component: coreAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Csaba Henk 2010-09-27 17:19:06 UTC
* create a volume via gluster cli with a single local brick
* mount it
* kill the client process with SIGINT

-- It will crash. Note that the crash is not seen when terminated via SIGTERM.

Gdb says:

(gdb) bt
#0  0x00007ffcb04ef565 in raise () from /host/lib/libc.so.6
#1  0x00007ffcb04f09e6 in abort () from /host/lib/libc.so.6
#2  0x00007ffcb04e8145 in __assert_fail () from /host/lib/libc.so.6
#3  0x00007ffcb10b0881 in __gf_free (free_ptr=0x1eb6d78) at mem-pool.c:253
#4  0x00007ffcb0e63654 in rpc_transport_destroy (this=0x1eb6da8) at rpc-transport.c:1070
#5  0x00007ffcb0e679df in rpc_clnt_destroy (rpc=0x1eb6ad8) at rpc-clnt.c:1448
#6  0x0000000000404782 in cleanup_and_exit (signum=15) at glusterfsd.c:660
#7  0x0000000000405edb in glusterfs_sigwaiter (arg=0x7fffcdda4710) at glusterfsd.c:1180
#8  0x00007ffcb081fcb0 in start_thread () from /host/lib/libpthread.so.0
#9  0x00007ffcb058b7ad in clone () from /host/lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Comment 1 Pranith Kumar K 2010-09-30 09:09:32 UTC
With the latest git pull, this issue is not seen.