[Gluster-devel] crash in 3.4.0qa7

Emmanuel Dreyfus manu at netbsd.org
Wed Jan 30 02:46:52 UTC 2013


Here is a crash that occcured after a while on 3.4.0qa7.  There are
suspects NULL basename very high in the backtrace. Is it normal
behavior?

Program terminated with signal 11, Segmentation fault.
#0  uuid_is_null (uu=0x4a <Address 0x4a out of bounds>)
    at ../../contrib/uuid/isnull.c:44

warning: Source file is more recent than executable.
44                      if (*cp++)
(gdb) bt
#0  uuid_is_null (uu=0x4a <Address 0x4a out of bounds>)
    at ../../contrib/uuid/isnull.c:44
#1  0xb9f267e3 in client3_3_entrylk (frame=0xbb3873f0, this=0xba0d1000,
    data=0xbf7fbc04) at client-rpc-fops.c:5307
#2  0xb9f1d149 in client_entrylk (frame=0xbb3873f0, this=0xba0d1000, 
    volume=0xbb384420 "gfs33-replicate-1", loc=0xb8f059dc, basename=0x0,
    cmd=ENTRYLK_LOCK, type=ENTRYLK_WRLCK, xdata=0x0) at client.c:1744
#3  0xb9ef6fd4 in afr_lock_blocking (frame=0xba50bb78, this=0xba0e3000,
    cookie=-1175144896) at afr-lk-common.c:1168
#4  0xb9ef725f in afr_lock_cbk (frame=0xba50bb78, cookie=0x7,
this=0xba0e3000, 
    op_ret=-1, op_errno=70, xdata=<optimized out>) at
afr-lk-common.c:934
#5  0xb9ef7398 in afr_blocking_entrylk_cbk (frame=0xba50bb78,
cookie=0x7, 
    this=0xba0e3000, op_ret=-1, op_errno=70, xdata=0x0) at
afr-lk-common.c:961
#6  0xb9f269db in client3_3_entrylk (frame=0xbb386f90, this=0xba0e1000,
    data=0xbf7fc2d4) at client-rpc-fops.c:5342
#7  0xb9f1d149 in client_entrylk (frame=0xbb386f90, this=0xba0e1000, 
    volume=0xbb384420 "gfs33-replicate-1", loc=0xb8f059a0, 
    basename=0x108b9 <Address 0x108b9 out of bounds>, cmd=ENTRYLK_LOCK,
    type=ENTRYLK_WRLCK, xdata=0x0) at client.c:1744
#8  0xb9ef6fd4 in afr_lock_blocking (frame=0xba50bb78, this=0xba0e3000,
    cookie=-1175144896) at afr-lk-common.c:1168
#9  0xb9ef725f in afr_lock_cbk (frame=0xba50bb78, cookie=0x6,
this=0xba0e3000, 
    op_ret=-1, op_errno=70, xdata=<optimized out>) at
afr-lk-common.c:934
---Type <return> to continue, or q <return> to quit---
#10 0xb9ef7398 in afr_blocking_entrylk_cbk (frame=0xba50bb78,
cookie=0x6, 
    this=0xba0e3000, op_ret=-1, op_errno=70, xdata=0x0) at
afr-lk-common.c:961
#11 0xb9f269db in client3_3_entrylk (frame=0xbb38b360, this=0xba0d1000,
    data=0xbf7fc9a4) at client-rpc-fops.c:5342
#12 0xb9f1d149 in client_entrylk (frame=0xbb38b360, this=0xba0d1000, 
    volume=0xbb384420 "gfs33-replicate-1", loc=0xb8f059a0, 
    basename=0x108b9 <Address 0x108b9 out of bounds>, cmd=ENTRYLK_LOCK,
    type=ENTRYLK_WRLCK, xdata=0x0) at client.c:1744
#13 0xb9ef6fd4 in afr_lock_blocking (frame=0xba50bb78, this=0xba0e3000,
    cookie=-1175144896) at afr-lk-common.c:1168
#14 0xb9ef725f in afr_lock_cbk (frame=0xba50bb78, cookie=0x5,
this=0xba0e3000, 
    op_ret=-1, op_errno=70, xdata=<optimized out>) at
afr-lk-common.c:934
#15 0xb9ef7398 in afr_blocking_entrylk_cbk (frame=0xba50bb78,
cookie=0x5, 
    this=0xba0e3000, op_ret=-1, op_errno=70, xdata=0x0) at
afr-lk-common.c:961
#16 0xb9f269db in client3_3_entrylk (frame=0xbb38b7c0, this=0xba0e1000,
    data=0xbf7fd074) at client-rpc-fops.c:5342
#17 0xb9f1d149 in client_entrylk (frame=0xbb38b7c0, this=0xba0e1000, 
    volume=0xbb384420 "gfs33-replicate-1", loc=0xb8f05964, basename=0x0,
    cmd=ENTRYLK_LOCK, type=ENTRYLK_WRLCK, xdata=0x0) at client.c:1744
