Bug 762534 (GLUSTER-802)

Summary: 3.0.3rc1 afr client
Product: [Community] GlusterFS Reporter: Lakshmipathi G <lakshmipathi>
Component: protocolAssignee: Amar Tumballi <amarts>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.3CC: amarts, gluster-bugs, vijay, vraman
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 Lakshmipathi G 2010-04-05 12:56:01 UTC
While trying to reproduce the bug:1737 with 3.0.3rc1 , core file details :

(gdb) f 0
#0  0x00002b7ca8727d94 in server_lookup (frame=0x22eee08, bound_xl=0x1cb8130, hdr=0x229ba50, hdrlen=169, iobuf=0x0) at server-protocol.c:2661
2661	in server-protocol.c
(gdb) p *state
Cannot access memory at address 0x0
(gdb) p state
$1 = (server_state_t *) 0x0
(gdb) bt
#0  0x00002b7ca8727d94 in server_lookup (frame=0x22eee08, bound_xl=0x1cb8130, hdr=0x229ba50, hdrlen=169, iobuf=0x0) at server-protocol.c:2661
#1  0x00002b7ca8733ec7 in protocol_server_interpret (this=0x1cb8a20, trans=0x2aaaac589bb0, hdr_p=0x229ba50 "", hdrlen=169, iobuf=0x0) at server-protocol.c:6323
#2  0x00002b7ca8735067 in protocol_server_pollin (this=0x1cb8a20, trans=0x2aaaac589bb0) at server-protocol.c:6726
#3  0x00002b7ca8735276 in notify (this=0x1cb8a20, event=2, data=0x2aaaac589bb0) at server-protocol.c:6782
#4  0x00002b7ca760c75a in xlator_notify (xl=0x1cb8a20, event=2, data=0x2aaaac589bb0) at xlator.c:924
#5  0x00002aaaaaaaee96 in socket_event_poll_in (this=0x2aaaac589bb0) at socket.c:731
#6  0x00002aaaaaaaf18b in socket_event_handler (fd=10, idx=2, data=0x2aaaac589bb0, poll_in=1, poll_out=0, poll_err=0) at socket.c:831
#7  0x00002b7ca7631705 in event_dispatch_epoll_handler (event_pool=0x1cb26e0, events=0x1cc0f30, i=0) at event.c:804
#8  0x00002b7ca76318da in event_dispatch_epoll (event_pool=0x1cb26e0) at event.c:867
#9  0x00002b7ca7631bf0 in event_dispatch (event_pool=0x1cb26e0) at event.c:975
#10 0x0000000000405f2b in main (argc=8, argv=0x7fff90b7c9b8) at glusterfsd.c:1413

Comment 1 Amar Tumballi 2010-04-20 08:18:05 UTC
Looks like a Out Of Memory issue. Need to reproduce and this should be gone with 'NULL pointer' cleanup process.

Comment 2 Lakshmipathi G 2010-04-27 09:56:49 UTC
checked again with 3.0.3rc1 , but unable to reproduce this bug.

Comment 3 Amar Tumballi 2010-07-28 07:49:34 UTC
it is surely a case of memory allocate failure. will be handling it as part of NULL pointer check bug.

*** This bug has been marked as a duplicate of bug 966 ***