| Summary: | Segmentation fault in saved_frames_unwind | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Junaid <junaid> |
| Component: | transport | Assignee: | Raghavendra G <raghavendra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.2 | CC: | gluster-bugs, rahulcs, shehjart, vagarwal |
| 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: | RTNR | Mount Type: | fuse |
| Documentation: | DNR | CRM: | |
| Verified Versions: | 3.1-branch. | Category: | --- |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
PATCH: http://patches.gluster.com/patch/6078 in master (rpc/rpc-clnt: don't access rpcreq after putting the struct back into mem-pool.) *** Bug 2056 has been marked as a duplicate of this bug. *** No segfaults found during performance runs. |
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