GNU gdb (GDB) 7.6.1-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/sbin/asterisk...done. [New LWP 8589] [New LWP 8595] [New LWP 8590] [New LWP 8593] [New LWP 8594] [New LWP 8591] [New LWP 8597] [New LWP 8592] [New LWP 8566] [New LWP 8925] [New LWP 8598] [New LWP 8596] [New LWP 8563] [New LWP 10031] [New LWP 8558] [New LWP 21235] [New LWP 8600] [New LWP 8565] [New LWP 8599] [New LWP 13788] [New LWP 13511] [New LWP 8569] [New LWP 8561] [New LWP 21579] [New LWP 8620] [New LWP 2069] [New LWP 8557] [New LWP 13975] [New LWP 18090] [New LWP 8567] [New LWP 22193] [New LWP 8573] [New LWP 8568] [New LWP 15064] [New LWP 30998] [New LWP 1064] [New LWP 8571] [New LWP 14666] [New LWP 4673] [New LWP 31242] [New LWP 15294] [New LWP 8556] [New LWP 7303] [New LWP 32131] [New LWP 14419] [New LWP 7967] [New LWP 8559] [New LWP 832] [New LWP 11152] [New LWP 11236] [New LWP 1565] [New LWP 11363] [New LWP 8588] [New LWP 2341] [New LWP 11770] [New LWP 2655] [New LWP 11906] [New LWP 3543] [New LWP 12603] [New LWP 8585] [New LWP 4077] [New LWP 13518] [New LWP 8584] [New LWP 5758] [New LWP 14861] [New LWP 8583] [New LWP 13577] [New LWP 8582] [New LWP 14749] [New LWP 14835] [New LWP 4086] [New LWP 8581] [New LWP 14683] [New LWP 15348] [New LWP 8580] [New LWP 4546] [New LWP 14601] [New LWP 8579] [New LWP 4690] [New LWP 15423] [New LWP 14493] [New LWP 8578] [New LWP 5305] [New LWP 8577] [New LWP 14969] [New LWP 11586] [New LWP 14441] [New LWP 8576] [New LWP 5463] [New LWP 11546] [New LWP 14259] [New LWP 8575] [New LWP 5578] [New LWP 11499] [New LWP 14231] [New LWP 8574] [New LWP 5632] [New LWP 11254] [New LWP 14111] [New LWP 8572] [New LWP 5653] [New LWP 14092] [New LWP 11040] [New LWP 8564] [New LWP 14090] [New LWP 5838] [New LWP 14997] [New LWP 13761] [New LWP 8560] [New LWP 11019] [New LWP 6285] [New LWP 14621] [New LWP 13638] [New LWP 10993] [New LWP 13524] [New LWP 14875] [New LWP 10530] [New LWP 15506] [New LWP 13459] [New LWP 10200] [New LWP 14779] [New LWP 13160] [New LWP 15505] [New LWP 9873] [New LWP 13027] [New LWP 15382] [New LWP 9700] [New LWP 15489] [New LWP 13013] [New LWP 15179] [New LWP 9662] [New LWP 12891] [New LWP 15455] [New LWP 9462] [New LWP 15475] [New LWP 12846] [New LWP 15453] [New LWP 9165] [New LWP 8586] [New LWP 12609] [New LWP 9097] [New LWP 15402] [New LWP 8562] [New LWP 12523] [New LWP 8948] [New LWP 14293] [New LWP 6291] [New LWP 12495] [New LWP 15398] [New LWP 8528] [New LWP 15500] [New LWP 15414] [New LWP 6335] [New LWP 12456] [New LWP 15387] [New LWP 8215] [New LWP 15494] [New LWP 12412] [New LWP 6490] [New LWP 15379] [New LWP 8087] [New LWP 12069] [New LWP 7776] [New LWP 6578] [New LWP 12045] [New LWP 15288] [New LWP 7171] [New LWP 12043] [New LWP 6832] [New LWP 6461] [New LWP 15262] [New LWP 12025] [New LWP 7418] [New LWP 15188] [New LWP 11891] [New LWP 15122] [New LWP 7456] [New LWP 11623] [New LWP 15111] [New LWP 11594] [New LWP 7771] [New LWP 14963] [New LWP 7960] [New LWP 15350] [New LWP 15378] [New LWP 8587] [New LWP 15391] [New LWP 15406] [New LWP 15415] [New LWP 15430] [New LWP 15309] [New LWP 15431] [New LWP 15307] [New LWP 15287] [New LWP 15437] [New LWP 8105] [New LWP 15273] [New LWP 15468] [New LWP 15255] [New LWP 15253] [New LWP 15471] [New LWP 15248] [New LWP 15479] [New LWP 15216] [New LWP 15485] [New LWP 15183] [New LWP 15174] [New LWP 14772] [New LWP 15492] [New LWP 8193] [New LWP 15172] [New LWP 14751] [New LWP 15482] [New LWP 15170] [New LWP 14723] [New LWP 14721] [New LWP 15165] [New LWP 15490] [New LWP 14707] [New LWP 15155] [New LWP 15496] [New LWP 14702] [New LWP 15125] [New LWP 15373] [New LWP 14691] [New LWP 15106] [New LWP 15368] [New LWP 14685] [New LWP 15090] [New LWP 15498] [New LWP 14616] [New LWP 15082] [New LWP 14273] [New LWP 15019] [New LWP 14614] [New LWP 15421] [New LWP 15003] [New LWP 14253] [New LWP 14604] [New LWP 14998] [New LWP 15473] [New LWP 14599] [New LWP 14236] [New LWP 14975] [New LWP 14541] [New LWP 15493] [New LWP 14967] [New LWP 14186] [New LWP 14538] [New LWP 15460] [New LWP 14894] [New LWP 14516] [New LWP 15487] [New LWP 14163] [New LWP 14825] [New LWP 14507] [New LWP 15358] [New LWP 14819] [New LWP 14096] [New LWP 14500] [New LWP 15508] [New LWP 14792] [New LWP 14470] [New LWP 14058] [New LWP 13283] [New LWP 14451] [New LWP 14864] [New LWP 15495] [New LWP 8204] [New LWP 14055] [New LWP 14433] [New LWP 13248] [New LWP 14842] [New LWP 14399] [New LWP 8447] [New LWP 14053] [New LWP 15311] [New LWP 13079] [New LWP 15177] [New LWP 14394] [New LWP 8658] [New LWP 14041] [New LWP 13041] [New LWP 15079] [New LWP 14393] [New LWP 8827] [New LWP 14384] [New LWP 15232] [New LWP 12954] [New LWP 14380] [New LWP 9058] [New LWP 12952] [New LWP 14323] [New LWP 9239] [New LWP 14282] [New LWP 12829] [New LWP 14277] [New LWP 12824] [New LWP 9285] [New LWP 14405] [New LWP 12772] [New LWP 9287] [New LWP 14300] [New LWP 13288] [New LWP 12764] [New LWP 14780] [New LWP 13306] [New LWP 12758] [New LWP 14440] [New LWP 13334] [New LWP 12713] [New LWP 13370] [New LWP 12703] [New LWP 12686] [New LWP 13542] [New LWP 12643] [New LWP 13581] [New LWP 12123] [New LWP 12632] [New LWP 9441] [New LWP 13616] [New LWP 12115] [New LWP 12626] [New LWP 13642] [New LWP 12027] [New LWP 13679] [New LWP 11919] [New LWP 10240] [New LWP 12558] [New LWP 11845] [New LWP 13717] [New LWP 10093] [New LWP 12540] [New LWP 10070] [New LWP 13750] [New LWP 12522] [New LWP 10044] [New LWP 13751] [New LWP 10009] [New LWP 12519] [New LWP 13777] [New LWP 9958] [New LWP 12468] [New LWP 9916] [New LWP 13840] [New LWP 12422] [New LWP 9772] [New LWP 13857] [New LWP 13862] [New LWP 9578] [New LWP 12394] [New LWP 13866] [New LWP 9500] [New LWP 12328] [New LWP 13869] [New LWP 9466] [New LWP 10338] [New LWP 13918] [New LWP 12320] [New LWP 15433] [New LWP 13950] [New LWP 12231] [New LWP 8826] [New LWP 13961] [New LWP 12230] [New LWP 13928] [New LWP 12204] [New LWP 11767] [New LWP 12203] [New LWP 12180] [New LWP 12170] [New LWP 10369] [New LWP 10390] [New LWP 10404] [New LWP 10543] [New LWP 10573] [New LWP 10756] [New LWP 10758] [New LWP 10791] [New LWP 10841] [New LWP 10845] [New LWP 10895] [New LWP 11031] [New LWP 11043] [New LWP 11113] [New LWP 11255] [New LWP 11280] [New LWP 11327] [New LWP 11398] [New LWP 11401] [New LWP 11495] [New LWP 11505] [New LWP 11601] [New LWP 11622] [New LWP 11666] [New LWP 11702] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/asterisk -f start -vvvg -c'. Program terminated with signal 6, Aborted. #0 0x00007f5ca953ef77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 (gdb) bt #0 0x00007f5ca953ef77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f5ca95425e8 in __GI_abort () at abort.c:90 #2 0x00007f5ca957c4fb in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f5ca9690240 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199 #3 0x00007f5ca9588996 in malloc_printerr (ptr=0x7f5b969c6fa0, str=0x7f5ca9690328 "double free or corruption (!prev)", action=3) at malloc.c:4923 #4 _int_free (av=, p=0x7f5b969c6f90, have_lock=0) at malloc.c:3779 #5 0x00007f5c597a8c9a in default_pool_callback () from /usr/lib/asterisk/modules/res_rtp_asterisk.so #6 0x00007f5c597af809 in pool_buf_cleanup () from /usr/lib/asterisk/modules/res_rtp_asterisk.so #7 0x00007f5c597b0007 in cpool_release_pool () from /usr/lib/asterisk/modules/res_rtp_asterisk.so #8 0x00007f5c597af221 in pj_NO_MEMORY_EXCEPTION () from /usr/lib/asterisk/modules/res_rtp_asterisk.so #9 0x00007f5c5978d90d in destroy_tdata () from /usr/lib/asterisk/modules/res_rtp_asterisk.so #10 0x00007f5c5978e67a in pj_stun_session_destroy () from /usr/lib/asterisk/modules/res_rtp_asterisk.so #11 0x00007f5c59783c8b in destroy_ice () from /usr/lib/asterisk/modules/res_rtp_asterisk.so #12 0x00007f5c59783db0 in pj_ice_sess_change_role () from /usr/lib/asterisk/modules/res_rtp_asterisk.so #13 0x00007f5c59779290 in ast_rtp_destroy (instance=) at res_rtp_asterisk.c:1872 #14 0x0000000000549ee5 in instance_destructor (obj=0x7f5b78a68508) at rtp_engine.c:212 #15 0x0000000000449135 in internal_ao2_ref (func=0x5ae0a3 <__FUNCTION__.9052> "__ao2_ref", line=541, file=0x5add13 "astobj2.c", delta=delta@entry=-1, user_data=0x7f5b78a68508) at astobj2.c:463 #16 __ao2_ref (user_data=0x7f5b78a68508, delta=delta@entry=-1) at astobj2.c:541 #17 0x000000000054a6fe in ast_rtp_instance_destroy (instance=) at rtp_engine.c:231 #18 0x00007f5c5d8b8a15 in __sip_destroy (p=p@entry=0x7f5b78b67c38, lockowner=lockowner@entry=1, lockdialoglist=lockdialoglist@entry=1) at chan_sip.c:6541 #19 0x00007f5c5d8b94f2 in sip_destroy (p=0x7f5b78b67c38) at chan_sip.c:6828 #20 0x0000000000449135 in internal_ao2_ref (func=0x5ae0a3 <__FUNCTION__.9052> "__ao2_ref", line=541, file=0x5add13 "astobj2.c", delta=delta@entry=-1, user_data=user_data@entry=0x7f5b78b67c38) at astobj2.c:463 #21 __ao2_ref (user_data=user_data@entry=0x7f5b78b67c38, delta=delta@entry=-1) at astobj2.c:541 #22 0x00007f5c5d8a99d3 in dialog_unref_debug (p=p@entry=0x7f5b78b67c38, tag=tag@entry=0x7f5c5d92ae20 "Let's unbump the count in the unlink so the poor pvt can disappear if it is time", file=file@entry=0x7f5c5d91ee00 "chan_sip.c", line=line@entry=3463, func=func@entry=0x7f5c5d936fc0 <__PRETTY_FUNCTION__.30921> "dialog_unlink_all") at chan_sip.c:2344 #23 0x00007f5c5d8aed29 in dialog_unlink_all (dialog=dialog@entry=0x7f5b78b67c38) at chan_sip.c:3463 #24 0x00007f5c5d8afe0d in dialog_needdestroy (dialogobj=0x7f5b78b67c38, arg=, flags=) at chan_sip.c:19429 #25 0x000000000044bc91 in internal_ao2_callback (data=0x0, type=DEFAULT, func=0x0, line=0, file=0x0, tag=0x0, arg=, cb_fn=, flags=, c=0x2e79be8) at astobj2.c:1101 #26 __ao2_callback (c=0x2e79be8, flags=flags@entry=(OBJ_NODATA | OBJ_MULTIPLE), cb_fn=cb_fn@entry=0x7f5c5d8afbf0 , arg=arg@entry=0x0) at astobj2.c:1206 #27 0x00007f5c5d8f4644 in do_monitor (data=data@entry=0x0) at chan_sip.c:28910 #28 0x000000000058a20a in dummy_start (data=) at utils.c:1162 #29 0x00007f5ca849bf6e in start_thread (arg=0x7f5c525ac700) at pthread_create.c:311 #30 0x00007f5ca96029cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 (gdb) bt full #0 0x00007f5ca953ef77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 8556 selftid = 8589 #1 0x00007f5ca95425e8 in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x7f5ca951a3e4, sa_sigaction = 0x7f5ca951a3e4}, sa_mask = {__val = {5, 140035955934525, 3, 140034495393694, 2, 140035955930228, 1, 140035955941256, 3, 140034495393668, 12, 140035955941260, 2, 140034495394480, 24, 140034495396240}}, sa_flags = 93, sa_restorer = 0x7} sigs = {__val = {32, 0 }} #2 0x00007f5ca957c4fb in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f5ca9690240 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199 ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7f5c525ab9a0, reg_save_area = 0x7f5c525ab8b0}} ap_copy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7f5c525ab9a0, reg_save_area = 0x7f5c525ab8b0}} fd = 2 on_2 = list = nlist = cp = written = #3 0x00007f5ca9588996 in malloc_printerr (ptr=0x7f5b969c6fa0, str=0x7f5ca9690328 "double free or corruption (!prev)", action=3) at malloc.c:4923 buf = "00007f5b969c6fa0" cp = #4 _int_free (av=, p=0x7f5b969c6f90, have_lock=0) at malloc.c:3779 size = fb = nextchunk = nextsize = nextinuse = prevsize = bck = fwd = errstr = locked = __func__ = "_int_free" #5 0x00007f5c597a8c9a in default_pool_callback () from /usr/lib/asterisk/modules/res_rtp_asterisk.so No symbol table info available. #6 0x00007f5c597af809 in pool_buf_cleanup () from /usr/lib/asterisk/modules/res_rtp_asterisk.so No symbol table info available. #7 0x00007f5c597b0007 in cpool_release_pool () from /usr/lib/asterisk/modules/res_rtp_asterisk.so No symbol table info available. #8 0x00007f5c597af221 in pj_NO_MEMORY_EXCEPTION () from /usr/lib/asterisk/modules/res_rtp_asterisk.so No symbol table info available. #9 0x00007f5c5978d90d in destroy_tdata () from /usr/lib/asterisk/modules/res_rtp_asterisk.so No symbol table info available. #10 0x00007f5c5978e67a in pj_stun_session_destroy () from /usr/lib/asterisk/modules/res_rtp_asterisk.so No symbol table info available. #11 0x00007f5c59783c8b in destroy_ice () from /usr/lib/asterisk/modules/res_rtp_asterisk.so No symbol table info available. #12 0x00007f5c59783db0 in pj_ice_sess_change_role () from /usr/lib/asterisk/modules/res_rtp_asterisk.so No symbol table info available. #13 0x00007f5c59779290 in ast_rtp_destroy (instance=) at res_rtp_asterisk.c:1872 rtp = 0x7f5b96f9fe80 __PRETTY_FUNCTION__ = "ast_rtp_destroy" #14 0x0000000000549ee5 in instance_destructor (obj=0x7f5b78a68508) at rtp_engine.c:212 instance = 0x7f5b78a68508 #15 0x0000000000449135 in internal_ao2_ref (func=0x5ae0a3 <__FUNCTION__.9052> "__ao2_ref", line=541, file=0x5add13 "astobj2.c", delta=delta@entry=-1, user_data=0x7f5b78a68508) at astobj2.c:463 obj_mutex = obj_rwlock = current_value = 0 #16 __ao2_ref (user_data=0x7f5b78a68508, delta=delta@entry=-1) at astobj2.c:541 No locals. #17 0x000000000054a6fe in ast_rtp_instance_destroy (instance=) at rtp_engine.c:231 No locals. #18 0x00007f5c5d8b8a15 in __sip_destroy (p=p@entry=0x7f5b78b67c38, lockowner=lockowner@entry=1, lockdialoglist=lockdialoglist@entry=1) at chan_sip.c:6541 req = __PRETTY_FUNCTION__ = "__sip_destroy" #19 0x00007f5c5d8b94f2 in sip_destroy (p=0x7f5b78b67c38) at chan_sip.c:6828 __PRETTY_FUNCTION__ = "sip_destroy" #20 0x0000000000449135 in internal_ao2_ref (func=0x5ae0a3 <__FUNCTION__.9052> "__ao2_ref", line=541, file=0x5add13 "astobj2.c", delta=delta@entry=-1, user_data=user_data@entry=0x7f5b78b67c38) at astobj2.c:463 obj_mutex = obj_rwlock = current_value = 0 #21 __ao2_ref (user_data=user_data@entry=0x7f5b78b67c38, delta=delta@entry=-1) at astobj2.c:541 No locals. #22 0x00007f5c5d8a99d3 in dialog_unref_debug (p=p@entry=0x7f5b78b67c38, tag=tag@entry=0x7f5c5d92ae20 "Let's unbump the count in the unlink so the poor pvt can disappear if it is time", file=file@entry=0x7f5c5d91ee00 "chan_sip.c", line=line@entry=3463, func=func@entry=0x7f5c5d936fc0 <__PRETTY_FUNCTION__.30921> "dialog_unlink_all") at chan_sip.c:2344 No locals. #23 0x00007f5c5d8aed29 in dialog_unlink_all (dialog=dialog@entry=0x7f5b78b67c38) at chan_sip.c:3463 cp = owner = __PRETTY_FUNCTION__ = "dialog_unlink_all" #24 0x00007f5c5d8afe0d in dialog_needdestroy (dialogobj=0x7f5b78b67c38, arg=, flags=) at chan_sip.c:19429 arg = flags = dialogobj = 0x7f5b78b67c38 dialog = 0x7f5b78b67c38 #25 0x000000000044bc91 in internal_ao2_callback (data=0x0, type=DEFAULT, func=0x0, line=0, file=0x0, tag=0x0, arg=, cb_fn=, flags=, c=0x2e79be8) at astobj2.c:1101 match = 3 __list_head = 0x2e79c08 __list_next = 0x0 __list_prev = 0x0 __list_current = 0x7f5b7972f280 cur = 0x7f5b7972f280 last = 1 ret = 0x0 multi_container = 0x0 multi_iterator = 0x0 i = 0 start = 0 orig_lock = AO2_LOCK_REQ_MUTEX cb_default = 0x7f5c5d8afbf0 #26 __ao2_callback (c=0x2e79be8, flags=flags@entry=(OBJ_NODATA | OBJ_MULTIPLE), cb_fn=cb_fn@entry=0x7f5c5d8afbf0 , arg=arg@entry=0x0) at astobj2.c:1206 No locals. #27 0x00007f5c5d8f4644 in do_monitor (data=data@entry=0x0) at chan_sip.c:28910 res = t = 1386069325 reloading = __PRETTY_FUNCTION__ = "do_monitor" #28 0x000000000058a20a in dummy_start (data=) at utils.c:1162 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {48972416, -4609315126974075426, 0, 140035962658912, 140733202070880, 4096, 4517331313513999838, -4609314503161532962}, __mask_was_saved = 0}}, __pad = {0x7f5c525abec0, 0x0, 0x0, 0x0}} __cancel_arg = 0x7f5c525ac700 __not_first_call = ret = a = {start_routine = 0x7f5c5d8f4590 , data = 0x0, name = 0x2eb4280 "do_monitor", ' ' , "started at [28960] chan_sip.c restart_monitor()"} #29 0x00007f5ca849bf6e in start_thread (arg=0x7f5c525ac700) at pthread_create.c:311 __res = pd = 0x7f5c525ac700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140034495399680, -4609315126974075426, 0, 140035962658912, 140733202070880, 4096, 4517331313526582750, 4517458710797102558}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = 0 pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #30 0x00007f5ca96029cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 No locals. (gdb) quit