(gdb) thread 30 [Switching to thread 30 (Thread 0x7f0182ebd700 (LWP 28043))] #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 135 ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory. (gdb) bt full #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 No locals. #1 0x00007f01870ccbf6 in __GI___pthread_mutex_lock (mutex=0x556dc8950590) at ../nptl/pthread_mutex_lock.c:115 id = -2029179044 __PRETTY_FUNCTION__ = "__pthread_mutex_lock" type = 1 id = #2 0x0000556dc6259317 in __ast_pthread_mutex_lock (filename=0x556dc638cb8b "stasis.c", lineno=829, func=0x556dc638d1d1 <__PRETTY_FUNCTION__.16016> "publish_msg", mutex_name=0x556dc638ccd8 "topic", t=0x556dc8950590) at lock.c:315 res = -585115825 #3 0x0000556dc616ce77 in __ao2_lock (user_data=0x556dc89505e0, lock_how=AO2_LOCK_REQ_MUTEX, file=0x556dc638cb8b "stasis.c", func=0x556dc638d1d1 <__PRETTY_FUNCTION__.16016> "publish_msg", line=829, var=0x556dc638ccd8 "topic") at astobj2.c:164 obj = 0x556dc89505c8 obj_mutex = 0x556dc8950590 obj_rwlock = 0x556dc89505e0 res = 0 #4 0x0000556dc62f4de6 in publish_msg (topic=0x556dc89505e0, message=0x7f0140525a70, sync_sub=0x556dc89500d0) at stasis.c:829 i = 93929964855113 __PRETTY_FUNCTION__ = "publish_msg" #5 0x0000556dc62f4ed4 in stasis_publish_sync (sub=0x556dc89500d0, message=0x7f0140525a70) at stasis.c:850 No locals. #6 0x0000556dc6306b98 in stasis_message_router_publish_sync (router=0x556dc894f520, message=0x7f0140525a70) at stasis_message_router.c:288 No locals. #7 0x00007f00fc563eec in cdr_write (chan=0x7f014c6b6d20, cmd=0x7f0182eba320 "CDR", parse=0x7f0182eba324 "dummy", value=0x7f0182eba4ab "abcdefg") at func_cdr.c:568 message = 0x7f0140525a70 payload = 0x7f014092cc70 router = 0x556dc894f520 __PRETTY_FUNCTION__ = "cdr_write" #8 0x0000556dc62af17a in ast_func_write (chan=0x7f014c6b6d20, function=0x7f0182eba3e0 "CDR(dummy)", value=0x7f0182eba4ab "abcdefg") at pbx_functions.c:711 res = 32513 u = 0x7f0140960db0 copy = 0x7f0182eba320 "CDR" args = 0x7f0182eba324 "dummy" acfptr = 0x7f00fc766080 __PRETTY_FUNCTION__ = "ast_func_write" #9 0x0000556dc62b3ea0 in pbx_builtin_setvar_helper (chan=0x7f014c6b6d20, name=0x7f0182eba4a0 "CDR(dummy)", value=0x7f0182eba4ab "abcdefg") at pbx_variables.c:1036 function = 0x7f0182eba3e0 "CDR(dummy)" newvariable = 0x345c638d1d1 headp = 0x556dc638d1d1 <__PRETTY_FUNCTION__.16016> nametail = 0x7f0182eba4a0 "CDR(dummy)" old_value_existed = 0 __PRETTY_FUNCTION__ = "pbx_builtin_setvar_helper" #10 0x0000556dc62b434e in pbx_builtin_setvar (chan=0x7f014c6b6d20, data=0x7f0182ebaa90 "CDR(dummy)=abcdefg") at pbx_variables.c:1104 name = 0x7f0182eba4a0 "CDR(dummy)" value = 0x7f0182eba4ab "abcdefg" mydata = 0x7f0182eba4ab "abcdefg" __PRETTY_FUNCTION__ = "pbx_builtin_setvar" #11 0x0000556dc62a98d5 in pbx_exec (c=0x7f014c6b6d20, app=0x556dc896c510, data=0x7f0182ebaa90 "CDR(dummy)=abcdefg") at pbx_app.c:484 res = 21869 u = 0x0 saved_c_appl = 0x0 saved_c_data = 0x0 __PRETTY_FUNCTION__ = "pbx_exec" #12 0x0000556dc6295436 in pbx_extension_helper (c=0x7f014c6b6d20, con=0x0, context=0x7f014c6b76d8 "dial", exten=0x7f014c6b7728 "h", priority=16, label=0x0, callerid=0x7f014c102d60 "12345", action=E_SPAWN, found=0x7f0182ebcb6c, combined_find_spawn=1) at pbx.c:2884 e = 0x7f00ec0e27f0 app = 0x556dc896c510 substitute = 0x0 res = 32513 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7f014c6b76d8 "dial"} passdata = "CDR(dummy)=abcdefg\000.127.174.206:9226,268,487,0.000000,0.000000,0,0,0.000000,DISABLED\000rc=0;lp=0;rxjitter=0.000000;rxcount=268;txjitter=0.000000;txcount=487;rlp=0;rtt=0.000000\000,1)U(answered,s,1)S(14400)"... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #13 0x0000556dc6298df9 in ast_spawn_extension (c=0x7f014c6b6d20, context=0x7f014c6b76d8 "dial", exten=0x7f014c6b7728 "h", priority=16, callerid=0x7f014c102d60 "12345", found=0x7f0182ebcb6c, combined_find_spawn=1) at pbx.c:4109 No locals. #14 0x0000556dc6298fba in ast_pbx_h_exten_run (chan=0x7f014c6b6d20, context=0x7f014c6b76d8 "dial") at pbx.c:4139 autoloopflag = 512 found = 1 spawn_error = 0 __PRETTY_FUNCTION__ = "ast_pbx_h_exten_run" #15 0x0000556dc629af99 in __ast_pbx_run (c=0x7f014c6b6d20, args=0x0) at pbx.c:4501 found = 1 res = -1 autoloopflag = 0 error = 1 pbx = 0x7f0140052850 callid = 0x0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #16 0x0000556dc629b4a5 in pbx_thread (data=0x7f014c6b6d20) at pbx.c:4604 c = 0x7f014c6b6d20 #17 0x0000556dc632a743 in dummy_start (data=0x7f014c00ab30) at utils.c:1235 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -3799950702669910031, 0, 139641544862031, 139644468188928, 139644089156272, -3799950702678298639, -6945864220297056271}, __mask_was_saved = 0}}, __pad = {0x7f0182ebcef0, 0x0, 0x7f01863a81a2 <__libc_thread_freeres+34>, 0x7f0182adca8f}} __cancel_routine = 0x556dc615ff4d __cancel_arg = 0x7f0182ebd700 __not_first_call = 0 ret = 0x0 a = {start_routine = 0x556dc629b480 , data = 0x7f014c6b6d20, name = 0x7f014c176d50 "pbx_thread", ' ' , "started at [ 4630] pbx.c ast_pbx_start()"} #18 0x00007f01870ca424 in start_thread (arg=0x7f0182ebd700) at pthread_create.c:333 __res = pd = 0x7f0182ebd700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139644468188928, 3837305680939528177, 0, 139641544862031, 139644468188928, 139644089156272, -3799950702672007183, -3799957030133354511}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #19 0x00007f01863469bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105