Re: Segfault in glusterfsd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avati,
 Here there is the gdb output:
---
Core was generated by `[glusterfsd]
                             '.
Program terminated with signal 11, Segmentation fault.
#0  dict_destroy (this=0x2aaab0000f70) at dict.c:251
251     dict.c: No such file or directory.
       in dict.c
(gdb) p *this
$1 = {is_static = 0 '\0', hash_size = 15, count = 5, refcount = 0,
members = 0x2aaab0000b10, members_list = 0x2aaab00012a0,
 extra_free = 0x0, lock = 0x2aaab00017a0}
(gdb) up
#1  0x00002aaaab0be69f in proto_srv_notify (this=<value optimized
out>, trans=0x612340, event=1) at proto-srv.c:2781
2781    proto-srv.c: No such file or directory.
       in proto-srv.c
(gdb) p *trans
$2 = {ops = 0x2aaaab4cd140, private = 0x612ed0, xl_private = 0x6138d0,
lock = {__data = {__lock = 0, __count = 0, __owner = 0,
     __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0,
__next = 0x0}}, __size = '\0' <repeats 39 times>, __align = 0},
 refcount = 2, xl = 0x60a1b0, buf = 0x612070, init = 0, peerinfo =
{sockaddr = {sin_family = 2, sin_port = 62467, sin_addr = {
       s_addr = 117440778}, sin_zero =
"\000\000\000\000\000\000\000"}}, fini = 0x2aaaab2cb2a0
<gf_transport_fini>,
 notify = 0x2aaaab0be400 <proto_srv_notify>}
(gdb) p *blk
$3 = {callid = 3229, type = 0, op = 0, name = '-' <repeats 32 times>,
size = 136, data = 0x0, dict = 0x2aaab0000f70}
(gdb) p frame->root->req_refs
No symbol "frame" in current context.
---

Hope this helps...

WBR,
 Andrey

2007/6/15, Anand Avati <avati@xxxxxxxxxxxxx>:
Andrey, few more checks if you dont mind.

in gdb, do these -

p *this
up
p *trans
p *blk
p frame->root->req_refs
p *frame->root->req_refs

and send the output.

thanks in advance,
avati




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux