[asterisk-bugs] [JIRA] Updated: (ASTERISK-17963) crash when on disconnect

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Sep 24 11:09:28 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-17963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-17963:
------------------------------------

    Description: 
running on debian squeeze 2.6.32-5-amd64, using skypeforasterisk, func_odbc, and agi
asterisk regularly crashes after the user disconnects and shutdown scripts complete
this occurs on 1.8.4.2 but also occurred on 1.8.2.4.  I'm attaching a backtrace.
Thanks in advance for any help!

****** ADDITIONAL INFORMATION ******
[Edit by Rusty Newton - removed backtrace from desc, attacked as desc_backtrace.txt]

  was:
running on debian squeeze 2.6.32-5-amd64, using skypeforasterisk, func_odbc, and agi
asterisk regularly crashes after the user disconnects and shutdown scripts complete
this occurs on 1.8.4.2 but also occurred on 1.8.2.4.  I'm attaching a backtrace.
Thanks in advance for any help!

****** ADDITIONAL INFORMATION ******

[New Thread 30041]
[New Thread 30097]
[New Thread 30042]
[New Thread 32068]
[New Thread 30098]
[New Thread 23538]
[New Thread 23543]
[New Thread 23542]
[New Thread 23554]
[New Thread 23545]
[New Thread 23540]
[New Thread 23546]
[New Thread 23547]
[New Thread 23544]
[New Thread 23548]
[New Thread 23552]
[New Thread 23549]
[New Thread 29993]
[New Thread 23537]
[New Thread 23553]
[New Thread 23557]
[New Thread 23535]
[New Thread 23563]
[New Thread 23555]
[New Thread 23558]
[New Thread 23559]
[New Thread 23789]
[New Thread 23539]
[New Thread 23560]
[New Thread 23562]
[New Thread 23561]
[New Thread 23541]
[New Thread 23556]
[New Thread 23580]
Core was generated by `/usr/sbin/asterisk -p -g -U asterisk'.
Program terminated with signal 6, Aborted.
#0  0x00007fc3c24e0165 in raise () from /lib/libc.so.6
#0  0x00007fc3c24e0165 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fc3c24e2f70 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00007fc3c251627b in ?? () from /lib/libc.so.6
No symbol table info available.
#3  0x00007fc3c251fad6 in ?? () from /lib/libc.so.6
No symbol table info available.
#4  0x00007fc3c252484c in free () from /lib/libc.so.6
No symbol table info available.
ASTERISK-1  0x00007fc39e4fe234 in softmix_bridge_leave (bridge=0x7fc3992bff70, bridge_channel=0x7fc3994b1130) at bridge_softmix.c:155
        sc = 0xddbcf10
        __PRETTY_FUNCTION__ = "softmix_bridge_leave"
ASTERISK-2  0x000000000044da74 in smart_bridge_operation (bridge=0xdcd5e68, bridge_channel=0x0, count=2) at bridging.c:672
        new_capabilities = 2
        new_technology = 0x7fc3a5d20380
        old_technology = 0x7fc39e6ff340
        temp_bridge = {num = 0, waiting = 0, stop = 0, refresh = 0, feature_flags = {flags = 0}, technology = 0x7fc39e6ff340, bridge_pvt = 0xdce5bb0, thread = 0, features = {hooks = {first = 0x0, last = 0x0}, feature_flags = {flags = 0}, usable = 0, mute = 0}, array = 0x0, array_num = 0, array_size = 0, channels = {first = 0x0, last = 0x0}}
        bridge_channel2 = 0x7fc3994b1130
        __PRETTY_FUNCTION__ = "smart_bridge_operation"
ASTERISK-3  0x000000000044f4b2 in bridge_channel_join (bridge_channel=0x7fc3992c0130) at bridging.c:972
        formats = {64, 64}
        state = AST_BRIDGE_CHANNEL_STATE_END
        __PRETTY_FUNCTION__ = "bridge_channel_join"
        __FUNCTION__ = "bridge_channel_join"
ASTERISK-4  0x000000000044f869 in ast_bridge_join (bridge=0xdcd5e68, chan=0xdce0fa8, swap=0x0, features=0x7fc3992c02c0) at bridging.c:1010
        bridge_channel = {lock = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\001", '\000' <repeats 22 times>, __align = 0}, track = 0xdd20ed0, tracking = 1}, cond = {__data = {__lock = 0, __futex = 2, __total_seq = 1, __wakeup_seq = 1, __woken_seq = 1, __mutex = 0x7fc3992c0130, __nwaiters = 0, __broadcast_seq = 0}, __size = "\000\000\000\000\002\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\060\001,\231\303\177\000\000\000\000\000\000\000\000\000", __align = 8589934592}, state = AST_BRIDGE_CHANNEL_STATE_END, chan = 0xdce0fa8, swap = 0x0, bridge = 0xdcd5e68, bridge_pvt = 0xdd07710, thread = 140478065170176, fds = {0, 0, 0, 0}, suspended = 0, features = 0x7fc3992c02c0, dtmf_stream_q = "\000\000\000\000\000\000\000", entry = {next = 0x0}}
        state = AST_BRIDGE_CHANNEL_STATE_WAIT
        __PRETTY_FUNCTION__ = "ast_bridge_join"
ASTERISK-5  0x00007fc3b54687cb in confbridge_exec (chan=0xdce0fa8, data=0x7fc3992c2570 "947,q") at app_confbridge.c:763
        res = 0
        volume_adjustments = {0, 0}
        parse = 0x7fc3992c0220 "947"
        conference_bridge = 0xdcd5d78
        conference_bridge_user = {conference_bridge = 0xdcd5d78, chan = 0xdce0fa8, flags = {flags = 256}, opt_args = {0x0}, features = {hooks = {first = 0x0, last = 0x0}, feature_flags = {flags = 0}, usable = 0, mute = 0}, kicked = 0, list = {next = 0x7fc3994b12a0}}
        tmp = 0x0
        join_sound = 0x0
        leave_sound = 0x0
        args = {argc = 2, argv = 0x7fc3992c0280, conf_name = 0x7fc3992c0220 "947", options = 0x7fc3992c0224 "q"}
        __PRETTY_FUNCTION__ = "confbridge_exec"
ASTERISK-6 0x00000000004fe158 in pbx_exec (c=0xdce0fa8, app=0xdc41840, data=0x7fc3992c2570 "947,q") at pbx.c:1406
        res = 0
        u = 0xdcdec60
        saved_c_appl = 0x0
        saved_c_data = 0x0
        __PRETTY_FUNCTION__ = "pbx_exec"
ASTERISK-7 0x0000000000507bfb in pbx_extension_helper (c=0xdce0fa8, con=0x0, context=0xdce1500 "stream", exten=0xdce1550 "bridge", priority=1, label=0x0, callerid=0x0, action=E_SPAWN, found=0x7fc3992c4c60, combined_find_spawn=1) at pbx.c:4085
        e = 0x7fc3bc1b4930
        app = 0xdc41840
        res = 0
        q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xdce1500 "stream"}
        passdata = "947,q\000ng=active\"?,bridge,1:error,s,1", '\000' <repeats 5412 times>"\234, A$\301\303\177", '\000' <repeats 26 times>, " <,\231\303\177\000\000 <,\231\303\177\000\000\321L$\301\303\177", '\000' <repeats 58 times>"\233, \000\000\000\000\000\000\000\244\000\000\000\000\000\000\000\330r$\301\303\177\000\000\000\000\000\000\000\000\000\000\020\001\000\000\000\000\000\000(A\002\303\303\177\000\000 at 0\002\303\303\177\000\000\240;,\231\303\177\000\000`H$\301\303\177\000\000 <,\231\303\177\000\000 0[\302\303\177", '\000' <repeats 18 times>, "\001\000\000\000\000\000\000\000\220R\341\302\303\177\000\000\000\000\000\000\000\000\000\000\003\325\341\302\303\177\000\000@\000@\000\000\000\000\000\b\000\000\000\000\000\000\000"...
        matching_action = 0
        __PRETTY_FUNCTION__ = "pbx_extension_helper"
ASTERISK-8 0x00000000005095aa in ast_spawn_extension (c=0xdce0fa8, context=0xdce1500 "stream", exten=0xdce1550 "bridge", priority=1, callerid=0x0, found=0x7fc3992c4c60, combined_find_spawn=1) at pbx.c:4608
No locals.
ASTERISK-9 0x0000000000509ffb in __ast_pbx_run (c=0xdce0fa8, args=0x0) at pbx.c:4706
        digit = 0
        invalid = 0
        timeout = 0
        dst_exten = '\000' <repeats 168 times>"\320, ~\201\001\000\000\000\000@\256\200\302\303\177\000\000\000T\322\r\000\000\000\000H\020\000\000\000\000\000\000@\256\200\302\303\177\000\000@\256\200\302\303\177\000\000T\"R\302\303\177", '\000' <repeats 26 times>, "P\020\000\000\000\000\000"
        pos = 0
        found = 1
        res = 0
        autoloopflag = 0
        error = 0
        __PRETTY_FUNCTION__ = "__ast_pbx_run"
ASTERISK-10 0x000000000050bb86 in pbx_thread (data=0xdce0fa8) at pbx.c:5017
        c = 0xdce0fa8
ASTERISK-11 0x0000000000560b8e in dummy_start (data=0xdcf39c0) at utils.c:973
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 3482125020236730860, 140478069741056, 140478065170176, 140478767050816, 7, 3482125020247216620, -3470642859124600340}, __mask_was_saved = 0}}, __pad = {0x7fc3992c4f80, 0x0, 0x7fc3992c5a10, 0x0}}
        __cancel_routine = 0x43a304 <ast_unregister_thread>
        __cancel_arg = 0x7fc3992c5700
        not_first_call = 0
        ret = 0x7fc3c2805868
        a = {start_routine = 0x50bb61 <pbx_thread>, data = 0xdce0fa8, name = 0xdcf39e0 "pbx_thread", ' ' <repeats 11 times>, "started at [ 5038] pbx.c ast_pbx_start()"}
        lock_info = 0xdd1e790
        mutex_attr = {__size = "\001\000\000", __align = 1}
