[New LWP 21380] [New LWP 21087] [New LWP 21079] [New LWP 21058] [New LWP 21028] [New LWP 21066] [New LWP 21086] [New LWP 21144] [New LWP 21147] [New LWP 21057] [New LWP 21081] [New LWP 21127] [New LWP 21015] [New LWP 21029] [New LWP 21519] [New LWP 21328] [New LWP 21146] [New LWP 21073] [New LWP 21185] [New LWP 21184] [New LWP 21059] [New LWP 21056] [New LWP 21055] [New LWP 21050] [New LWP 21424] [New LWP 21353] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/sbin/asterisk -f -g -q -m -n -C /var/tmp/asterisk-testsuite/319d713004b1ae2ced'. Program terminated with signal 6, Aborted. #0 0x00007f3103a02207 in raise () from /lib64/libc.so.6 #0 0x00007f3103a02207 in raise () at /lib64/libc.so.6 #1 0x00007f3103a038f8 in abort () at /lib64/libc.so.6 #2 0x00000000005da392 in ast_do_crash () at utils.c:2376 #3 0x00000000005da425 in __ast_assert_failed (condition=0, condition_str=0x7f30751def70 "bad magic number 0xdeaddea for object 0x339e470", file=0x7f3081981d27 "ari/resource_events.c", line=298, function=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at utils.c:2405 #4 0x0000000000463e78 in log_bad_ao2 (user_data=0x339e470, file=0x7f3081981d27 "ari/resource_events.c", line=298, func=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at astobj2.c:219 p = 0x339e458 bad_magic = "bad magic number 0xdeaddea for object 0x339e470\000\347\000\000\000\377\377\377\377\220\236\000\024\060\177\000\000\372\234p\000\000\000\000\000H\236p\000\000\000\000\000\034\002\000\000\377\377\377\377p\344\071\003\000\000\000\000;\236p" #5 0x000000000046656b in internal_ao2_traverse (self=0x339e470, flags=35, cb_fn=0x4663e3 , arg=0x7f3014009d60, data=0x0, type=AO2_CALLBACK_DEFAULT, tag=0x7f3081981d5a "", file=0x7f3081981d27 "ari/resource_events.c", line=298, func=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at astobj2_container.c:244 ret__LINE__ = 0 ret = 0x7f3064032160 cb_default = 0x0 cb_withdata = 0x0 node = 0x7f3014009f50 traversal_state = 0x7f30751df0a0 orig_lock = (unknown: 32560) multi_container = 0x0 multi_iterator = 0x0 __PRETTY_FUNCTION__ = "internal_ao2_traverse" #6 0x0000000000466ac4 in __ao2_callback (c=0x339e470, flags=35, cb_fn=0x4663e3 , arg=0x7f3014009d60, tag=0x7f3081981d5a "", file=0x7f3081981d27 "ari/resource_events.c", line=298, func=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at astobj2_container.c:414 #7 0x00000000004664b4 in __ao2_unlink (c=0x339e470, user_data=0x7f3014009d60, flags=35, tag=0x7f3081981d5a "", file=0x7f3081981d27 "ari/resource_events.c", line=298, func=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at astobj2_container.c:185 #8 0x00007f3081980652 in event_session_cleanup (session=0x7f3014009d60) at ari/resource_events.c:298 __PRETTY_FUNCTION__ = "event_session_cleanup" #9 0x00007f3081980f37 in ast_ari_websocket_events_event_websocket_established (ws_session=0x7f3014012e90, headers=0x7f3014001780, args=0x7f30751df630) at ari/resource_events.c:522 session = 0x7f3014009d60 msg = 0x0 session_id = 0x7f3014009408 "262d36d2-5a7a-47ef-8709-33f751936b64" __PRETTY_FUNCTION__ = "ast_ari_websocket_events_event_websocket_established" #10 0x00007f308197e8f4 in ast_ari_events_event_websocket_ws_established_cb (ws_session=0x7f30140092c0, get_params=0x7f30140027f0, headers=0x7f3014001780) at res_ari_events.c:220 args = {app = 0x7f3014012ff0, app_count = 1, app_parse = 0x7f3014012f40 "balancer", subscribe_all = 0} response = 0x7f3014012d80 i = 0x0 s = 0x7f30140092c0 session = 0x7f3014012e90 __PRETTY_FUNCTION__ = "ast_ari_events_event_websocket_ws_established_cb" #11 0x00007f308e56d845 in __ast_websocket_uri_cb (ser=0x7f3058000a50, urih=0x7f30751df800, uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, get_vars=0x7f30140027f0, headers=0x7f3014001780) at res_http_websocket.c:944 v = 0x0 upgrade = 0x7f3014001a48 "WebSocket" key = 0x7f3014001ee2 "IunX73SJ32DvozlksEmLfw==" key1 = 0x0 key2 = 0x0 protos = 0x7f3014002027 "ari" requested_protocols = 0x0 protocol = 0x7f30751df690 "ari" version = 13 flags = 1 protocol_handler = 0x31248b0 session = 0x7f30140092c0 server = 0x308aac0 __self____LINE__ = 0x19f4000 __PRETTY_FUNCTION__ = "__ast_websocket_uri_cb" #12 0x00007f309dafc0a4 in ari_handle_websocket (ws_server=0x308aac0, ser=0x7f3058000a50, uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, get_params=0x7f30140027f0, headers=0x7f3014001780) at ari/ari_websockets.c:199 fake_urih = {entry = {next = 0x0}, description = 0x0, uri = 0x0, prefix = 0x0, callback = 0x0, has_subtree = 0, mallocd = 0, dmallocd = 0, no_decode_uri = 0, data = 0x308aac0, key = 0x0} #13 0x00007f309daf6559 in ast_ari_invoke (ser=0x7f3058000a50, uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, get_params=0x7f30140027f0, headers=0x7f3014001780, body=0x0, response=0x7f30751df9f0) at res_ari.c:570 root = 0x33f82b0 handler = 0x7f3081b85300 wildcard_handler = 0x0 path_vars = 0x0 path = 0x0 path_segment = 0x0 callback = 0x0 __PRETTY_FUNCTION__ = "ast_ari_invoke" #14 0x00007f309daf7b48 in ast_ari_callback (ser=0x7f3058000a50, urih=0x7f309dd023e0 , uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, get_params=0x7f30140027f0, headers=0x7f3014001780) at res_ari.c:1058 conf = 0x3098968 response_body = 0x7f3014007770 __PRETTY_FUNCTION__ = "ast_ari_callback" user = 0x30fcad8 response = {message = 0x0, headers = 0x7f3014007930, response_code = 0, fd = -1, response_text = 0x0, no_response = 0} post_vars = 0x0 var = 0x7617ec <__PRETTY_FUNCTION__.10439> app_name = 0x7f3014002864 "balancer" body = 0x0 debug_app = 0 #15 0x000000000061e1c9 in handle_uri (ser=0x7f3058000a50, uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, headers=0x7f3014001780) at http.c:1482 c = 0x7f30751dfb89 "events" res = 0 params = 0x0 urih = 0x7f309dd023e0 l = 3 get_vars = 0x7f30140027f0 v = 0x7f3014002910 prev = 0x7f3014002910 redirect = 0x0 __PRETTY_FUNCTION__ = "handle_uri" #16 0x000000000061f1ce in httpd_process_request (ser=0x7f3058000a50) at http.c:1923 headers = 0x7f3014001780 uri = 0x7f30751dfb84 "/ari/events" method = 0x7f30751dfb80 "GET" transfer_encoding = 0x760bdb "identity" request = 0x7f30140016d8 http_method = AST_HTTP_GET res = 118 len = 69 request_line = "GET\000/ari/events\000app\000balancer\000api_key\000testsuite:testsuite\000e\000HTTP/1.1\r\n", '\000' ... #17 0x000000000061f4ad in httpd_helper_thread (data=0x7f3058000a50) at http.c:1986 ser = 0x7f3058000a50 timeout = 15000 arg = 1 __PRETTY_FUNCTION__ = "httpd_helper_thread" #18 0x00000000005c3b2a in handle_tcptls_connection (data=0x7f3058000a50) at tcptls.c:252 tcptls_session = 0x7f3058000a50 ssl = 0x7f30751e0cc0 __PRETTY_FUNCTION__ = "handle_tcptls_connection" #19 0x00000000005d76bd in dummy_start (data=0x7f30580015d0) at utils.c:1249 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -2538152551346610758, 0, 512000, 3, 139846100064000, -2538152551371776582, 2496754740133354938}, __mask_was_saved = 0}}, __pad = {0x7f30751e0db0, 0x0, 0x7d000, 0x0}} __cancel_routine = 0x456944 __cancel_arg = 0x7f30751e1700 __not_first_call = 0 ret = 0x7f3103d8e858 a = {start_routine = 0x5c34d9 , data = 0x7f3058000a50, name = 0x7f3058001690 "handle_tcptls_connection started at [ 320] tcptls.c ast_tcptls_server_root()"} __PRETTY_FUNCTION__ = "dummy_start" #20 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #21 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 26 (Thread 0x7f303dde4700 (LWP 21353)): #0 0x00007f3103abf20d in poll () at /lib64/libc.so.6 #1 0x00007f3096883846 in scan_thread (unused=0x0) at pbx_spool.c:766 #2 0x00000000005d76bd in dummy_start (data=0x19ff4d0) at utils.c:1249 #3 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 25 (Thread 0x7f303d21d700 (LWP 21424)): #0 0x00007f310472e6fd in read () at /lib64/libpthread.so.0 #1 0x00000000005b4130 in inotify_daemon (data=0x0) at stdtime/localtime.c:378 #2 0x00000000005d76bd in dummy_start (data=0x7f3048014080) at utils.c:1249 #3 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 24 (Thread 0x7f3102088700 (LWP 21050)): #0 0x00007f310472dadb in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0 #1 0x00007f310472db6f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0 #2 0x00007f310472dc0b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0 #3 0x00000000005bfa3a in ast_sem_wait (sem=0x21c6350) at /srv/jenkins/workspace/asterisk-gatetests_17/include/asterisk/sem.h:61 #4 0x00000000005bfb2d in default_tps_processing_function (data=0x1870260) at taskprocessor.c:202 #5 0x00000000005d76bd in dummy_start (data=0x1870580) at utils.c:1249 #6 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 23 (Thread 0x7f3101f8e700 (LWP 21055)): #0 0x00007f310472bd12 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518f18 in __ast_cond_timedwait (filename=0x74f100 "threadpool.c", lineno=1163, func=0x74f864 <__PRETTY_FUNCTION__.8548> "worker_idle", cond_name=0x74f37f "&worker->cond", mutex_name=0x74f371 "&worker->lock", cond=0x7f30f80012a8, t=0x7f30f80012d8, abstime=0x7f3101f8dc70) at lock.c:653 #2 0x00000000005ce9c2 in worker_idle (worker=0x7f30f80012a0) at threadpool.c:1163 #3 0x00000000005ce6e5 in worker_start (arg=0x7f30f80012a0) at threadpool.c:1054 #4 0x00000000005d76bd in dummy_start (data=0x7f30f80014e0) at utils.c:1249 #5 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 22 (Thread 0x7f3101f11700 (LWP 21056)): #0 0x00007f310472bd12 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518f18 in __ast_cond_timedwait (filename=0x74f100 "threadpool.c", lineno=1163, func=0x74f864 <__PRETTY_FUNCTION__.8548> "worker_idle", cond_name=0x74f37f "&worker->cond", mutex_name=0x74f371 "&worker->lock", cond=0x7f30f8001958, t=0x7f30f8001988, abstime=0x7f3101f10c70) at lock.c:653 #2 0x00000000005ce9c2 in worker_idle (worker=0x7f30f8001950) at threadpool.c:1163 #3 0x00000000005ce6e5 in worker_start (arg=0x7f30f8001950) at threadpool.c:1054 #4 0x00000000005d76bd in dummy_start (data=0x7f30f8001b90) at utils.c:1249 #5 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 21 (Thread 0x7f3101d9a700 (LWP 21059)): #0 0x00007f310472bd12 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518f18 in __ast_cond_timedwait (filename=0x74f100 "threadpool.c", lineno=1163, func=0x74f864 <__PRETTY_FUNCTION__.8548> "worker_idle", cond_name=0x74f37f "&worker->cond", mutex_name=0x74f371 "&worker->lock", cond=0x7f30f8002d68, t=0x7f30f8002d98, abstime=0x7f3101d99c70) at lock.c:653 #2 0x00000000005ce9c2 in worker_idle (worker=0x7f30f8002d60) at threadpool.c:1163 #3 0x00000000005ce6e5 in worker_start (arg=0x7f30f8002d60) at threadpool.c:1054 #4 0x00000000005d76bd in dummy_start (data=0x7f30f8002fa0) at utils.c:1249 #5 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 20 (Thread 0x7f3074285700 (LWP 21184)): #0 0x00007f310472bd12 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518f18 in __ast_cond_timedwait (filename=0x74f100 "threadpool.c", lineno=1163, func=0x74f864 <__PRETTY_FUNCTION__.8548> "worker_idle", cond_name=0x74f37f "&worker->cond", mutex_name=0x74f371 "&worker->lock", cond=0x7f30f40012a8, t=0x7f30f40012d8, abstime=0x7f3074284c70) at lock.c:653 #2 0x00000000005ce9c2 in worker_idle (worker=0x7f30f40012a0) at threadpool.c:1163 #3 0x00000000005ce6e5 in worker_start (arg=0x7f30f40012a0) at threadpool.c:1054 #4 0x00000000005d76bd in dummy_start (data=0x7f30f40014e0) at utils.c:1249 #5 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 19 (Thread 0x7f3074208700 (LWP 21185)): #0 0x00007f310472bd12 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518f18 in __ast_cond_timedwait (filename=0x74f100 "threadpool.c", lineno=1163, func=0x74f864 <__PRETTY_FUNCTION__.8548> "worker_idle", cond_name=0x74f37f "&worker->cond", mutex_name=0x74f371 "&worker->lock", cond=0x7f30f4002098, t=0x7f30f40020c8, abstime=0x7f3074207c70) at lock.c:653 #2 0x00000000005ce9c2 in worker_idle (worker=0x7f30f4002090) at threadpool.c:1163 #3 0x00000000005ce6e5 in worker_start (arg=0x7f30f4002090) at threadpool.c:1054 #4 0x00000000005d76bd in dummy_start (data=0x7f30f40022d0) at utils.c:1249 #5 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 18 (Thread 0x7f3101ca0700 (LWP 21073)): #0 0x00007f310472b965 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518eda in __ast_cond_wait (filename=0x722e32 "devicestate.c", lineno=531, func=0x723190 <__PRETTY_FUNCTION__.14906> "do_devstate_changes", cond_name=0x722f6f "&change_pending", mutex_name=0x722f7f "&state_changes.lock", cond=0xa2fd80 , t=0xa00510 ) at lock.c:588 #2 0x00000000004e02c9 in do_devstate_changes (data=0x0) at devicestate.c:531 #3 0x00000000005d76bd in dummy_start (data=0x1893bf0) at utils.c:1249 #4 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #5 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 17 (Thread 0x7f30750e7700 (LWP 21146)): #0 0x00007f310472dadb in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0 #1 0x00007f310472db6f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0 #2 0x00007f310472dc0b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0 #3 0x00000000005bfa3a in ast_sem_wait (sem=0x228dae0) at /srv/jenkins/workspace/asterisk-gatetests_17/include/asterisk/sem.h:61 #4 0x00000000005bfb2d in default_tps_processing_function (data=0x228dbe0) at taskprocessor.c:202 #5 0x00000000005d76bd in dummy_start (data=0x190c270) at utils.c:1249 #6 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 16 (Thread 0x7f303dfd8700 (LWP 21328)): #0 0x00007f3103abf20d in poll () at /lib64/libc.so.6 #1 0x00007f30b890b07c in do_monitor (data=0x0) at chan_phone.c:1100 #2 0x00000000005d76bd in dummy_start (data=0x1b28c10) at utils.c:1249 #3 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 15 (Thread 0x7f303d317700 (LWP 21519)): #0 0x00007f3106c44c64 in _dl_sort_fini () at /lib64/ld-linux-x86-64.so.2 #1 0x00007f3106c44f35 in _dl_fini () at /lib64/ld-linux-x86-64.so.2 #2 0x00007f3103a05b69 in __run_exit_handlers () at /lib64/libc.so.6 #3 0x00007f3103a05bb7 in () at /lib64/libc.so.6 #4 0x000000000045acee in really_quit (num=0, niceness=SHUTDOWN_NICE, restart=0) at asterisk.c:2098 #5 0x000000000045a43d in quit_handler (num=0, niceness=SHUTDOWN_NICE, restart=0) at asterisk.c:1873 #6 0x000000000045b526 in handle_stop_gracefully (e=0x9fb7a8 , cmd=-4, a=0x7f303d316320) at asterisk.c:2349 #7 0x00000000004cbe17 in ast_cli_command_full (uid=0, gid=0, fd=28, s=0x7f303d316600 "core stop gracefully") at cli.c:2824 #8 0x00000000004cbfa8 in ast_cli_command_multiple_full (uid=0, gid=0, fd=28, size=21, s=0x7f303d316a5f "core stop gracefully") at cli.c:2851 #9 0x000000000045917b in netconsole (vconsole=0xa3d460 ) at asterisk.c:1422 #10 0x00000000005d76bd in dummy_start (data=0x7f30ec000a10) at utils.c:1249 #11 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #12 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 14 (Thread 0x7f3106d3e700 (LWP 21029)): #0 0x00007f310472dadb in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0 #1 0x00007f310472db6f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0 #2 0x00007f310472dc0b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0 #3 0x00000000005bfa3a in ast_sem_wait (sem=0x18163f0) at /srv/jenkins/workspace/asterisk-gatetests_17/include/asterisk/sem.h:61 #4 0x00000000005bfb2d in default_tps_processing_function (data=0x18164f0) at taskprocessor.c:202 #5 0x00000000005d76bd in dummy_start (data=0x1816800) at utils.c:1249 #6 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 13 (Thread 0x7f3106e3a8c0 (LWP 21015)): #0 0x00007f3103abf20d in poll () at /lib64/libc.so.6 #1 0x000000000045dd1f in monitor_sig_flags (unused=0x0) at asterisk.c:3374 #2 0x0000000000460373 in asterisk_daemon (isroot=1, runuser=0x0, rungroup=0x0) at asterisk.c:4237 #3 0x000000000045f64c in main (argc=8, argv=0x7ffd4e389118) at asterisk.c:3922 Thread 12 (Thread 0x7f307525e700 (LWP 21127)): #0 0x00007f3103abf20d in poll () at /lib64/libc.so.6 #1 0x00000000005d7a4b in ast_wait_for_input (fd=10, ms=-1) at utils.c:1347 #2 0x00000000005c3b99 in ast_tcptls_server_root (data=0xa1dee0 ) at tcptls.c:272 #3 0x00000000005d76bd in dummy_start (data=0x19c3530) at utils.c:1249 #4 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #5 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 11 (Thread 0x7f3101ba6700 (LWP 21081)): #0 0x00007f310472dadb in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0 #1 0x00007f310472db6f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0 #2 0x00007f310472dc0b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0 #3 0x00000000005bfa3a in ast_sem_wait (sem=0x1706540) at /srv/jenkins/workspace/asterisk-gatetests_17/include/asterisk/sem.h:61 #4 0x00000000005bfb2d in default_tps_processing_function (data=0x20e91e0) at taskprocessor.c:202 #5 0x00000000005d76bd in dummy_start (data=0x16fe290) at utils.c:1249 #6 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 10 (Thread 0x7f3101e94700 (LWP 21057)): #0 0x00007f310472bd12 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518f18 in __ast_cond_timedwait (filename=0x74f100 "threadpool.c", lineno=1163, func=0x74f864 <__PRETTY_FUNCTION__.8548> "worker_idle", cond_name=0x74f37f "&worker->cond", mutex_name=0x74f371 "&worker->lock", cond=0x7f30f8002008, t=0x7f30f8002038, abstime=0x7f3101e93c70) at lock.c:653 #2 0x00000000005ce9c2 in worker_idle (worker=0x7f30f8002000) at threadpool.c:1163 #3 0x00000000005ce6e5 in worker_start (arg=0x7f30f8002000) at threadpool.c:1054 #4 0x00000000005d76bd in dummy_start (data=0x7f30f8002240) at utils.c:1249 #5 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 9 (Thread 0x7f307506a700 (LWP 21147)): #0 0x00007f3103abf20d in poll () at /lib64/libc.so.6 #1 0x00000000005d7a4b in ast_wait_for_input (fd=14, ms=5000) at utils.c:1347 #2 0x00000000005c3b99 in ast_tcptls_server_root (data=0xa1fae0 ) at tcptls.c:272 #3 0x00000000005d76bd in dummy_start (data=0x19e3310) at utils.c:1249 #4 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #5 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 8 (Thread 0x7f3075164700 (LWP 21144)): #0 0x00007f310472dadb in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0 #1 0x00007f310472db6f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0 #2 0x00007f310472dc0b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0 #3 0x00000000005bfa3a in ast_sem_wait (sem=0x1b158f0) at /srv/jenkins/workspace/asterisk-gatetests_17/include/asterisk/sem.h:61 #4 0x00000000005bfb2d in default_tps_processing_function (data=0x1902180) at taskprocessor.c:202 #5 0x00000000005d76bd in dummy_start (data=0x21d3160) at utils.c:1249 #6 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 7 (Thread 0x7f3101b29700 (LWP 21086)): #0 0x00007f310472dadb in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0 #1 0x00007f310472db6f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0 #2 0x00007f310472dc0b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0 #3 0x00000000005bfa3a in ast_sem_wait (sem=0x2174750) at /srv/jenkins/workspace/asterisk-gatetests_17/include/asterisk/sem.h:61 #4 0x00000000005bfb2d in default_tps_processing_function (data=0x228d350) at taskprocessor.c:202 #5 0x00000000005d76bd in dummy_start (data=0x171e660) at utils.c:1249 #6 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 6 (Thread 0x7f3101d1d700 (LWP 21066)): #0 0x00007f310472b965 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518eda in __ast_cond_wait (filename=0x70affb "bridge.c", lineno=4912, func=0x70de90 <__PRETTY_FUNCTION__.18762> "bridge_manager_thread", cond_name=0x70c681 "&manager->cond", mutex_name=0x70c660 "ao2_object_get_lockaddr(manager)", cond=0x1891a20, t=0x18919e0) at lock.c:588 #2 0x000000000047f19d in bridge_manager_thread (data=0x1891a20) at bridge.c:4912 #3 0x00000000005d76bd in dummy_start (data=0x1891b10) at utils.c:1249 #4 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #5 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 5 (Thread 0x7f3106dbb700 (LWP 21028)): #0 0x00007f310472dadb in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0 #1 0x00007f310472db6f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0 #2 0x00007f310472dc0b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0 #3 0x00000000005bfa3a in ast_sem_wait (sem=0x172fb90) at /srv/jenkins/workspace/asterisk-gatetests_17/include/asterisk/sem.h:61 #4 0x00000000005bfb2d in default_tps_processing_function (data=0x17ac050) at taskprocessor.c:202 #5 0x00000000005d76bd in dummy_start (data=0x17aa540) at utils.c:1249 #6 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 4 (Thread 0x7f3101e17700 (LWP 21058)): #0 0x00007f310472bd12 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518f18 in __ast_cond_timedwait (filename=0x74f100 "threadpool.c", lineno=1163, func=0x74f864 <__PRETTY_FUNCTION__.8548> "worker_idle", cond_name=0x74f37f "&worker->cond", mutex_name=0x74f371 "&worker->lock", cond=0x7f30f80026b8, t=0x7f30f80026e8, abstime=0x7f3101e16c70) at lock.c:653 #2 0x00000000005ce9c2 in worker_idle (worker=0x7f30f80026b0) at threadpool.c:1163 #3 0x00000000005ce6e5 in worker_start (arg=0x7f30f80026b0) at threadpool.c:1054 #4 0x00000000005d76bd in dummy_start (data=0x7f30f80028f0) at utils.c:1249 #5 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7f3101c23700 (LWP 21079)): #0 0x00007f310472b965 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x0000000000518eda in __ast_cond_wait (filename=0x7403bb "sched.c", lineno=152, func=0x740738 <__PRETTY_FUNCTION__.12916> "sched_run", cond_name=0x7403c3 "&con->sched_thread->cond", mutex_name=0x7403b0 "&con->lock", cond=0x189a0c8, t=0x18995d0) at lock.c:588 #2 0x0000000000587016 in sched_run (data=0x18995d0) at sched.c:152 #3 0x00000000005d76bd in dummy_start (data=0x189a1a0) at utils.c:1249 #4 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #5 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f3101aac700 (LWP 21087)): #0 0x00007f310472dadb in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0 #1 0x00007f310472db6f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0 #2 0x00007f310472dc0b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0 #3 0x00000000005bfa3a in ast_sem_wait (sem=0x18a5880) at /srv/jenkins/workspace/asterisk-gatetests_17/include/asterisk/sem.h:61 #4 0x00000000005bfb2d in default_tps_processing_function (data=0x18a5980) at taskprocessor.c:202 #5 0x00000000005d76bd in dummy_start (data=0x18a5ca0) at utils.c:1249 #6 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f3103ac9ead in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f30751e1700 (LWP 21380)): #0 0x00007f3103a02207 in raise () at /lib64/libc.so.6 #1 0x00007f3103a038f8 in abort () at /lib64/libc.so.6 #2 0x00000000005da392 in ast_do_crash () at utils.c:2376 #3 0x00000000005da425 in __ast_assert_failed (condition=0, condition_str=0x7f30751def70 "bad magic number 0xdeaddea for object 0x339e470", file=0x7f3081981d27 "ari/resource_events.c", line=298, function=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at utils.c:2405 #4 0x0000000000463e78 in log_bad_ao2 (user_data=0x339e470, file=0x7f3081981d27 "ari/resource_events.c", line=298, func=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at astobj2.c:219 #5 0x000000000046656b in internal_ao2_traverse (self=0x339e470, flags=35, cb_fn=0x4663e3 , arg=0x7f3014009d60, data=0x0, type=AO2_CALLBACK_DEFAULT, tag=0x7f3081981d5a "", file=0x7f3081981d27 "ari/resource_events.c", line=298, func=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at astobj2_container.c:244 #6 0x0000000000466ac4 in __ao2_callback (c=0x339e470, flags=35, cb_fn=0x4663e3 , arg=0x7f3014009d60, tag=0x7f3081981d5a "", file=0x7f3081981d27 "ari/resource_events.c", line=298, func=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at astobj2_container.c:414 #7 0x00000000004664b4 in __ao2_unlink (c=0x339e470, user_data=0x7f3014009d60, flags=35, tag=0x7f3081981d5a "", file=0x7f3081981d27 "ari/resource_events.c", line=298, func=0x7f3081982220 <__PRETTY_FUNCTION__.13829> "event_session_cleanup") at astobj2_container.c:185 #8 0x00007f3081980652 in event_session_cleanup (session=0x7f3014009d60) at ari/resource_events.c:298 #9 0x00007f3081980f37 in ast_ari_websocket_events_event_websocket_established (ws_session=0x7f3014012e90, headers=0x7f3014001780, args=0x7f30751df630) at ari/resource_events.c:522 #10 0x00007f308197e8f4 in ast_ari_events_event_websocket_ws_established_cb (ws_session=0x7f30140092c0, get_params=0x7f30140027f0, headers=0x7f3014001780) at res_ari_events.c:220 #11 0x00007f308e56d845 in __ast_websocket_uri_cb (ser=0x7f3058000a50, urih=0x7f30751df800, uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, get_vars=0x7f30140027f0, headers=0x7f3014001780) at res_http_websocket.c:944 #12 0x00007f309dafc0a4 in ari_handle_websocket (ws_server=0x308aac0, ser=0x7f3058000a50, uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, get_params=0x7f30140027f0, headers=0x7f3014001780) at ari/ari_websockets.c:199 #13 0x00007f309daf6559 in ast_ari_invoke (ser=0x7f3058000a50, uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, get_params=0x7f30140027f0, headers=0x7f3014001780, body=0x0, response=0x7f30751df9f0) at res_ari.c:570 #14 0x00007f309daf7b48 in ast_ari_callback (ser=0x7f3058000a50, urih=0x7f309dd023e0 , uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, get_params=0x7f30140027f0, headers=0x7f3014001780) at res_ari.c:1058 #15 0x000000000061e1c9 in handle_uri (ser=0x7f3058000a50, uri=0x7f30751dfb89 "events", method=AST_HTTP_GET, headers=0x7f3014001780) at http.c:1482 #16 0x000000000061f1ce in httpd_process_request (ser=0x7f3058000a50) at http.c:1923 #17 0x000000000061f4ad in httpd_helper_thread (data=0x7f3058000a50) at http.c:1986 #18 0x00000000005c3b2a in handle_tcptls_connection (data=0x7f3058000a50) at tcptls.c:252 #19 0x00000000005d76bd in dummy_start (data=0x7f30580015d0) at utils.c:1249 #20 0x00007f3104727dd5 in start_thread () at /lib64/libpthread.so.0 #21 0x00007f3103ac9ead in clone () at /lib64/libc.so.6