(gdb) thread 1861 [Switching to thread 1861 (Thread 0x7fb0acfc8700 (LWP 16471))] #4 0x0000000000459797 in __ao2_lock (user_data=user_data@entry=0x7fb118127230, lock_how=lock_how@entry=AO2_LOCK_REQ_MUTEX, file=file@entry=0x600f15 "channel.c", func=func@entry=0x60e1b0 <__PRETTY_FUNCTION__.19471> "ast_channel_by_uniqueid_cb", line=line@entry=1379, var=var@entry=0x5fbd70 "chan") at astobj2.c:164 164 res = __ast_pthread_mutex_lock(file, line, func, var, &obj_mutex->mutex.lock); (gdb) bt #0 0x00007fb12d9ee42d in __lll_lock_wait () from /usr/lib64/libpthread.so.0 #1 0x00007fb12d9e9de6 in _L_lock_870 () from /usr/lib64/libpthread.so.0 #2 0x00007fb12d9e9cdf in pthread_mutex_lock () from /usr/lib64/libpthread.so.0 #3 0x000000000052f7d8 in __ast_pthread_mutex_lock (filename=, lineno=, func=, mutex_name=, t=) at lock.c:315 #4 0x0000000000459797 in __ao2_lock (user_data=user_data@entry=0x7fb118127230, lock_how=lock_how@entry=AO2_LOCK_REQ_MUTEX, file=file@entry=0x600f15 "channel.c", func=func@entry=0x60e1b0 <__PRETTY_FUNCTION__.19471> "ast_channel_by_uniqueid_cb", line=line@entry=1379, var=var@entry=0x5fbd70 "chan") at astobj2.c:164 #5 0x00000000004a53c4 in ast_channel_by_uniqueid_cb (obj=0x7fb118127230, arg=0x7fb10414ed50, data=, flags=) at channel.c:1379 #6 0x000000000045c269 in internal_ao2_traverse (self=0x2ce9ed0, flags=flags@entry=OBJ_NOLOCK, cb_fn=cb_fn@entry=0x4a5390 , arg=arg@entry=0x7fb10414ed50, data=data@entry=0x7fb0acfc7550, tag=tag@entry=0x0, file=file@entry=0x0, line=line@entry=0, func=func@entry=0x0, type=AO2_CALLBACK_WITH_DATA) at astobj2_container.c:352 #7 0x000000000045cf75 in __ao2_callback_data (c=, flags=flags@entry=OBJ_NOLOCK, cb_fn=cb_fn@entry=0x4a5390 , arg=arg@entry=0x7fb10414ed50, data=data@entry=0x7fb0acfc7550) at astobj2_container.c:468 #8 0x00000000004ad1c1 in ast_channel_callback (ao2_flags=16, data=0x7fb0acfc7550, arg=0x7fb10414ed50, cb_fn=0x4a5390 ) at channel.c:1319 #9 does_id_conflict (uniqueid=0x7fb10414ed50 "A1193133.977") at channel.c:779 #10 __ast_channel_alloc_ap (needqueue=, state=4, cid_num=, cid_name=, acctcode=0x0, exten=, context=context@entry=0x7fb1040ab324 "test-cont", assignedids=assignedids@entry=0x7fb0acfc7770, requestor=requestor@entry=0x7fb1041159e0, amaflag=amaflag@entry=AST_AMA_NONE, endpoint=endpoint@entry=0x0, file=file@entry=0x61524b "core_unreal.c", line=line@entry=1028, function=function@entry=0x615580 <__FUNCTION__.16261> "ast_unreal_new_channels", name_fmt=name_fmt@entry=0x6152d9 "%s/%s-%08x;2", ap=ap@entry=0x7fb0acfc7608) at channel.c:978 #11 0x00000000004ad6f1 in __ast_channel_alloc (needqueue=needqueue@entry=1, state=, cid_num=cid_num@entry=0x0, cid_name=cid_name@entry=0x0, acctcode=acctcode@entry=0x0, exten=, context=context@entry=0x7fb1040ab324 "test-cont", assignedids=assignedids@entry=0x7fb0acfc7770, requestor=requestor@entry=0x7fb1041159e0, amaflag=amaflag@entry=AST_AMA_NONE, endpoint=endpoint@entry=0x0, file=file@entry=0x61524b "core_unreal.c", line=line@entry=1028, function=function@entry=0x615580 <__FUNCTION__.16261> "ast_unreal_new_channels", name_fmt=name_fmt@entry=0x6152d9 "%s/%s-%08x;2") at channel.c:1020 #12 0x00000000004e5bc6 in ast_unreal_new_channels (p=p@entry=0x7fb1040ab210, tech=tech@entry=0x891ba0 , semi1_state=semi1_state@entry=0, semi2_state=semi2_state@entry=4, exten=exten@entry=0x7fb1040ab374 "78142579577", context=context@entry=0x7fb1040ab324 "test-cont", assignedids=assignedids@entry=0x7fb0acfc78d0, requestor=requestor@entry=0x0, callid=callid@entry=0x0) at core_unreal.c:1026 #13 0x00000000004e26ac in local_request (type=, cap=, assignedids=0x7fb0acfc78d0, requestor=0x0, data=, cause=) at core_local.c:951 #14 0x00000000004b1beb in ast_request (type=0x7fb1041de2b0 "Local", request_cap=request_cap@entry=0x7fb104178098, assignedids=assignedids@entry=0x7fb0acfc78d0, requestor=requestor@entry=0x0, addr=0x7fb0acfc78e0 "78142579577@test-cont", cause=cause@entry=0x7fb104026050) at channel.c:6226 #15 0x00000000004f25e4 in begin_dial_prerun (channel=0x7fb104026000, chan=0x0, cap=, predial_string=0x0) at dial.c:332 #16 0x00000000004f472a in ast_dial_prerun (dial=0x7fb104076a00, chan=chan@entry=0x0, cap=cap@entry=0x7fb104178098) at dial.c:404 #17 0x0000000000574146 in pbx_outgoing_attempt (type=0x7fb10420c7e4 "Local", cap=0x7fb104178098, addr=0x7fb10420c7ec "78142579577@test-cont", timeout=180000, context=context@entry=0x7fb10420c804 "sub-cc", exten=, priority=priority@entry=1, app=app@entry=0x0, appdata=appdata@entry=0x0, reason=reason@entry=0x7fb0acfc7c30, synchronous=synchronous@entry=1, cid_num=cid_num@entry=0x0, cid_name=cid_name@entry=0x0, vars=vars@entry=0x7fb104216e40, account=account@entry=0x8b56f2 <__ast_string_field_empty_buffer+2> "", locked_channel=locked_channel@entry=0x7fb0acfc7c40, early_media=early_media@entry=0, assignedids=assignedids@entry=0x7fb0acfc7c60) at pbx.c:7641 #18 0x00000000005773fb in ast_pbx_outgoing_exten (type=, cap=, addr=, timeout=, context=0x7fb10420c804 "sub-cc", exten=, priority=1, reason=reason@entry=0x7fb0acfc7c30, synchronous=synchronous@entry=1, cid_num=0x0, cid_name=0x0, vars=vars@entry=0x7fb104216e40, account=0x8b56f2 <__ast_string_field_empty_buffer+2> "", locked_channel=locked_channel@entry=0x7fb0acfc7c40, early_media=0, assignedids=assignedids@entry=0x7fb0acfc7c60) at pbx.c:7792 #19 0x0000000000552790 in fast_originate (data=data@entry=0x7fb104057650) at manager.c:5205 #20 0x00000000005e58aa in dummy_start (data=) at utils.c:1239 #21 0x00007fb12d9e7e25 in start_thread () from /usr/lib64/libpthread.so.0 #22 0x00007fb12cd8c34d in clone () from /usr/lib64/libc.so.6 (gdb) bt full #0 0x00007fb12d9ee42d in __lll_lock_wait () from /usr/lib64/libpthread.so.0 No symbol table info available. #1 0x00007fb12d9e9de6 in _L_lock_870 () from /usr/lib64/libpthread.so.0 No symbol table info available. #2 0x00007fb12d9e9cdf in pthread_mutex_lock () from /usr/lib64/libpthread.so.0 No symbol table info available. #3 0x000000000052f7d8 in __ast_pthread_mutex_lock (filename=, lineno=, func=, mutex_name=, t=) at lock.c:315 No locals. #4 0x0000000000459797 in __ao2_lock (user_data=user_data@entry=0x7fb118127230, lock_how=lock_how@entry=AO2_LOCK_REQ_MUTEX, file=file@entry=0x600f15 "channel.c", func=func@entry=0x60e1b0 <__PRETTY_FUNCTION__.19471> "ast_channel_by_uniqueid_cb", line=line@entry=1379, var=var@entry=0x5fbd70 "chan") at astobj2.c:164 obj_mutex = 0x7fb1181271e0 obj_rwlock = res = 0 #5 0x00000000004a53c4 in ast_channel_by_uniqueid_cb (obj=0x7fb118127230, arg=0x7fb10414ed50, data=, flags=) at channel.c:1379 chan = uniqueid = 0x7fb10414ed50 "A1193133.977" id_len = 140398185938944 ret = 1 __PRETTY_FUNCTION__ = "ast_channel_by_uniqueid_cb" #6 0x000000000045c269 in internal_ao2_traverse (self=0x2ce9ed0, flags=flags@entry=OBJ_NOLOCK, cb_fn=cb_fn@entry=0x4a5390 , arg=arg@entry=0x7fb10414ed50, data=data@entry=0x7fb0acfc7550, tag=tag@entry=0x0, file=file@entry=0x0, line=line@entry=0, func=func@entry=0x0, type=AO2_CALLBACK_WITH_DATA) at astobj2_container.c:352 match = 3 ret = 0x0 cb_withdata = 0x4a5390 node = 0x7fb1180c2a68 traversal_state = 0x7fb0acfc7390 orig_lock = AO2_LOCK_REQ_MUTEX multi_container = 0x0 multi_iterator = 0x0 #7 0x000000000045cf75 in __ao2_callback_data (c=, flags=flags@entry=OBJ_NOLOCK, cb_fn=cb_fn@entry=0x4a5390 , arg=arg@entry=0x7fb10414ed50, data=data@entry=0x7fb0acfc7550) at astobj2_container.c:468 No locals. #8 0x00000000004ad1c1 in ast_channel_callback (ao2_flags=16, data=0x7fb0acfc7550, arg=0x7fb10414ed50, cb_fn=0x4a5390 ) at channel.c:1319 No locals. #9 does_id_conflict (uniqueid=0x7fb10414ed50 "A1193133.977") at channel.c:779 length = 0 #10 __ast_channel_alloc_ap (needqueue=, state=4, cid_num=, cid_name=, acctcode=0x0, exten=, context=context@entry=0x7fb1040ab324 "test-cont", assignedids=assignedids@entry=0x7fb0acfc7770, requestor=requestor@entry=0x7fb1041159e0, amaflag=amaflag@entry=AST_AMA_NONE, endpoint=endpoint@entry=0x0, file=file@entry=0x61524b "core_unreal.c", line=line@entry=1028, function=function@entry=0x615580 <__FUNCTION__.16261> "ast_unreal_new_channels", name_fmt=name_fmt@entry=0x6152d9 "%s/%s-%08x;2", ap=ap@entry=0x7fb0acfc7608) at channel.c:978 tmp = 0x7fb10417f380 headp = tech = 0x7fb0acfc74f0 "Local" tech2 = 0x0 nativeformats = schedctx = timer = now = {tv_sec = 1528450747, tv_usec = 66307} channel_tech = __PRETTY_FUNCTION__ = "__ast_channel_alloc_ap" #11 0x00000000004ad6f1 in __ast_channel_alloc (needqueue=needqueue@entry=1, state=, cid_num=cid_num@entry=0x0, cid_name=cid_name@entry=0x0, acctcode=acctcode@entry=0x0, exten=, context=context@entry=0x7fb1040ab324 "test-cont", assignedids=assignedids@entry=0x7fb0acfc7770, requestor=requestor@entry=0x7fb1041159e0, amaflag=amaflag@entry=AST_AMA_NONE, endpoint=endpoint@entry=0x0, file=file@entry=0x61524b "core_unreal.c", line=line@entry=1028, function=function@entry=0x615580 <__FUNCTION__.16261> "ast_unreal_new_channels", name_fmt=name_fmt@entry=0x6152d9 "%s/%s-%08x;2") at channel.c:1020 ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fb0acfc7728, reg_save_area = 0x7fb0acfc7620}} result = 0xfffffffffffffe00 #12 0x00000000004e5bc6 in ast_unreal_new_channels (p=p@entry=0x7fb1040ab210, tech=tech@entry=0x891ba0 , semi1_state=semi1_state@entry=0, semi2_state=semi2_state@entry=4, exten=exten@entry=0x7fb1040ab374 "78142579577", context=context@entry=0x7fb1040ab324 "test-cont", assignedids=assignedids@entry=0x7fb0acfc78d0, requestor=requestor@entry=0x0, callid=callid@entry=0x0) at core_unreal.c:1026 owner = 0x7fb1041159e0 chan = fmt = 0x22b75a8 id1 = {uniqueid = 0x7fb10401e320 "OA1193133.977", uniqueid2 = 0x0} id2 = {uniqueid = 0x7fb10414ed50 "A1193133.977", uniqueid2 = 0x0} __FUNCTION__ = "ast_unreal_new_channels" __PRETTY_FUNCTION__ = "ast_unreal_new_channels" #13 0x00000000004e26ac in local_request (type=, cap=, assignedids=0x7fb0acfc78d0, requestor=0x0, data=, cause=) at core_local.c:951 p = 0x7fb1040ab210 chan = callid = 0x0 #14 0x00000000004b1beb in ast_request (type=0x7fb1041de2b0 "Local", request_cap=request_cap@entry=0x7fb104178098, assignedids=assignedids@entry=0x7fb0acfc78d0, requestor=requestor@entry=0x0, addr=0x7fb0acfc78e0 "78142579577@test-cont", cause=cause@entry=0x7fb104026050) at channel.c:6226 tmp_cap = tmp_fmt = 0x22b75a8 best_audio_fmt = 0x22b75a8 joint_cap = 0x7fb10403da78 chan = 0x2d31e50 c = res = foo = -1392739656 __PRETTY_FUNCTION__ = "ast_request" #15 0x00000000004f25e4 in begin_dial_prerun (channel=0x7fb104026000, chan=0x0, cap=, predial_string=0x0) at dial.c:332 numsubst = "78142579577@test-cont\000\000\000 \000\000\004\261\177\000\000\r\000\000\000\000\000\000\000`|\374\254\260\177\000\000 \343\001\004\261\177\000\000\260\342\035\004\261\177\000\000\031\310 \004\261\177\000\000\fA\321,\261\177\000" cap_all_audio = 0x0 cap_request = 0x7fb104178098 requester_cap = 0x0 assignedids = {uniqueid = 0x7fb10401e320 "OA1193133.977", uniqueid2 = 0x7fb10414ed50 "A1193133.977"} #16 0x00000000004f472a in ast_dial_prerun (dial=0x7fb104076a00, chan=chan@entry=0x0, cap=cap@entry=0x7fb104178098) at dial.c:404 channel = 0x7fb104026000 res = -1 predial_string = 0x0 __PRETTY_FUNCTION__ = "ast_dial_prerun" #17 0x0000000000574146 in pbx_outgoing_attempt (type=0x7fb10420c7e4 "Local", cap=0x7fb104178098, addr=0x7fb10420c7ec "78142579577@test-cont", timeout=180000, context=context@entry=0x7fb10420c804 "sub-cc", exten=, priority=priority@entry=1, app=app@entry=0x0, appdata=appdata@entry=0x0, reason=reason@entry=0x7fb0acfc7c30, synchronous=synchronous@entry=1, cid_num=cid_num@entry=0x0, cid_name=cid_name@entry=0x0, vars=vars@entry=0x7fb104216e40, account=account@entry=0x8b56f2 <__ast_string_field_empty_buffer+2> "", locked_channel=locked_channel@entry=0x7fb0acfc7c40, early_media=early_media@entry=0, assignedids=assignedids@entry=0x7fb0acfc7c60) at pbx.c:7641 outgoing = 0x7fb10413b170 dialed = thread = 36798272 __PRETTY_FUNCTION__ = "pbx_outgoing_attempt" __FUNCTION__ = "pbx_outgoing_attempt" #18 0x00000000005773fb in ast_pbx_outgoing_exten (type=, cap=, addr=, timeout=, context=0x7fb10420c804 "sub-cc", exten=, priority=1, reason=reason@entry=0x7fb0acfc7c30, synchronous=synchronous@entry=1, cid_num=0x0, cid_name=0x0, vars=vars@entry=0x7fb104216e40, account=0x8b56f2 <__ast_string_field_empty_buffer+2> "", locked_channel=locked_channel@entry=0x7fb0acfc7c40, early_media=0, assignedids=assignedids@entry=0x7fb0acfc7c60) at pbx.c:7792 res = my_reason = 1 __FUNCTION__ = "ast_pbx_outgoing_exten" __PRETTY_FUNCTION__ = "ast_pbx_outgoing_exten" #19 0x0000000000552790 in fast_originate (data=data@entry=0x7fb104057650) at manager.c:5205 in = 0x7fb104057650 res = reason = 0 chan = 0x0 chans = {0x0} requested_channel = "\020\261\017\004\261\177\000\000\240B\000\000\000\000\000\000 \000\000\000\000\000\000\000`\035%\004\261\177\000\000'\000\000\000\000\000\000\000dK\321,\261\177\000\000\020\261\017\004\261\177\000\000\020\261\017\004\261\177\000\000\000\000\000\000\000\000\000\000 \237^\000\000\000\000" assignedids = {uniqueid = 0x7fb10420c81c "OA1193133.977", uniqueid2 = 0x7fb10420c82c "A1193133.977"} __PRETTY_FUNCTION__ = "fast_originate" #20 0x00000000005e58aa in dummy_start (data=) at utils.c:1239 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140398254076176, 5935249221508107671, 0, 140396793203136, 140396793202432, 39, -5962937153302852201, 5935248449737297303}, __mask_was_saved = 0}}, __pad = { 0x7fb0acfc7db0, 0x0, 0x7fb12cdfb662 <__libc_thread_freeres+34>, 0x7fb0acfc89c0}} __cancel_arg = 0x7fb0acfc8700 __not_first_call = ret = a = {start_routine = 0x552600 , data = 0x7fb104057650, name = 0x7fb1040fb110 "fast_originate started at [ 5670] manager.c action_originate()"} #21 0x00007fb12d9e7e25 in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #22 0x00007fb12cd8c34d in clone () from /usr/lib64/libc.so.6 No symbol table info available. (gdb) f 4 #4 0x0000000000459797 in __ao2_lock (user_data=user_data@entry=0x7fb118127230, lock_how=lock_how@entry=AO2_LOCK_REQ_MUTEX, file=file@entry=0x600f15 "channel.c", func=func@entry=0x60e1b0 <__PRETTY_FUNCTION__.19471> "ast_channel_by_uniqueid_cb", line=line@entry=1379, var=var@entry=0x5fbd70 "chan") at astobj2.c:164 164 res = __ast_pthread_mutex_lock(file, line, func, var, &obj_mutex->mutex.lock); (gdb) p *obj_mutex $2 = {mutex = {lock = {mutex = {__data = {__lock = 2, __count = 1, __owner = 15045, __nusers = 1, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = "\002\000\000\000\001\000\000\000\305:\000\000\001\000\000\000\001", '\000' , __align = 4294967298}, track = 0x0, tracking = 0}}, priv_data = {ref_counter = 4, destructor_fn = 0x4ae470 , options = 0, magic = 2775626019}, user_data = 0x7fb118127230} (gdb) thread find 15045 Thread 2210 has target id 'Thread 0x7fb0a6630700 (LWP 15045)' (gdb) thread 2210 [Switching to thread 2210 (Thread 0x7fb0a6630700 (LWP 15045))] #0 0x00007fb12d9ee42d in __lll_lock_wait () from /usr/lib64/libpthread.so.0 (gdb) bt #0 0x00007fb12d9ee42d in __lll_lock_wait () from /usr/lib64/libpthread.so.0 #1 0x00007fb12d9e9de6 in _L_lock_870 () from /usr/lib64/libpthread.so.0 #2 0x00007fb12d9e9cdf in pthread_mutex_lock () from /usr/lib64/libpthread.so.0 #3 0x000000000052f7d8 in __ast_pthread_mutex_lock (filename=, lineno=, func=, mutex_name=, t=) at lock.c:315 #4 0x0000000000459797 in __ao2_lock (user_data=user_data@entry=0x2ce9ed0, lock_how=lock_how@entry=AO2_LOCK_REQ_WRLOCK, file=file@entry=0x5fb4d1 "astobj2_container.c", func=func@entry=0x5fb6b0 <__PRETTY_FUNCTION__.9469> "internal_ao2_traverse", line=line@entry=334, var=var@entry=0x5fb4cc "self") at astobj2.c:164 #5 0x000000000045c69e in internal_ao2_traverse (self=self@entry=0x2ce9ed0, flags=35, cb_fn=cb_fn@entry=0x45bea0 , arg=arg@entry=0x7fb118127230, tag=tag@entry=0x0, file=file@entry=0x0, line=line@entry=0, func=func@entry=0x0, type=AO2_CALLBACK_DEFAULT, data=0x0) at astobj2_container.c:334 #6 0x000000000045ceed in __ao2_callback (arg=0x7fb118127230, cb_fn=0x45bea0 , flags=, c=0x2ce9ed0) at astobj2_container.c:455 #7 __ao2_unlink (c=0x2ce9ed0, user_data=user_data@entry=0x7fb118127230, flags=, flags@entry=0) at astobj2_container.c:211 #8 0x00000000004af8aa in ast_hangup (chan=0x7fb118127230) at channel.c:2704 #9 0x00000000004f4a46 in ast_dial_destroy (dial=0x7fb1180f88b0) at dial.c:1107 #10 0x0000000000565531 in pbx_outgoing_destroy (obj=0x7fb118106740) at pbx.c:7470 #11 0x000000000045a712 in internal_ao2_ref (func=0x5fb493 <__FUNCTION__.9547> "__ao2_ref", line=518, file=0x5fb238 "astobj2.c", delta=-1, user_data=0x7fb118106740) at astobj2.c:451 #12 __ao2_ref (delta=-1, user_data=0x7fb118106740) at astobj2.c:518 #13 __ao2_cleanup (obj=0x7fb118106740) at astobj2.c:531 #14 0x000000000057416c in _dtor_outgoing (v=) at pbx.c:7612 #15 pbx_outgoing_attempt (type=0x7fb1041ac6f4 "Local", cap=, addr=0x7fb1041ac6fc "79192966452@test-cont", timeout=180000, context=context@entry=0x7fb1041ac714 "sub-cc", exten=, priority=priority@entry=1, app=app@entry=0x0, appdata=appdata@entry=0x0, reason=reason@entry=0x7fb0a662fc30, synchronous=synchronous@entry=1, cid_num=cid_num@entry=0x0, cid_name=cid_name@entry=0x0, vars=vars@entry=0x7fb1041af710, account=account@entry=0x8b56f2 <__ast_string_field_empty_buffer+2> "", locked_channel=locked_channel@entry=0x7fb0a662fc40, early_media=early_media@entry=0, assignedids=assignedids@entry=0x7fb0a662fc60) at pbx.c:7612 #16 0x00000000005773fb in ast_pbx_outgoing_exten (type=, cap=, addr=, timeout=, context=0x7fb1041ac714 "sub-cc", exten=, priority=1, reason=reason@entry=0x7fb0a662fc30, synchronous=synchronous@entry=1, cid_num=0x0, cid_name=0x0, vars=vars@entry=0x7fb1041af710, account=0x8b56f2 <__ast_string_field_empty_buffer+2> "", locked_channel=locked_channel@entry=0x7fb0a662fc40, early_media=0, assignedids=assignedids@entry=0x7fb0a662fc60) at pbx.c:7792 #17 0x0000000000552790 in fast_originate (data=data@entry=0x7fb1041afa70) at manager.c:5205 #18 0x00000000005e58aa in dummy_start (data=) at utils.c:1239 #19 0x00007fb12d9e7e25 in start_thread () from /usr/lib64/libpthread.so.0 #20 0x00007fb12cd8c34d in clone () from /usr/lib64/libc.so.6 #0 0x00007fb12d9ee42d in __lll_lock_wait () from /usr/lib64/libpthread.so.0 No symbol table info available. #1 0x00007fb12d9e9de6 in _L_lock_870 () from /usr/lib64/libpthread.so.0 No symbol table info available. #2 0x00007fb12d9e9cdf in pthread_mutex_lock () from /usr/lib64/libpthread.so.0 No symbol table info available. #3 0x000000000052f7d8 in __ast_pthread_mutex_lock (filename=, lineno=, func=, mutex_name=, t=) at lock.c:315 No locals. #4 0x0000000000459797 in __ao2_lock (user_data=user_data@entry=0x2ce9ed0, lock_how=lock_how@entry=AO2_LOCK_REQ_WRLOCK, file=file@entry=0x5fb4d1 "astobj2_container.c", func=func@entry=0x5fb6b0 <__PRETTY_FUNCTION__.9469> "internal_ao2_traverse", line=line@entry=334, var=var@entry=0x5fb4cc "self") at astobj2.c:164 obj_mutex = 0x2ce9e80 obj_rwlock = res = 0 #5 0x000000000045c69e in internal_ao2_traverse (self=self@entry=0x2ce9ed0, flags=35, cb_fn=cb_fn@entry=0x45bea0 , arg=arg@entry=0x7fb118127230, tag=tag@entry=0x0, file=file@entry=0x0, line=line@entry=0, func=func@entry=0x0, type=AO2_CALLBACK_DEFAULT, data=0x0) at astobj2_container.c:334 ret = cb_default = 0x45bea0 node = traversal_state = orig_lock = AO2_LOCK_REQ_MUTEX multi_container = 0x0 multi_iterator = 0x0 #6 0x000000000045ceed in __ao2_callback (arg=0x7fb118127230, cb_fn=0x45bea0 , flags=, c=0x2ce9ed0) at astobj2_container.c:455 No locals. #7 __ao2_unlink (c=0x2ce9ed0, user_data=user_data@entry=0x7fb118127230, flags=, flags@entry=0) at astobj2_container.c:211 No locals. #8 0x00000000004af8aa in ast_hangup (chan=0x7fb118127230) at channel.c:2704 __PRETTY_FUNCTION__ = "ast_hangup" #9 0x00000000004f4a46 in ast_dial_destroy (dial=0x7fb1180f88b0) at dial.c:1107 __list_head = 0x7fb1180f8908 __list_next = 0x0 __list_prev = 0x0 __list_current = 0x7fb118103260 i = channel = 0x7fb118103260 __PRETTY_FUNCTION__ = "ast_dial_destroy" #10 0x0000000000565531 in pbx_outgoing_destroy (obj=0x7fb118106740) at pbx.c:7470 outgoing = 0x7fb118106740 __PRETTY_FUNCTION__ = "pbx_outgoing_destroy" #11 0x000000000045a712 in internal_ao2_ref (func=0x5fb493 <__FUNCTION__.9547> "__ao2_ref", line=518, file=0x5fb238 "astobj2.c", delta=-1, user_data=0x7fb118106740) at astobj2.c:451 obj_mutex = obj_rwlock = current_value = #12 __ao2_ref (delta=-1, user_data=0x7fb118106740) at astobj2.c:518 No locals. #13 __ao2_cleanup (obj=0x7fb118106740) at astobj2.c:531 No locals. #14 0x000000000057416c in _dtor_outgoing (v=) at pbx.c:7612 No locals. #15 pbx_outgoing_attempt (type=0x7fb1041ac6f4 "Local", cap=, addr=0x7fb1041ac6fc "79192966452@test-cont", timeout=180000, context=context@entry=0x7fb1041ac714 "sub-cc", exten=, priority=priority@entry=1, app=app@entry=0x0, appdata=appdata@entry=0x0, reason=reason@entry=0x7fb0a662fc30, synchronous=synchronous@entry=1, cid_num=cid_num@entry=0x0, cid_name=cid_name@entry=0x0, vars=vars@entry=0x7fb1041af710, account=account@entry=0x8b56f2 <__ast_string_field_empty_buffer+2> "", locked_channel=locked_channel@entry=0x7fb0a662fc40, early_media=early_media@entry=0, assignedids=assignedids@entry=0x7fb0a662fc60) at pbx.c:7612 outgoing = 0x7fb118106740 dialed = thread = 140396681971456 __PRETTY_FUNCTION__ = "pbx_outgoing_attempt" __FUNCTION__ = "pbx_outgoing_attempt" #16 0x00000000005773fb in ast_pbx_outgoing_exten (type=, cap=, addr=, timeout=, context=0x7fb1041ac714 "sub-cc", exten=, priority=1, reason=reason@entry=0x7fb0a662fc30, synchronous=synchronous@entry=1, cid_num=0x0, cid_name=0x0, vars=vars@entry=0x7fb1041af710, account=0x8b56f2 <__ast_string_field_empty_buffer+2> "", locked_channel=locked_channel@entry=0x7fb0a662fc40, early_media=0, assignedids=assignedids@entry=0x7fb0a662fc60) at pbx.c:7792 res = my_reason = 0 __FUNCTION__ = "ast_pbx_outgoing_exten" __PRETTY_FUNCTION__ = "ast_pbx_outgoing_exten" #17 0x0000000000552790 in fast_originate (data=data@entry=0x7fb1041afa70) at manager.c:5205 in = 0x7fb1041afa70 res = reason = 4 chan = 0x7fb118127230 chans = {0x0} requested_channel = "@\377\033\004\261\177\000\000\020\017\000\000\000\000\000\000 \000\000\000\000\000\000\000\360\320\022\030\261\177\000\000\000\300\a\000\000\000\000\000dK\321,\261\177\000\000@\377\033\004\261\177\000\000@\377\033\004\261\177\000\000\000\000\000\000\000\000\000\000 \237^\000\000\000\000" assignedids = {uniqueid = 0x7fb1041ac72c "OA1257678.413", uniqueid2 = 0x7fb1041ac73c "A1257678.413"} __PRETTY_FUNCTION__ = "fast_originate" #18 0x00000000005e58aa in dummy_start (data=) at utils.c:1239 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140398254882624, 5935249221508107671, 0, 140396682480064, 140396682479360, 507904, -5962922597658686057, 5935248449737297303}, __mask_was_saved = 0}}, __pad = { 0x7fb0a662fdb0, 0x0, 0x0, 0x0}} __cancel_arg = 0x7fb0a6630700 __not_first_call = ret = a = {start_routine = 0x552600 , data = 0x7fb1041afa70, name = 0x7fb1041bff40 "fast_originate started at [ 5670] manager.c action_originate()"} #19 0x00007fb12d9e7e25 in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #20 0x00007fb12cd8c34d in clone () from /usr/lib64/libc.so.6 No symbol table info available. (gdb) f 4 #4 0x0000000000459797 in __ao2_lock (user_data=user_data@entry=0x2ce9ed0, lock_how=lock_how@entry=AO2_LOCK_REQ_WRLOCK, file=file@entry=0x5fb4d1 "astobj2_container.c", func=func@entry=0x5fb6b0 <__PRETTY_FUNCTION__.9469> "internal_ao2_traverse", line=line@entry=334, var=var@entry=0x5fb4cc "self") at astobj2.c:164 164 res = __ast_pthread_mutex_lock(file, line, func, var, &obj_mutex->mutex.lock); (gdb) p *obj_mutex $3 = {mutex = {lock = {mutex = {__data = {__lock = 2, __count = 1, __owner = 16471, __nusers = 1, __kind = 1, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = "\002\000\000\000\001\000\000\000W@\000\000\001\000\000\000\001", '\000' , __align = 4294967298}, track = 0x0, tracking = 0}}, priv_data = {ref_counter = 1, destructor_fn = 0x45d7a0 , options = 0, magic = 2775626019}, user_data = 0x2ce9ed0} (gdb) thread find 16471 Thread 1861 has target id 'Thread 0x7fb0acfc8700 (LWP 16471)' (gdb) thread 1861 [Switching to thread 1861 (Thread 0x7fb0acfc8700 (LWP 16471))] #0 0x00007fb12d9ee42d in __lll_lock_wait () from /usr/lib64/libpthread.so.0