#18 0xb9ef6fd4 in afr_lock_blocking (frame=0xba50bb78, this=0xba0e3000,
    cookie=-1175144896) at afr-lk-common.c:1168
#19 0xb9ef725f in afr_lock_cbk (frame=0xba50bb78, cookie=0x4,
this=0xba0e3000, 
    op_ret=-1, op_errno=70, xdata=<optimized out>) at
afr-lk-common.c:934
#20 0xb9ef7398 in afr_blocking_entrylk_cbk (frame=0xba50bb78,
cookie=0x4, 
    this=0xba0e3000, op_ret=-1, op_errno=70, xdata=0x0) at
afr-lk-common.c:961
#21 0xb9f269db in client3_3_entrylk (frame=0xbb38b600, this=0xba0d1000,
    data=0xbf7fd744) at client-rpc-fops.c:5342
#22 0xb9f1d149 in client_entrylk (frame=0xbb38b600, this=0xba0d1000, 
    volume=0xbb384420 "gfs33-replicate-1", loc=0xb8f05964, basename=0x0,
    cmd=ENTRYLK_LOCK, type=ENTRYLK_WRLCK, xdata=0x0) at client.c:1744
#23 0xb9ef6fd4 in afr_lock_blocking (frame=0xba50bb78, this=0xba0e3000,
    cookie=-1175144896) at afr-lk-common.c:1168
#24 0xb9ef725f in afr_lock_cbk (frame=0xba50bb78, cookie=0x3,
this=0xba0e3000, 
    op_ret=0, op_errno=0, xdata=<optimized out>) at afr-lk-common.c:934
#25 0xb9ef7398 in afr_blocking_entrylk_cbk (frame=0xba50bb78,
cookie=0x3, 
    this=0xba0e3000, op_ret=0, op_errno=0, xdata=0x0) at
afr-lk-common.c:961
#26 0xb9f2ef5e in client3_3_entrylk_cbk (req=0xb87010d8, iov=0xb87010f8,
    count=1, myframe=0xbb38a100) at client-rpc-fops.c:1633
#27 0xbb77af28 in rpc_clnt_handle_reply (clnt=0xba0b61c0,
pollin=0xb6d05040)
    at rpc-clnt.c:771
#28 0xbb77b365 in rpc_clnt_notify (trans=0xbb314800, mydata=0xba0b61e0,
    event=RPC_TRANSPORT_MSG_RECEIVED, data=0xb6d05040) at rpc-clnt.c:890
#29 0xbb777c7a in rpc_transport_notify (this=0xbb314800, 
    event=RPC_TRANSPORT_MSG_RECEIVED, data=0xb6d05040) at
rpc-transport.c:495
#30 0xb9faf813 in socket_event_poll_in (this=0xbb314800) at
socket.c:2092
#31 0xb9faffd1 in socket_event_handler (fd=16, idx=2, data=0xbb314800, 
    poll_in=1, poll_out=0, poll_err=0) at socket.c:2204
#32 0xbb7d31b1 in event_dispatch_poll_handler (i=2, ufds=0xbb383160, 
    event_pool=0xbb341080) at event-poll.c:357
#33 event_dispatch_poll (event_pool=0xbb341080) at event-poll.c:436
#34 0xbb7b0754 in event_dispatch (event_pool=0xbb341080) at event.c:113
#35 0x0804f4e2 in main (argc=4, argv=0xbf7fe870) at glusterfsd.c:1901
(gdb) frame 1
#1  0xb9f267e3 in client3_3_entrylk (frame=0xbb3873f0, this=0xba0d1000,
    data=0xbf7fbc04) at client-rpc-fops.c:5307
warning: Source file is more recent than executable.
5307            if (!uuid_is_null (args->loc->inode->gfid))
(gdb) print *args
$1 = {loc = 0xb8f059dc, fd = 0x0, linkname = 0x0, iobref = 0x0, vector =
0x0, 
  xattr = 0x0, stbuf = 0x0, oldloc = 0x0, newloc = 0x0, name = 0x0, 
  flock = 0x0, volume = 0xbb384420 "gfs33-replicate-1", basename = 0x0,
  offset = 0, mask = 0, cmd = 0, size = 0, mode = 0, rdev = 0, flags =
0, 
  count = 0, datasync = 0, cmd_entrylk = ENTRYLK_LOCK, type =
ENTRYLK_WRLCK, 
  optype = GF_XATTROP_ADD_ARRAY, valid = 0, len = 0, umask = 0, xdata =
0x0}
(gdb) print *args->loc
$2 = {path = 0x4 <Address 0x4 out of bounds>, 
  name = 0xffffffff <Address 0xffffffff out of bounds>, inode = 0x46, 
  parent = 0xb9edf0c2, gfid = '\000' <repeats 15 times>, 
  pargfid = "\001", '\000' <repeats 14 times>}

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




More information about the Gluster-devel mailing list