ASTERISK-12 0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
ASTERISK-13 0x00007fc3c257d02d in clone () from /lib/libc.so.6
No symbol table info available.
ASTERISK-14 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 34 (Thread 23580):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x00007fc3b76fad38 in do_monitor () from /usr/lib/asterisk/modules/chan_skype.so
#2  0x0000000000560b8e in dummy_start (data=0x7fc3bc1d8cb0) at utils.c:973
#3  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
#4  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-1  0x0000000000000000 in ?? ()

Thread 33 (Thread 23556):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x00000000004d90c0 in ast_io_wait (ioc=0x1d63160, howlong=1000) at io.c:275
#2  0x00007fc39be5fabc in do_monitor (data=0x0) at chan_sip.c:24719
#3  0x0000000000560b8e in dummy_start (data=0x1848a20) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 32 (Thread 23541):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x0000000000560efc in ast_wait_for_input (fd=7, ms=-1) at utils.c:1062
#2  0x000000000055029b in ast_tcptls_server_root (data=0x8018c0) at tcptls.c:247
#3  0x0000000000560b8e in dummy_start (data=0x1cdc640) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 31 (Thread 23561):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x00007fc3a4cdabfa in scan_thread (unused=0x0) at pbx_spool.c:634
#2  0x0000000000560b8e in dummy_start (data=0xdc63500) at utils.c:973
#3  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
#4  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-1  0x0000000000000000 in ?? ()

