From second core, get:
frame 0
p *qm
p *frag
p *f
info locals
p qm->free_hash[hash]
p *qm->free_hash[hash].first
Daniel
On 21/09/15 22:03, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
Can you remove -O3 from CC_EXTRA_OPS?
done, and i got again two cores. juha
45828 -rw------- 1 root root 59711488 Sep 21 23:00 core.sip-proxy.sig11.27810
45828 -rw------- 1 root root 59752448 Sep 21 23:00 core.sip-proxy.sig11.27844
# gdb /usr/bin/sip-proxy core.sip-proxy.sig11.27810
(gdb) where
#0 0x0000000000639a74 in fm_insert_free (qm=0x7fe71ab64000, frag=0x7fe71abe2de0) at
mem/f_malloc.c:242
#1 0x000000000063afdc in fm_free (qmp=0x7fe71ab64000, p=0x7fe71abe2df8) at
mem/f_malloc.c:626
#2 0x000000000063d59a in fm_shm_free (qmp=0x7fe71ab64000, p=0x7fe71abe2df8) at
mem/f_malloc.c:1103
#3 0x00007fe71d3b3402 in ser_free (ptr=0x7fe71abe2df8) at tls_init.c:294
#4 0x00007fe71e13143d in CRYPTO_free () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#5 0x00007fe71e1ba627 in lh_free () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#6 0x00007fe71e1bc8a0 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#7 0x00007fe71a3b96a8 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#8 0x00007fe71a3ba199 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#9 0x00007fe71a38f605 in curl_global_cleanup () from
/usr/lib/x86_64-linux-gnu/libcurl.so.4
#10 0x00007fe71a952029 in destroy () at utils.c:321
#11 0x000000000053d201 in destroy_modules () at sr_module.c:805
#12 0x0000000000523420 in cleanup (show_status=1) at main.c:519
#13 0x0000000000524a2a in shutdown_children (sig=15, show_status=1) at main.c:661
#14 0x00000000005270d2 in handle_sigs () at main.c:752
#15 0x000000000052f651 in main_loop () at main.c:1707
#16 0x00000000005348b1 in main (argc=17, argv=0x7ffdfd0f9c78) at main.c:2566
# gdb /usr/bin/sip-proxy core.sip-proxy.sig11.27844
(gdb) where
#0 0x0000000000639a74 in fm_insert_free (qm=0x7fe71ab64000, frag=0x7fe71b259928) at
mem/f_malloc.c:242
#1 0x000000000063afdc in fm_free (qmp=0x7fe71ab64000, p=0x7fe71b259940) at
mem/f_malloc.c:626
#2 0x00007fe720350983 in free_cell (dead_cell=0x7fe71b2652b8) at h_table.c:133
#3 0x00007fe7203d2bfc in wait_handler (ti=1006656376, wait_tl=0x7fe71b265338,
data=0x7fe71b2652b8) at timer.c:648
#4 0x00000000004aa755 in timer_list_expire (t=1006656376, h=0x7fe71abb0ea0,
slow_l=0x7fe71abb25b8, slow_mark=359)
at timer.c:873
#5 0x00000000004aabb2 in timer_handler () at timer.c:938
#6 0x00000000004ab020 in timer_main () at timer.c:977
#7 0x000000000052ea59 in main_loop () at main.c:1650
#8 0x00000000005348b1 in main (argc=17, argv=0x7ffdfd0f9c78) at main.c:2566
(gdb)
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio -
http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin -
http://asipto.com/u/kat