Bug 764067 (GLUSTER-2335) - Segmentation fault in saved_frames_unwind
Summary: Segmentation fault in saved_frames_unwind
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2335
Product: GlusterFS
Classification: Community
Component: transport
Version: 3.1.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
: 763788 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-31 05:34 UTC by Junaid
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: RTNR
Mount Type: fuse
Documentation: DNR
CRM:
Verified Versions: 3.1-branch.


Attachments (Terms of Use)

Description Junaid 2011-01-31 05:34:40 UTC
On a setup of 2 server dht, while running performance test on the mount point, found segmentation fault.

core dump:

0x00002ad027389861 in saved_frames_unwind (saved_frames=0x1dea6990)
    at ../../../../rpc/rpc-lib/src/rpc-clnt.c:347
#1  0x00002ad0273898b7 in saved_frames_destroy (frames=0x1dea6990)
    at ../../../../rpc/rpc-lib/src/rpc-clnt.c:358
#2  0x00002ad027389d78 in rpc_clnt_connection_cleanup (conn=0x1deb7850)
    at ../../../../rpc/rpc-lib/src/rpc-clnt.c:504
#3  0x00002ad02738a7af in rpc_clnt_notify (trans=0x1deb7990, 
    mydata=0x1deb7850, event=RPC_TRANSPORT_DISCONNECT, data=0x1deb7990)
    at ../../../../rpc/rpc-lib/src/rpc-clnt.c:826
#4  0x00002ad02738807c in rpc_transport_notify (this=0x1deb7990, 
    event=RPC_TRANSPORT_DISCONNECT, data=0x1deb7990)
    at ../../../../rpc/rpc-lib/src/rpc-transport.c:1149
#5  0x00002aaaaad693b2 in socket_event_poll_err (this=0x1deb7990)
    at ../../../../../rpc/rpc-transport/socket/src/socket.c:662
#6  0x00002aaaaad6c8f1 in socket_event_handler (fd=7, idx=1, data=0x1deb7990, 
    poll_in=1, poll_out=0, poll_err=0)
    at ../../../../../rpc/rpc-transport/socket/src/socket.c:1742
#7  0x00002ad0271435ec in event_dispatch_epoll_handler (event_pool=0x1dea1330, 
    events=0x1dea5a60, i=0) at ../../../libglusterfs/src/event.c:812
#8  0x00002ad0271437db in event_dispatch_epoll (event_pool=0x1dea1330)
    at ../../../libglusterfs/src/event.c:876
#9  0x00002ad027143b37 in event_dispatch (event_pool=0x1dea1330)
    at ../../../libglusterfs/src/event.c:984




(gdb) f 0
#0  0x00002ad027389861 in saved_frames_unwind (saved_frames=0x1dea6990)
    at ../../../../rpc/rpc-lib/src/rpc-clnt.c:347
347    mem_put (trav->rpcreq->conn->rpc_clnt->saved_frames_pool, trav);


(gdb) p trav->rpcreq->conn->rpc_clnt
$1 = (struct rpc_clnt *) 0x0

Comment 1 Anand Avati 2011-02-07 16:33:01 UTC
PATCH: http://patches.gluster.com/patch/6078 in master (rpc/rpc-clnt: don't access rpcreq after putting the struct back into mem-pool.)

Comment 2 Raghavendra G 2011-06-27 03:58:44 UTC
*** Bug 2056 has been marked as a duplicate of this bug. ***

Comment 3 Rahul C S 2011-08-25 07:08:08 UTC
No segfaults found during performance runs.


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