Thread 30 (Thread 23562):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5c9884 "taskprocessor.c", lineno=293, func=0x5c9fa0 "tps_processing_function", cond_name=0x5c9bf1 "&i->poll_cond", mutex_name=0x5c9bda "&i->taskprocessor_lock", cond=0x7fc3bc0180e0, t=0x7fc3bc018118) at lock.c:543
#2  0x000000000054ece3 in tps_processing_function (data=0x7fc3bc0180d8) at taskprocessor.c:293
#3  0x0000000000560b8e in dummy_start (data=0x7fc3bc012d40) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 29 (Thread 23560):
#0  0x00007fc3c254e78d in nanosleep () from /lib/libc.so.6
#1  0x00007fc3a38b4aac in cleanup (unused=0x0) at pbx_realtime.c:130
#2  0x0000000000560b8e in dummy_start (data=0xdc537d0) at utils.c:973
#3  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
#4  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-1  0x0000000000000000 in ?? ()

Thread 28 (Thread 23539):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x000000000043ca52 in listener (unused=0x0) at asterisk.c:1303
#2  0x0000000000560b8e in dummy_start (data=0x182d350) at utils.c:973
#3  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
#4  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-1  0x0000000000000000 in ?? ()

Thread 27 (Thread 23789):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x594634 "autoservice.c", lineno=97, func=0x5947b0 "autoservice_run", cond_name=0x594660 "&as_cond", mutex_name=0x594653 "&aslist.lock", cond=0x818000, t=0x7fd070) at lock.c:543
#2  0x000000000044a88c in autoservice_run (ign=0x0) at autoservice.c:97
#3  0x0000000000560b8e in dummy_start (data=0xdcd4c90) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 26 (Thread 23559):
#0  0x00007fc3c254e78d in nanosleep () from /lib/libc.so.6
#1  0x00007fc3a0c2fa1c in lock_broker (unused=0x0) at func_lock.c:192
#2  0x0000000000560b8e in dummy_start (data=0x7fc3bc17db90) at utils.c:973
#3  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
#4  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-1  0x0000000000000000 in ?? ()

