[Gluster-devel] qa39 crash

Emmanuel Dreyfus manu at netbsd.org
Mon Apr 30 19:32:46 UTC 2012


I got a crash client-side. It happens in pthread_spin_lock() and I
recall fixing that kind of issue for a uninitialized lock.

pending frames:
frame : type(1) op(FSETATTR)
frame : type(1) op(FSETATTR)
frame : type(1) op(FSETATTR)
patchset: git://git.gluster.com/glusterfs.git
signal received: 11
time of crash: 2012-04-30 20:14:10
configuration details:
dlfcn 1
fdatasync 1l
ibpthread 1
llistxattr 1
spinlock 1
extattr.h 1
xattr.h 1
st_atimespec.tv_nsec 1
package-string: glusterfs 3.3.0qa39


Core was generated by `glusterfsd'.
Program terminated with signal 11, Segmentation fault.
#0  0xbbb3a7c9 in pthread_spin_lock () from /usr/lib/libpthread.so.1
(gdb) bt
#0  0xbbb3a7c9 in pthread_spin_lock () from /usr/lib/libpthread.so.1
#1  0xbaa09d8c in mdc_inode_prep ()
   from
/usr/local/lib/glusterfs/3.3.0qa39/xlator/performance/md-cache.so
#2  0xbaa0a1bf in mdc_inode_iatt_set ()
   from
/usr/local/lib/glusterfs/3.3.0qa39/xlator/performance/md-cache.so
#3  0xbaa0ec59 in mdc_setattr_cbk ()
   from
/usr/local/lib/glusterfs/3.3.0qa39/xlator/performance/md-cache.so
#4  0xbaa1d06e in qr_fsetattr_cbk ()
   from
/usr/local/lib/glusterfs/3.3.0qa39/xlator/performance/quick-read.so
#5  0xbbb8aa4e in default_fsetattr_cbk (frame=0xbb7857c0,
cookie=0xbb789e30, 
    this=0xba3e1000, op_ret=0, op_errno=0, statpre=0xb95c3940, 
    statpost=0xb95c39a8, xdata=0x0) at defaults.c:461
#6  0xbbb8aa4e in default_fsetattr_cbk (frame=0xbb789e30,
cookie=0xbb77a460, 
    this=0xba3e0000, op_ret=0, op_errno=0, statpre=0xb95c3940, 
    statpost=0xb95c39a8, xdata=0x0) at defaults.c:461
#7  0xbbb8aa4e in default_fsetattr_cbk (frame=0xbb77a460,
cookie=0xbb7ae410, 
    this=0xba3df000, op_ret=0, op_errno=0, statpre=0xb95c3940, 
    statpost=0xb95c39a8, xdata=0x0) at defaults.c:461
#8  0xb9aa9cb7 in afr_fsetattr_unwind ()
   from /usr/local/lib/glusterfs/3.3.0qa39/xlator/cluster/replicate.so
#9  0xb9aa9e95 in afr_fsetattr_wind_cbk ()
   from /usr/local/lib/glusterfs/3.3.0qa39/xlator/cluster/replicate.so
#10 0xbaa69dda in client3_1_fsetattr_cbk ()
   from /usr/local/lib/glusterfs/3.3.0qa39/xlator/protocol/client.so
#11 0xbbb69716 in rpc_clnt_handle_reply () from
/usr/local/lib/libgfrpc.so.0
#12 0xbbb699b3 in rpc_clnt_notify () from /usr/local/lib/libgfrpc.so.0
#13 0xbbb65989 in rpc_transport_notify () from
/usr/local/lib/libgfrpc.so.0
#14 0xbaa9328e in socket_event_poll_in ()
   from /usr/local/lib/glusterfs/3.3.0qa39/rpc-transport/socket.so
#15 0xbaa93805 in socket_event_handler ()
   from /usr/local/lib/glusterfs/3.3.0qa39/rpc-transport/socket.so
#16 0xbbbb2303 in event_dispatch_poll_handler (event_pool=0xbb734080, 
    ufds=0xbb7776a0, i=3) at event.c:366
#17 0xbbbb256f in event_dispatch_poll (event_pool=0xbb734080) at
event.c:446
#18 0xbbbb289b in event_dispatch (event_pool=0xbb734080) at event.c:956
#19 0x0804fed4 in main ()

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org




More information about the Gluster-devel mailing list