Daniel-Constantin Mierla writes:
Can you get:
bt full
frame 0
p *np
this is my production proxy and thus has debian default -O2.
-- juha
(gdb) bt full
#0 0x00007fbed17576fc in hash_table_free (hash_table=0x7fbed6dc2000) at hash.c:230
No locals.
#1 0x00007fbed1750fe0 in reload_tables () at domain.c:305
cols = {0x7fbee0b0b2a0, 0x7fbee0b0b470, 0x7ffd75edee68, 0x7fbee047d1a7
<db_do_close+263>}
res = 0x0
new_hash_table = 0x7fbed1961760 <reload_lock>
type = -11072
did = {s = 0x7fbee0b0b4c0 "", len = -525290384}
domain = {s = 0x7ffd75edee68 "root", len = 0}
name = {s = 0x7fbee0b0b470 "ರ\340\276\177", len = 10656912}
val = {n = 1978527336, s = {s = 0x7ffd75edee68 "root", len =
-536582867}, re = 0x7ffd75edee68}
__FUNCTION__ = "reload_tables"
#2 0x00007fbed1758f15 in mod_init () at domain_mod.c:231
__FUNCTION__ = "mod_init"
#3 0x000000000051b532 in init_mod (m=0x7fbed6dc2000) at sr_module.c:943
__FUNCTION__ = "init_mod"
#4 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#5 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#6 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#7 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#8 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#9 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#10 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#11 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
---Type <return> to continue, or q <return> to quit---
#12 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#13 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#14 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#15 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#16 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#17 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#18 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#19 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#20 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#21 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#22 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#23 0x000000000051b47c in init_mod (m=0x7fbed6dc2000) at sr_module.c:940
__FUNCTION__ = "init_mod"
#24 0x000000000051c8ef in init_modules () at sr_module.c:972
i = 1978525704
__FUNCTION__ = "init_modules"
#25 0x000000000041ab40 in main (argc=0, argv=0x7ffd75ede808) at main.c:2474
cfg_stream = 0x7ffd75edee8f
r = 0
tmp = 0x7ffd75edee8f ""
tmp_len = -502542336
---Type <return> to continue, or q <return> to quit---
port = 32702
proto = -502447704
ret = 1978525704
seed = 378659289
debug_save = 0
debug_flag = 1978527336
dont_fork_cnt = 0
__FUNCTION__ = "main"
(gdb)
(gdb)
(gdb) frame 0
#0 0x00007fbed17576fc in hash_table_free (hash_table=0x7fbed6dc2000) at hash.c:230
230 in hash.c
(gdb) p *np
value has been optimized out