Thread 25 (Thread 23558):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5c6db4 "sched.c", lineno=106, func=0x5c72d6 "sched_run", cond_name=0x5c6dc6 "&st->cond", mutex_name=0x5c6dbc "&st->lock", cond=0xdc36c00, t=0xdc36bc8) at lock.c:543
#2  0x0000000000542f5f in sched_run (data=0xdc36bc0) at sched.c:106
#3  0x0000000000560b8e in dummy_start (data=0xdc3a530) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 24 (Thread 23555):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x0000000000560efc in ast_wait_for_input (fd=13, ms=-1) at utils.c:1062
#2  0x000000000055029b in ast_tcptls_server_root (data=0x7fc39c0ab280) at tcptls.c:247
#3  0x0000000000560b8e in dummy_start (data=0x1835870) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 23 (Thread 23563):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x00007fc3bbafa688 in ?? () from /usr/lib/asterisk/modules/res_skypeforasterisk.so
#2  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
#3  0x00007fc3c257d02d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 22 (Thread 23535):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x0000000000442252 in monitor_sig_flags (unused=0x0) at asterisk.c:3080
#2  0x0000000000444cc1 in main (argc=5, argv=0x7fffc5f35fb8) at asterisk.c:3880

Thread 21 (Thread 23557):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5c9884 "taskprocessor.c", lineno=293, func=0x5c9fa0 "tps_processing_function", cond_name=0x5c9bf1 "&i->poll_cond", mutex_name=0x5c9bda "&i->taskprocessor_lock", cond=0x7f33550, t=0x7f33588) at lock.c:543
#2  0x000000000054ece3 in tps_processing_function (data=0x7f33548) at taskprocessor.c:293
#3  0x0000000000560b8e in dummy_start (data=0x7f34d80) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 20 (Thread 23553):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x7fc39d6e0494 "res_timing_pthread.c", lineno=465, func=0x7fc39d6e08a3 "do_timing", cond_name=0x7fc39d6e04d4 "&timing_thread.cond", mutex_name=0x7fc39d6e04c0 "&timing_thread.lock", cond=0x7fc39d8e1500, t=0x7fc39d8e14c8) at lock.c:543
#2  0x00007fc39d6e016b in do_timing (arg=0x0) at res_timing_pthread.c:465
#3  0x0000000000560b8e in dummy_start (data=0x1849260) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 19 (Thread 23537):
#0  0x00007fc3c254e78d in nanosleep () from /lib/libc.so.6
#1  0x00007fc3c254e600 in sleep () from /lib/libc.so.6
#2  0x000000000044238d in canary_thread (unused=0x0) at asterisk.c:3114
#3  0x0000000000560b8e in dummy_start (data=0x1814a30) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 18 (Thread 29993):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x0000000000470aa8 in ast_waitfor_nandfds (c=0x7fc3996a15f8, n=0, fds=0x7fc3996a1ef8, nfds=1, exception=0x0, outfd=0x7fc3996a1e1c, ms=0x7fc3996a1e18) at channel.c:3130
#2  0x00007fc3bab85170 in run_agi (chan=0x7fc3bc2191e8, request=0x7fc3996a1ea0 "shutdown.php", agi=0x7fc3996a1ef0, pid=32058, status=0x7fc3996a1ee4, dead=1, argc=2, argv=0x7fc3996a1f18) at res_agi.c:3368
#3  0x00007fc3bab869d2 in agi_exec_full (chan=0x7fc3bc2191e8, data=0x7fc3996a4570 "shutdown.php,947", enhanced=0, dead=1) at res_agi.c:3721
#4  0x00007fc3bab86b37 in agi_exec (chan=0x7fc3bc2191e8, data=0x7fc3996a4570 "shutdown.php,947") at res_agi.c:3757
ASTERISK-1  0x00000000004fe158 in pbx_exec (c=0x7fc3bc2191e8, app=0x1d3ce80, data=0x7fc3996a4570 "shutdown.php,947") at pbx.c:1406
ASTERISK-2  0x0000000000507bfb in pbx_extension_helper (c=0x7fc3bc2191e8, con=0x0, context=0x7fc3bc219740 "episodehost", exten=0x7fc3bc219790 "h", priority=1, label=0x0, callerid=0x7fc3bc2117d0 "binchecknk", action=E_SPAWN, found=0x7fc3996a6c60, combined_find_spawn=1) at pbx.c:4085
ASTERISK-3  0x00000000005095aa in ast_spawn_extension (c=0x7fc3bc2191e8, context=0x7fc3bc219740 "episodehost", exten=0x7fc3bc219790 "h", priority=1, callerid=0x7fc3bc2117d0 "binchecknk", found=0x7fc3996a6c60, combined_find_spawn=1) at pbx.c:4608
ASTERISK-4  0x000000000050b5e0 in __ast_pbx_run (c=0x7fc3bc2191e8, args=0x0) at pbx.c:4908
ASTERISK-5  0x000000000050bb86 in pbx_thread (data=0x7fc3bc2191e8) at pbx.c:5017
ASTERISK-6 0x0000000000560b8e in dummy_start (data=0x7fc3bc2114b0) at utils.c:973
ASTERISK-7 0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-8 0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-9 0x0000000000000000 in ?? ()

Thread 17 (Thread 23549):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5c6db4 "sched.c", lineno=106, func=0x5c72d6 "sched_run", cond_name=0x5c6dc6 "&st->cond", mutex_name=0x5c6dbc "&st->lock", cond=0x7fc3bc025ab0, t=0x7fc3bc025a78) at lock.c:543
#2  0x0000000000542f5f in sched_run (data=0x7fc3bc025a70) at sched.c:106
#3  0x0000000000560b8e in dummy_start (data=0x7fc3bc00c300) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 16 (Thread 23552):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x00007fc3ba326a2b in aji_io_recv (client=0x7fc3bc081660, buffer=0x7fc3b7ba2d80 "", buf_len=4094, timeout=1) at res_jabber.c:1307
#2  0x00007fc3ba326b2d in aji_recv (client=0x7fc3bc081660, timeout=1) at res_jabber.c:1350
#3  0x00007fc3ba32d608 in aji_recv_loop (data=0x7fc3bc081660) at res_jabber.c:2728
#4  0x0000000000560b8e in dummy_start (data=0x7fc3bc070950) at utils.c:973
ASTERISK-1  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-2  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-3  0x0000000000000000 in ?? ()

Thread 15 (Thread 23548):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5c9884 "taskprocessor.c", lineno=293, func=0x5c9fa0 "tps_processing_function", cond_name=0x5c9bf1 "&i->poll_cond", mutex_name=0x5c9bda "&i->taskprocessor_lock", cond=0x7fc3bc024160, t=0x7fc3bc024198) at lock.c:543
#2  0x000000000054ece3 in tps_processing_function (data=0x7fc3bc024158) at taskprocessor.c:293
#3  0x0000000000560b8e in dummy_start (data=0x7fc3bc0219c0) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 14 (Thread 23544):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5a5bf4 "devicestate.c", lineno=539, func=0x5a6370 "do_devstate_changes", cond_name=0x5a5ea7 "&change_pending", mutex_name=0x5a5eb7 "&state_changes.lock", cond=0x8184a0, t=0x7ff930) at lock.c:543
#2  0x000000000049ea10 in do_devstate_changes (data=0x0) at devicestate.c:539
#3  0x0000000000560b8e in dummy_start (data=0x7fc3bc003300) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 13 (Thread 23547):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5a5394 "db.c", lineno=749, func=0x5a5b3c "db_sync_thread", cond_name=0x5a5af3 "&dbcond", mutex_name=0x5a53d6 "&dblock", cond=0x818460, t=0x7ff3c0) at lock.c:543
#2  0x000000000049dada in db_sync_thread (data=0x0) at db.c:749
#3  0x0000000000560b8e in dummy_start (data=0x7fc3bc016ee0) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 12 (Thread 23546):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x00000000004bdf9e in do_parking_thread (ignore=0x0) at features.c:4229
#2  0x0000000000560b8e in dummy_start (data=0x7fc3bc015670) at utils.c:973
#3  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
#4  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-1  0x0000000000000000 in ?? ()

Thread 11 (Thread 23540):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5b3494 "logger.c", lineno=997, func=0x5b425b "logger_thread", cond_name=0x5b3f16 "&logcond", mutex_name=0x5b3f08 "&logmsgs.lock", cond=0x819180, t=0x802a10) at lock.c:543
#2  0x00000000004e4e35 in logger_thread (data=0x0) at logger.c:997
#3  0x0000000000560b8e in dummy_start (data=0x182d3c0) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 10 (Thread 23545):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5c9884 "taskprocessor.c", lineno=293, func=0x5c9fa0 "tps_processing_function", cond_name=0x5c9bf1 "&i->poll_cond", mutex_name=0x5c9bda "&i->taskprocessor_lock", cond=0x7fc3bc003600, t=0x7fc3bc003638) at lock.c:543
#2  0x000000000054ece3 in tps_processing_function (data=0x7fc3bc0035f8) at taskprocessor.c:293
#3  0x0000000000560b8e in dummy_start (data=0x7fc3bc003280) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 9 (Thread 23554):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x00000000004d90c0 in ast_io_wait (ioc=0x1d4bdb0, howlong=1000) at io.c:275
#2  0x00007fc3b66a4312 in do_monitor (data=0x0) at chan_mgcp.c:3862
#3  0x0000000000560b8e in dummy_start (data=0x1848700) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 8 (Thread 23542):
#0  0x00007fc3c2570ebd in read () from /lib/libc.so.6
#1  0x00000000005474c2 in inotify_daemon (data=0x0) at stdtime/localtime.c:290
#2  0x0000000000560b8e in dummy_start (data=0x1cda0c0) at utils.c:973
#3  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
#4  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-1  0x0000000000000000 in ?? ()

Thread 7 (Thread 23543):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x0000000000560efc in ast_wait_for_input (fd=8, ms=5000) at utils.c:1062
#2  0x000000000055029b in ast_tcptls_server_root (data=0x8033a0) at tcptls.c:247
#3  0x0000000000560b8e in dummy_start (data=0x186f900) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 6 (Thread 23538):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5c9884 "taskprocessor.c", lineno=293, func=0x5c9fa0 "tps_processing_function", cond_name=0x5c9bf1 "&i->poll_cond", mutex_name=0x5c9bda "&i->taskprocessor_lock", cond=0x1829c80, t=0x1829cb8) at lock.c:543
#2  0x000000000054ece3 in tps_processing_function (data=0x1829c78) at taskprocessor.c:293
#3  0x0000000000560b8e in dummy_start (data=0x182b490) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 5 (Thread 30098):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x0000000000470aa8 in ast_waitfor_nandfds (c=0x7fc399530f78, n=1, fds=0x7fc399531888, nfds=1, exception=0x0, outfd=0x7fc39953179c, ms=0x7fc399531798) at channel.c:3130
#2  0x00007fc3bab85170 in run_agi (chan=0xdd03ca8, request=0x7fc399531820 "streamcast.php", agi=0x7fc399531880, pid=30099, status=0x7fc399531874, dead=0, argc=3, argv=0x7fc3995318a8) at res_agi.c:3368
#3  0x00007fc3bab869d2 in agi_exec_full (chan=0xdd03ca8, data=0xdd2fcf0 "streamcast.php,947,mp3", enhanced=0, dead=0) at res_agi.c:3721
#4  0x00007fc3bab86b18 in agi_exec (chan=0xdd03ca8, data=0xdd2fcf0 "streamcast.php,947,mp3") at res_agi.c:3755
ASTERISK-1  0x00000000004fe158 in pbx_exec (c=0xdd03ca8, app=0x1d3ce80, data=0xdd2fcf0 "streamcast.php,947,mp3") at pbx.c:1406
ASTERISK-2  0x0000000000517338 in ast_pbx_run_app (data=0xdd2fbf0) at pbx.c:8536
ASTERISK-3  0x0000000000560b8e in dummy_start (data=0xdd2fe10) at utils.c:973
ASTERISK-4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-5  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-6 0x0000000000000000 in ?? ()

Thread 4 (Thread 32068):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x0000000000470aa8 in ast_waitfor_nandfds (c=0xdd247a8, n=1, fds=0x7fc3993bcdd4, nfds=1, exception=0x0, outfd=0x7fc3993bcdc4, ms=0x7fc3993bcdc8) at channel.c:3130
#2  0x00007fc3a5b1eaa3 in multiplexed_thread_function (data=0xdd24798) at bridge_multiplexed.c:219
#3  0x0000000000560b8e in dummy_start (data=0xdcdea00) at utils.c:973
#4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-1  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-2  0x0000000000000000 in ?? ()

Thread 3 (Thread 30042):
#0  0x00007fc3c2572113 in poll () from /lib/libc.so.6
#1  0x0000000000470aa8 in ast_waitfor_nandfds (c=0x7fc399247f88, n=1, fds=0x7fc399248888, nfds=1, exception=0x0, outfd=0x7fc3992487ac, ms=0x7fc3992487a8) at channel.c:3130
#2  0x00007fc3bab85170 in run_agi (chan=0xdce1c78, request=0x7fc399248830 "encode.php", agi=0x7fc399248880, pid=30043, status=0x7fc399248874, dead=0, argc=2, argv=0x7fc3992488a8) at res_agi.c:3368
#3  0x00007fc3bab869d2 in agi_exec_full (chan=0xdce1c78, data=0xdd1fad0 "encode.php,947", enhanced=0, dead=0) at res_agi.c:3721
#4  0x00007fc3bab86b18 in agi_exec (chan=0xdce1c78, data=0xdd1fad0 "encode.php,947") at res_agi.c:3755
ASTERISK-1  0x00000000004fe158 in pbx_exec (c=0xdce1c78, app=0x1d3ce80, data=0xdd1fad0 "encode.php,947") at pbx.c:1406
ASTERISK-2  0x0000000000517338 in ast_pbx_run_app (data=0xdd1f9d0) at pbx.c:8536
ASTERISK-3  0x0000000000560b8e in dummy_start (data=0xdd1f8e0) at utils.c:973
ASTERISK-4  0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-5  0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-6 0x0000000000000000 in ?? ()

Thread 2 (Thread 30097):
#0  0x00007fc3c1d4916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004dfe6c in __ast_cond_wait (filename=0x5947d4 "bridging.c", lineno=755, func=0x595d60 "bridge_channel_join_singlethreaded", cond_name=0x5948e6 "&bridge_channel->cond", mutex_name=0x5948d0 "&bridge_channel->lock", cond=0x7fc3994b1168, t=0x7fc3994b1130) at lock.c:543
#2  0x000000000044e22e in bridge_channel_join_singlethreaded (bridge_channel=0x7fc3994b1130) at bridging.c:755
#3  0x000000000044f01d in bridge_channel_join (bridge_channel=0x7fc3994b1130) at bridging.c:936
#4  0x000000000044f869 in ast_bridge_join (bridge=0xdcd5e68, chan=0xdd28ac8, swap=0x0, features=0x7fc3994b12c0) at bridging.c:1010
ASTERISK-1  0x00007fc3b54687cb in confbridge_exec (chan=0xdd28ac8, data=0x7fc3994b3570 "947,q") at app_confbridge.c:763
ASTERISK-2  0x00000000004fe158 in pbx_exec (c=0xdd28ac8, app=0xdc41840, data=0x7fc3994b3570 "947,q") at pbx.c:1406
ASTERISK-3  0x0000000000507bfb in pbx_extension_helper (c=0xdd28ac8, con=0x0, context=0xdd29020 "stream", exten=0xdd29070 "bridge", priority=1, label=0x0, callerid=0x0, action=E_SPAWN, found=0x7fc3994b5c60, combined_find_spawn=1) at pbx.c:4085
ASTERISK-4  0x00000000005095aa in ast_spawn_extension (c=0xdd28ac8, context=0xdd29020 "stream", exten=0xdd29070 "bridge", priority=1, callerid=0x0, found=0x7fc3994b5c60, combined_find_spawn=1) at pbx.c:4608
ASTERISK-5  0x0000000000509ffb in __ast_pbx_run (c=0xdd28ac8, args=0x0) at pbx.c:4706
ASTERISK-6 0x000000000050bb86 in pbx_thread (data=0xdd28ac8) at pbx.c:5017
ASTERISK-7 0x0000000000560b8e in dummy_start (data=0xdd2e370) at utils.c:973
ASTERISK-8 0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-9 0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-10 0x0000000000000000 in ?? ()

