Bug 762229 (GLUSTER-497) - Client crashes in fuse_fd_cbk while running ltp tests
Summary: Client crashes in fuse_fd_cbk while running ltp tests
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-497
Product: GlusterFS
Classification: Community
Component: stripe
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-22 05:22 UTC by Raghavendra Bhat
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Raghavendra Bhat 2009-12-22 05:22:41 UTC
The client crashed in fuse_fd_cbk while running ltp tests. This is the backtrace of the core generated


Core was generated by `/opt/glusterfs/nightly/sbin/glusterfs -f client01.vol -l /mnt/nightly/logs/2009'.
Program terminated with signal 11, Segmentation fault.
[New process 11675]
[New process 11680]
[New process 11676]
#0  0x00002aaaac36baf8 in fuse_fd_cbk (frame=0x2aaab0001318, cookie=0x2aaab0001380, this=0x60be50, op_ret=0, op_errno=0, 
    fd=0x0) at ../../../../../xlators/mount/fuse/src/fuse-bridge.c:835
835                     if (!S_ISDIR (fd->inode->st_mode)) {
(gdb) bt
#0  0x00002aaaac36baf8 in fuse_fd_cbk (frame=0x2aaab0001318, cookie=0x2aaab0001380, this=0x60be50, op_ret=0, op_errno=0, 
    fd=0x0) at ../../../../../xlators/mount/fuse/src/fuse-bridge.c:835
#1  0x00002aaaac15d384 in stripe_opendir_cbk (frame=0x2aaab0001380, cookie=0x2aaab0000fd0, this=0x611ba0, op_ret=0, 
    op_errno=22, fd=0x2aaab00011e0) at ../../../../../xlators/cluster/stripe/src/stripe.c:2300
#2  0x00002aaaabf41f00 in client_opendir_cbk (frame=0x2aaab0000fd0, hdr=0x619790, hdrlen=116, iobuf=0x0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:4789
#3  0x00002aaaabf4701d in protocol_client_interpret (this=0x611500, trans=0x613fc0, hdr_p=0x619790 "", hdrlen=116, iobuf=0x0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6507
#4  0x00002aaaabf47ce3 in protocol_client_pollin (this=0x611500, trans=0x613fc0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6805
#5  0x00002aaaabf4835a in notify (this=0x611500, event=2, data=0x613fc0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6924
#6  0x00002aaaaace06ff in xlator_notify (xl=0x611500, event=2, data=0x613fc0) at ../../../libglusterfs/src/xlator.c:923
#7  0x00002aaaac582dba in socket_event_poll_in (this=0x613fc0) at ../../../../transport/socket/src/socket.c:729
#8  0x00002aaaac5830af in socket_event_handler (fd=15, idx=5, data=0x613fc0, poll_in=1, poll_out=0, poll_err=0)
    at ../../../../transport/socket/src/socket.c:829
#9  0x00002aaaaad052e9 in event_dispatch_epoll_handler (event_pool=0x60b8a0, events=0x616fa0, i=0)
    at ../../../libglusterfs/src/event.c:804
#10 0x00002aaaaad054be in event_dispatch_epoll (event_pool=0x60b8a0) at ../../../libglusterfs/src/event.c:867
#11 0x00002aaaaad057d4 in event_dispatch (event_pool=0x60b8a0) at ../../../libglusterfs/src/event.c:975
#12 0x0000000000405e3f in main (argc=8, argv=0x7fff004610f8) at ../../../glusterfsd/src/glusterfsd.c:1379
(gdb)

Comment 1 Vijay Bellur 2009-12-22 07:42:36 UTC
PATCH: http://patches.gluster.com/patch/2631 in master (properly ref/unref fd in stripe_opendir_cbk)

Comment 2 Lakshmipathi G 2010-01-20 09:03:39 UTC
ltp tests are successful,now.


Note You need to log in before you can comment on or make changes to this bug.