Bug 762234 (GLUSTER-502)

Summary: crash in afr
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: replicateAssignee: Vikas Gorur <vikas>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: avati, fharshav, gluster-bugs, pavan, shehjart, 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 Raghavendra Bhat 2009-12-23 07:38:54 UTC
The client on availmedia crashed in afr. This is the backtrace of the core generated

Program terminated with signal 11, Segmentation fault.
#0  0x00002aeeea5eac7c in gf_print_trace (signum=11) at ../../../libglusterfs/src/common-utils.c:413
413                             if ((tmp->root->type == GF_OP_TYPE_FOP_REQUEST) ||
(gdb) bt
#0  0x00002aeeea5eac7c in gf_print_trace (signum=11) at ../../../libglusterfs/src/common-utils.c:413
#1  <signal handler called>
#2  0x00002aeeeb30df9d in afr_local_copy (l=0x20ba7180, this=0x1eec5f70)
    at ../../../../../xlators/cluster/afr/src/afr-self-heal-common.c:1429
#3  0x00002aeeeb30e42e in afr_self_heal (frame=0x2aaac16acdf0, this=0x1eec5f70)
    at ../../../../../xlators/cluster/afr/src/afr-self-heal-common.c:1532
#4  0x00002aeeeb2ded46 in afr_lookup_done (frame=0x2aaac16acdf0, this=0x1eec5f70, lookup_buf=0x20ba72c8)
    at ../../../../../xlators/cluster/afr/src/afr.c:663
#5  0x00002aeeeb2df6af in afr_revalidate_lookup_cbk (frame=0x2aaac16acdf0, cookie=0x1, this=0x1eec5f70, op_ret=0, op_errno=22, 
    inode=0x20b8a340, buf=0x7fff06ab5210, xattr=0x2aaac12ea120, postparent=0x7fff06ab5180)
    at ../../../../../xlators/cluster/afr/src/afr.c:947
#6  0x00002aeeeb0c7883 in client_lookup_cbk (frame=0x2aaac15b5ed0, hdr=0x2aaac173bed0, hdrlen=512, iobuf=0x0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:4953
#7  0x00002aeeeb0cc02d in protocol_client_interpret (this=0x1eec4c60, trans=0x1eecc030, hdr_p=0x2aaac173bed0 "", hdrlen=512, 
    iobuf=0x0) at ../../../../../xlators/protocol/client/src/client-protocol.c:6507
#8  0x00002aeeeb0cccf3 in protocol_client_pollin (this=0x1eec4c60, trans=0x1eecc030)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6805
#9  0x00002aeeeb0cd36a in notify (this=0x1eec4c60, event=2, data=0x1eecc030)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6924
#10 0x00002aeeea5df59b in xlator_notify (xl=0x1eec4c60, event=2, data=0x1eecc030) at ../../../libglusterfs/src/xlator.c:923
#11 0x00002aaaaab1cdba in socket_event_poll_in (this=0x1eecc030) at ../../../../transport/socket/src/socket.c:729
#12 0x00002aaaaab1d0af in socket_event_handler (fd=23, idx=9, data=0x1eecc030, poll_in=1, poll_out=0, poll_err=0)
    at ../../../../transport/socket/src/socket.c:829
#13 0x00002aeeea604185 in event_dispatch_epoll_handler (event_pool=0x1eebd6f0, events=0x1eed32c0, i=0)
    at ../../../libglusterfs/src/event.c:804
#14 0x00002aeeea60435a in event_dispatch_epoll (event_pool=0x1eebd6f0) at ../../../libglusterfs/src/event.c:867
#15 0x00002aeeea604670 in event_dispatch (event_pool=0x1eebd6f0) at ../../../libglusterfs/src/event.c:975
#16 0x0000000000405e30 in main (argc=6, argv=0x7fff06ab5ec8) at ../../../glusterfsd/src/glusterfsd.c:1378
(gdb)

Comment 1 Pavan Vilas Sondur 2010-02-16 08:10:05 UTC
Vikas, did you get a chance to work on this bug?

Comment 2 Shehjar Tikoo 2010-03-02 07:38:58 UTC
Vikas, any updates on this?

Comment 3 Vikas Gorur 2010-03-06 01:24:17 UTC
Closing as there is no longer access to the setup and bug is not reproducible. Please reopen if this is found again.