[Gluster-devel] in dict.c, this gets replace by environment

Emmanuel Dreyfus manu at netbsd.org
Sat Aug 16 16:44:14 UTC 2014


Emmanuel Dreyfus <manu at netbsd.org> wrote:

> > Can you post a bt full?
> Here it is:

Even better, with full debug symbols:


Program terminated with signal 11, Segmentation fault.
#0  0xbb75a971 in _dict_lookup (this=0xbb140628, 
    key=0xbb23583a "transport.address-family") at dict.c:203
203             for (pair = this->members[hashval]; pair != NULL; pair =
pair->hash_next) {
(gdb) bt
#0  0xbb75a971 in _dict_lookup (this=0xbb140628, 
    key=0xbb23583a "transport.address-family") at dict.c:203
#1  0xbb75af3b in dict_get (this=0xbb140628, 
    key=0xbb23583a "transport.address-family") at dict.c:376
#2  0xbb23279a in client_fill_address_family (this=0xbb197018, 
    sa_family=0xba3ffc45 "") at name.c:125
#3  0xbb23357e in socket_client_get_remote_sockaddr (this=0xbb197018, 
    sockaddr=0xba3ffc44, sockaddr_len=0xba3ffccc, sa_family=0xba3ffccb "")
    at name.c:480
#4  0xbb22f3d6 in socket_connect (this=0xbb197018, port=0) at socket.c:2785
#5  0xbb72182d in rpc_transport_connect (this=0xbb197018, port=0)
    at rpc-transport.c:399
#6  0xbb7249f5 in rpc_clnt_reconnect (conn_ptr=0xbb18c168) at rpc-clnt.c:419
#7  0xbb78189e in gf_timer_proc (ctx=0xbb109400) at timer.c:165
#8  0xbb5a6783 in ?? () from /usr/lib/libpthread.so.1
#9  0xbb332ee0 in ___lwp_park50 () from /usr/lib/libc.so.12


(gdb) print *this
$1 = {is_static = 1 '\001', hash_size = -1082130729, count = -1082130716, 
  refcount = -1082130691, members = 0xbf7fff04, members_list = 0xbf7fff0f, 
  extra_free = 0xbf7fff17 "HARNESS_VERSION=3.26", 
  extra_stdfree = 0xbf7fff2c "LOGNAME=root", lock = {pts_magic = 3212836665, 
    pts_spin = 110 'n', pts_flags = -1082130526}, 
  members_internal = 0xbf7fffb3, free_pair = {hash_next = 0xbb185411, 
    prev = 0x0, next = 0x0, value = 0x0, key = 0x0}, 
  free_pair_in_use = _gf_false}
(gdb) x/10wx this
0xbb140628:     0xbf7ffec3      0xbf7ffed7      0xbf7ffee4      0xbf7ffefd
0xbb140638:     0xbf7fff04      0xbf7fff0f      0xbf7fff17      0xbf7fff2c
0xbb140648:     0xbf7fff39      0xbf7fff6e
(gdb) x/1s 0xbf7ffec3
0xbf7ffec3:      "MAIL=/var/mail/root"
(gdb) x/1s 0xbf7ffed7
0xbf7ffed7:      "BLOCKSIZE=1k"
(gdb) x/1s 0xbf7ffee4
0xbf7ffee4:      "PWD=/autobuild/glusterfs"
-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list