Thread 1 (Thread 30041):
#0  0x00007fc3c24e0165 in raise () from /lib/libc.so.6
#1  0x00007fc3c24e2f70 in abort () from /lib/libc.so.6
#2  0x00007fc3c251627b in ?? () from /lib/libc.so.6
#3  0x00007fc3c251fad6 in ?? () from /lib/libc.so.6
#4  0x00007fc3c252484c in free () from /lib/libc.so.6
ASTERISK-1  0x00007fc39e4fe234 in softmix_bridge_leave (bridge=0x7fc3992bff70, bridge_channel=0x7fc3994b1130) at bridge_softmix.c:155
ASTERISK-2  0x000000000044da74 in smart_bridge_operation (bridge=0xdcd5e68, bridge_channel=0x0, count=2) at bridging.c:672
ASTERISK-3  0x000000000044f4b2 in bridge_channel_join (bridge_channel=0x7fc3992c0130) at bridging.c:972
ASTERISK-4  0x000000000044f869 in ast_bridge_join (bridge=0xdcd5e68, chan=0xdce0fa8, swap=0x0, features=0x7fc3992c02c0) at bridging.c:1010
ASTERISK-5  0x00007fc3b54687cb in confbridge_exec (chan=0xdce0fa8, data=0x7fc3992c2570 "947,q") at app_confbridge.c:763
ASTERISK-6 0x00000000004fe158 in pbx_exec (c=0xdce0fa8, app=0xdc41840, data=0x7fc3992c2570 "947,q") at pbx.c:1406
ASTERISK-7 0x0000000000507bfb in pbx_extension_helper (c=0xdce0fa8, con=0x0, context=0xdce1500 "stream", exten=0xdce1550 "bridge", priority=1, label=0x0, callerid=0x0, action=E_SPAWN, found=0x7fc3992c4c60, combined_find_spawn=1) at pbx.c:4085
ASTERISK-8 0x00000000005095aa in ast_spawn_extension (c=0xdce0fa8, context=0xdce1500 "stream", exten=0xdce1550 "bridge", priority=1, callerid=0x0, found=0x7fc3992c4c60, combined_find_spawn=1) at pbx.c:4608
ASTERISK-9 0x0000000000509ffb in __ast_pbx_run (c=0xdce0fa8, args=0x0) at pbx.c:4706
ASTERISK-10 0x000000000050bb86 in pbx_thread (data=0xdce0fa8) at pbx.c:5017
ASTERISK-11 0x0000000000560b8e in dummy_start (data=0xdcf39c0) at utils.c:973
ASTERISK-12 0x00007fc3c1d448ba in start_thread () from /lib/libpthread.so.0
ASTERISK-13 0x00007fc3c257d02d in clone () from /lib/libc.so.6
ASTERISK-14 0x0000000000000000 in ?? ()



> crash when on disconnect
> ------------------------
>
>                 Key: ASTERISK-17963
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17963
>             Project: Asterisk
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 1.8.4
>            Reporter: Steve Vitale
>            Assignee: Steve Vitale
>            Severity: Critical
>         Attachments: backtrace2.txt
>
>
> running on debian squeeze 2.6.32-5-amd64, using skypeforasterisk, func_odbc, and agi
> asterisk regularly crashes after the user disconnects and shutdown scripts complete
> this occurs on 1.8.4.2 but also occurred on 1.8.2.4.  I'm attaching a backtrace.
> Thanks in advance for any help!
> ****** ADDITIONAL INFORMATION ******
> [Edit by Rusty Newton - removed backtrace from desc, attacked as desc_backtrace.txt]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list