Bug 761802 (GLUSTER-70)

Summary: Server Segfault
Product: [Community] GlusterFS Reporter: Gururaj K <guru>
Component: coreAssignee: Anand Avati <aavati>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: 2.0.0CC: chrisw, gluster-bugs
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 Gururaj K 2009-06-25 07:08:43 UTC
----- Backtrace -----
#0  0x00007f636260f722 in strcmp () from /lib/libc.so.6
#1  0x00007f63617610cc in _validate_volfile_checksum (this=0x22a4470, key=0x0, 
    checksum=1267758808) at server-protocol.c:7105
#2  0x00007f6361768fc6 in mop_setvolume (frame=0x22b77c0, bound_xl=0x0, 
    req_hdr=<value optimized out>, req_hdrlen=<value optimized out>, 
    iobuf=<value optimized out>) at server-protocol.c:7466
#3  0x00007f6361760b3a in protocol_server_pollin (this=0x22a4470, 
    trans=0x245c060) at server-protocol.c:8211
#4  0x00007f6361760bcb in notify (this=0x22a4470, event=<value optimized out>, 
    data=0x4b9076d8) at server-protocol.c:8267
#5  0x00007f6360d52c10 in socket_event_handler (fd=<value optimized out>, 
    idx=41, data=0x245c060, poll_in=1, poll_out=0, poll_err=0) at socket.c:812
#6  0x00007f6362d3128f in event_dispatch_epoll (event_pool=0x229e690)
    at event.c:804
#7  0x0000000000403b71 in ?? ()

----- Frame 1 -----
#1  0x00007f63617610cc in _validate_volfile_checksum (this=0x22a4470, key=0x0, 
    checksum=1267758808) at server-protocol.c:7105
7105                    if (strcmp (temp_volfile->key, key) == 0)
----- list -----
7100    
7101            temp_volfile = conf->volfile;
7102            while (temp_volfile) {
7103                    if ((NULL == key) && (NULL == temp_volfile->key))
7104                            break;
7105                    if (strcmp (temp_volfile->key, key) == 0)
7106                            break;
7107                    temp_volfile = temp_volfile->next;
7108            }
7109    
----- print this -----
$1 = (xlator_t *) 0x22a4470
----- print *this -----
$2 = {name = 0x22a4450 "server", type = 0x22a4550 "protocol/server", 
  next = 0x22a4260, prev = 0x0, parents = 0x0, children = 0x22a5060, 
  options = 0x22a4360, fops = 0x7f6361979a00, mops = 0x7f63619799e0, 
  cbks = 0x7f6361979ce0, volume_options = {next = 0x22a45c0, 
    prev = 0x22a60a0}, fini = 0x7f636175ea60 <fini>, 
  init = 0x7f636175eb00 <init>, notify = 0x7f6361760b40 <notify>, 
  ctx = 0x229d010, itable = 0x0, ready = 1 '\001', trace = 0 '\0', 
  init_succeeded = 1 '\001', private = 0x22a5ea0}
----- print key -----
$3 = 0x0
----- print checksum -----
$4 = 1267758808

Comment 1 Anand Avati 2009-07-07 00:56:24 UTC
bug fixed in ce6fa580af849b03c4641baf77bf07c590be934a (patchwork URL not available)