Bug 762481 (GLUSTER-749) - crash in stripe_readv_cbk
Summary: crash in stripe_readv_cbk
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-749
Product: GlusterFS
Classification: Community
Component: stripe
Version: mainline
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Raghavendra Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-22 18:42 UTC by Raghavendra Bhat
Modified: 2015-12-01 16:45 UTC (History)
2 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 2010-03-22 18:42:23 UTC
The glusterfs client process crashed in stripe_readv_cbk.This is observed in nightly sanity runs. This is the backtrace of the core generated.

Reading symbols from /opt/glusterfs/nightly/lib/libglusterfs.so.0...done.
Loaded symbols for /opt/glusterfs/nightly/lib/libglusterfs.so.0
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libpthread.so.0...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /opt/glusterfs/nightly/lib/glusterfs/3.0.0git/xlator/protocol/client.so...done.
Loaded symbols for /opt/glusterfs/nightly/lib/glusterfs/3.0.0git/xlator/protocol/client.so
Reading symbols from /opt/glusterfs/nightly/lib/glusterfs/3.0.0git/xlator/cluster/stripe.so...done.
Loaded symbols for /opt/glusterfs/nightly/lib/glusterfs/3.0.0git/xlator/cluster/stripe.so
Reading symbols from /opt/glusterfs/nightly/lib/glusterfs/3.0.0git/xlator/mount/fuse.so...done.
Loaded symbols for /opt/glusterfs/nightly/lib/glusterfs/3.0.0git/xlator/mount/fuse.so
Reading symbols from /opt/glusterfs/nightly/lib/glusterfs/3.0.0git/transport/socket.so...done.
Loaded symbols for /opt/glusterfs/nightly/lib/glusterfs/3.0.0git/transport/socket.so
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libgcc_s.so.1...done.
Loaded symbols for /lib64/libgcc_s.so.1
Core was generated by `/opt/glusterfs/nightly/sbin/glusterfs -f client01.vol -l /mnt/nightly/logs_stri'.
Program terminated with signal 11, Segmentation fault.
[New process 6865]
[New process 6872]
[New process 6866]
#0  0x00002aaaac1645a9 in stripe_readv_cbk (frame=0x619bd8, cookie=0x619d70, this=0x612240, op_ret=0, op_errno=2, 
    vector=0x7fff3a963070, count=1, stbuf=0x7fff3a963000, iobref=0x619aa0)
    at ../../../../../xlators/cluster/stripe/src/stripe.c:2984
2984	                STACK_UNWIND (main_frame, op_ret, op_errno,
(gdb) bt
#0  0x00002aaaac1645a9 in stripe_readv_cbk (frame=0x619bd8, cookie=0x619d70, this=0x612240, op_ret=0, op_errno=2, 
    vector=0x7fff3a963070, count=1, stbuf=0x7fff3a963000, iobref=0x619aa0)
    at ../../../../../xlators/cluster/stripe/src/stripe.c:2984
#1  0x00002aaaabf42f8c in client_readv_cbk (frame=0x619d70, hdr=0x61b3e0, hdrlen=188, iobuf=0x60b840)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:4416
#2  0x00002aaaabf49460 in protocol_client_interpret (this=0x6100c0, trans=0x6164a0, hdr_p=0x61b3e0 "", hdrlen=188, 
    iobuf=0x60b840) at ../../../../../xlators/protocol/client/src/client-protocol.c:6529
#3  0x00002aaaabf4a126 in protocol_client_pollin (this=0x6100c0, trans=0x6164a0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6827
#4  0x00002aaaabf4a79d in notify (this=0x6100c0, event=2, data=0x6164a0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6946
#5  0x00002aaaaace076a in xlator_notify (xl=0x6100c0, event=2, data=0x6164a0) at ../../../libglusterfs/src/xlator.c:924
#6  0x00002aaaac586e96 in socket_event_poll_in (this=0x6164a0) at ../../../../transport/socket/src/socket.c:731
#7  0x00002aaaac58718b in socket_event_handler (fd=10, idx=0, data=0x6164a0, poll_in=1, poll_out=0, poll_err=0)
    at ../../../../transport/socket/src/socket.c:831
#8  0x00002aaaaad06b51 in event_dispatch_epoll_handler (event_pool=0x60b8a0, events=0x618440, i=0)
    at ../../../libglusterfs/src/event.c:804
#9  0x00002aaaaad06d26 in event_dispatch_epoll (event_pool=0x60b8a0) at ../../../libglusterfs/src/event.c:867
#10 0x00002aaaaad0703c in event_dispatch (event_pool=0x60b8a0) at ../../../libglusterfs/src/event.c:975
#11 0x0000000000405f3c in main (argc=8, argv=0x7fff3a963c88) at ../../../glusterfsd/src/glusterfsd.c:1417



No performance translators are loaded at the client side.

Comment 1 Anand Avati 2010-03-24 04:22:34 UTC
PATCH: http://patches.gluster.com/patch/2952 in master (Replace struct stat by struct iatt)


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