[asterisk-users] Asterisk segfault in dmesg

Alex Saavedra alex at masterline-logistics.com
Wed Dec 8 15:40:42 UTC 2010


Paul,

Thank you for your reply. From the backtrace it seems like "core restart
when convenient" caused the segmentation fault, in which case I shouldn't be
really concerned (...should I?). I'm attaching the backtrace.

I issue this command from time to time, because our TDM2400 seems to hold
zombie DAHDI channels on FXO ports (DAHDI v 2.3.0), never putting them on
hook again, and resulting in wrong CDR entries reporting  extremely long
conversations.

Once you confirm that the segfault error is related to "core restart when
convenient" I will post a question regarding those zombie DAHDI channels.

Best regards,

Alex Saavedra


On Wed, Dec 8, 2010 at 10:49 AM, Paul Belanger <pabelanger at digium.com>wrote:

> On 10-12-08 09:31 AM, Alex Saavedra wrote:
> > The server is running without troubles. I know I should worry, just don't
> > know where to start. Any advices?
> >
> If you didn't notice downtime from Asterisk, your likely using the
> safe_asterisk script.  It has some inline documentation you should read.
>  Also, once you located your core file, generate a backtrace[1] and
> attached it to this message.
>
> [1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace
> --
> Paul Belanger
> Digium, Inc. | Software Developer
> twitter: pabelanger | IRC: pabelanger (Freenode)
> Check us out at: http://digium.com & http://asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101208/9505a034/attachment-0001.htm 
-------------- next part --------------
[New Thread 4687]
[New Thread 1377]
[New Thread 1372]
[New Thread 1375]
[New Thread 1373]
[New Thread 1378]
[New Thread 1381]
[New Thread 1382]
[New Thread 1376]
[New Thread 1379]
[New Thread 1404]
[New Thread 1402]
[New Thread 1403]
[New Thread 1409]
[New Thread 1412]
[New Thread 1411]
[New Thread 1401]
[New Thread 1432]
[New Thread 1554]
[New Thread 1410]
[New Thread 2641]
[New Thread 1371]
[New Thread 1405]
[New Thread 1374]
[New Thread 1413]
[New Thread 1407]
Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  ast_sched_thread_get_context (st=0x0) at sched.c:132
132	{
#0  ast_sched_thread_get_context (st=0x0) at sched.c:132
#1  0x00007f42259b87fe in iax2_destroy_helper (pvt=0x7f4210030698) at chan_iax2.c:1643
#2  0x00007f42259bdff0 in iax2_destroy (callno=1688) at chan_iax2.c:3230
#3  0x00007f42259be98e in __unload_module () at chan_iax2.c:13654
#4  0x00000000004a2f21 in ast_module_shutdown () at loader.c:470
#5  0x0000000000434575 in quit_handler (niceness=2, safeshutdown=1, restart=1, num=<value optimized out>) at asterisk.c:1597
#6  0x0000000000434f65 in handle_restart_when_convenient (e=<value optimized out>, cmd=<value optimized out>, 
    a=<value optimized out>) at asterisk.c:1916
#7  0x0000000000464481 in ast_cli_command_full (uid=<value optimized out>, gid=<value optimized out>, fd=49, 
    s=0x7f42163e4930 "core restart when convenient ") at cli.c:2299
#8  0x00000000004646c0 in ast_cli_command_multiple_full (uid=<value optimized out>, gid=<value optimized out>, fd=49, 
    size=30, s=0x7f42163e4ba0 "core restart when convenient ") at cli.c:2322
#9  0x000000000043541a in netconsole (vconsole=0x7afca0) at asterisk.c:1231
#10 0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#11 0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#12 0x00007f4234d9c70d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()
#0  ast_sched_thread_get_context (st=0x0) at sched.c:132
No locals.
#1  0x00007f42259b87fe in iax2_destroy_helper (pvt=0x7f4210030698) at chan_iax2.c:1643
        __tmp_context = <value optimized out>
        __PRETTY_FUNCTION__ = "iax2_destroy_helper"
#2  0x00007f42259bdff0 in iax2_destroy (callno=1688) at chan_iax2.c:3230
        pvt = 0x7f4210030698
        owner = 0x788470
        __PRETTY_FUNCTION__ = "iax2_destroy"
#3  0x00007f42259be98e in __unload_module () at chan_iax2.c:13654
        con = <value optimized out>
        x = 1688
#4  0x00000000004a2f21 in ast_module_shutdown () at loader.c:470
        __list_next = 0x7f422c033c50
        __list_prev = 0x7f422c03b300
        __new_prev = <value optimized out>
        mod = 0x7f422c05daa0
        somethingchanged = -64
#5  0x0000000000434575 in quit_handler (niceness=2, safeshutdown=1, restart=1, num=<value optimized out>) at asterisk.c:1597
        filename = '\000' <repeats 79 times>
        s = 4589321
        e = 49
        x = <value optimized out>
#6  0x0000000000434f65 in handle_restart_when_convenient (e=<value optimized out>, cmd=<value optimized out>, 
    a=<value optimized out>) at asterisk.c:1916
No locals.
#7  0x0000000000464481 in ast_cli_command_full (uid=<value optimized out>, gid=<value optimized out>, fd=49, 
    s=0x7f42163e4930 "core restart when convenient ") at cli.c:2299
        args = {0x788470 "\300\330\002\020B\177", 0xe70c90 "core", 0xe70c95 "restart", 0xe70c9d "when", 
          0xe70ca2 "convenient", 0x0, 0x0, 0x7f422c000020 "", 0x7f422c0e7e90 "", 0x7f422c0e8120 "from-internal", 
          0x7f42163e472c "\001", 0xd3088bfe04ac4300 <Address 0xd3088bfe04ac4300 out of bounds>, 
          0x7f42163e4730 "\374\375\376\377", 0xd3088bfe04ac4300 <Address 0xd3088bfe04ac4300 out of bounds>, 0x0, 
          0x7f422c0e7d60 "0[\025,B\177", 0x7f422c0e7e90 "", 0x0, 0x7f42163e472c "\001", 
          0x459250 "\351\307\374\377\377\017\037", 0x7f422c114198 "\260i\003,B\177", 0x7f422c1141a4 "", 0xd2b1e0 "", 
          0xe0b820 "\240\366", <incomplete sequence \361>, 0x10 <Address 0x10 out of bounds>, 0x5408d6 "Normal Clearing", 
          0x7f422c0e7d60 "0[\025,B\177", 0xfffffffe <Address 0xfffffffe out of bounds>, 0x7f422c0e8120 "from-internal", 
          0x4ce794 "1\300H\213\224$x\001", 0xe <Address 0xe out of bounds>, 0x7f422c114198 "\260i\003,B\177", 
          0x7f42163e472c "\001", 0xabaaa9a800000001 <Address 0xabaaa9a800000001 out of bounds>, 
          0xb3b2b1b0afaeadac <Address 0xb3b2b1b0afaeadac out of bounds>, 0xe44ad0 "\220r", <incomplete sequence \347>, 
          0x7f422c0e7e78 "", 0x7f422c0e7e90 "", 0xffffffff <Address 0xffffffff out of bounds>, 
          0x7f42163e4840 "`}\016,B\177", 0x80000163e4750 <Address 0x80000163e4750 out of bounds>, 0x7f422c0e8171 "433447", 
          0xf3f2f1f0efeeedec <Address 0xf3f2f1f0efeeedec out of bounds>, 0x1f7f6f5f4 <Address 0x1f7f6f5f4 out of bounds>, 
          0x3020100fffefdfc <Address 0x3020100fffefdfc out of bounds>, 0xe44ad0 "\220r", <incomplete sequence \347>, 
          0x7f42163e4660 ",G>\026B\177", 0xd3088bfe04ac4300 <Address 0xd3088bfe04ac4300 out of bounds>, 
          0x232221201f1e1d1c <Address 0x232221201f1e1d1c out of bounds>, 
          0x2b2a292827262524 <Address 0x2b2a292827262524 out of bounds>, 
          0x333231302f2e2d2c <Address 0x333231302f2e2d2c out of bounds>, 
          0x3b3a393837363534 <Address 0x3b3a393837363534 out of bounds>, 
          0x434241403f3e3d3c <Address 0x434241403f3e3d3c out of bounds>, 
          0x4b4a494847464544 <Address 0x4b4a494847464544 out of bounds>, 
          0x535251504f4e4d4c <Address 0x535251504f4e4d4c out of bounds>, 
          0x5b5a595857565554 <Address 0x5b5a595857565554 out of bounds>, 
          0x636261605f5e5d5c <Address 0x636261605f5e5d5c out of bounds>, 
          0x6b6a696867666564 <Address 0x6b6a696867666564 out of bounds>, 
          0x737271706f6e6d6c <Address 0x737271706f6e6d6c out of bounds>, 
          0x7b7a797877767574 <Address 0x7b7a797877767574 out of bounds>, 
          0x838281807f7e7d7c <Address 0x838281807f7e7d7c out of bounds>, 0x13b4a20 "", 
          0x319d0 <Address 0x319d0 out of bounds>, 0x4bfb5d "H\201Ę", 0x7f4235034e40 ""}
        e = <value optimized out>
        x = 4
        duplicate = 0xe70c90 "core"
        tmp = "core restart when convenient\000start when conv conv\000\000\000\060\000\000\000XI>\026B\177\000\000"
        retval = <value optimized out>
        a = {fd = 49, argc = 4, argv = 0x7f42163e45d8, line = 0x0, word = 0x0, pos = 0, n = 0}
#8  0x00000000004646c0 in ast_cli_command_multiple_full (uid=<value optimized out>, gid=<value optimized out>, fd=49, 
    size=30, s=0x7f42163e4ba0 "core restart when convenient ") at cli.c:2322
        cmd = "core restart when convenient \000start when conv\" \"conv\"\000\000\000\240K>\026B\177\000\000\237M>\026B\177", '\000' <repeats 46 times>, "\004", '\000' <repeats 13 times>, ">\026", '\000' <repeats 12 times>, "Linux", '\000' <repeats 43 times>"\377, \377\377\377", '\000' <repeats 13 times>, "ipbxlpz\300\037\003\065B\177", '\000' <repeats 52 times>, "2.6.32-26-server", '\000' <repeats 22 times>, "oK>\026B\177\000\000\240K>\026B\177\000\000\240M>\026B\177", '\000' <repeats 18 times>...
        x = 30
        y = <value optimized out>
        count = 1
#9  0x000000000043541a in netconsole (vconsole=0x7afca0) at asterisk.c:1231
        hostname = "ipbxlpz", '\000' <repeats 56 times>
        tmp = "core restart when convenient \000\000tart when conv\" \"conv\"\000\000ger mute silent\000\000tt|\375\375\366\361\364\361\364\370\370\373\375\364\364|n[OJEFGINX_l\375\352\337\334\333\333\332\330\330\330\331\325\325\324\325\325\322\322\324\324\325\332\335\336\343\352\357\375xnigb^\\\\]\\^\\]^]b`ejnqv|}}}z|xtztz|t|||zx\377\364\363\363\345\351ziknlnx\375\364\361\361\361\361\361\370\363\356\240Q\354\000\000\000\000\000\030\032\321\000\000\000\000\000\030\320A", '\000' <repeats 21 times>, ":\"P", '\000' <repeats 14 times>"\271, T4B\177\000\000\000\000\000\000\000\000\000@", '\000' <repeats 40 times>"\310, M>\026"...
        res = <value optimized out>
        fds = {{fd = 49, events = 1, revents = 1}, {fd = 50, events = 1, revents = 0}}
        __PRETTY_FUNCTION__ = "netconsole"
#10 0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {15997440, -3649329657971583558, 0, 0, 0, 139921817753360, 
                3737660578627212730, -3649328967943563846}, __mask_was_saved = 0}}, __pad = {0x7f42163e4f50, 0x0, 
            0x7f4234de8782, 0xd9ba40}}
        not_first_call = <value optimized out>
        ret = 0x0
#11 0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#12 0x00007f4234d9c70d in clone () from /lib/libc.so.6
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 26 (Thread 1407):
#0  0x00007f4234d6039d in nanosleep () from /lib/libc.so.6
#1  0x00007f42269ac134 in scan_thread (unused=<value optimized out>) at pbx_spool.c:452
#2  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#3  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 25 (Thread 1413):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x0000000000434950 in monitor_sig_flags (unused=<value optimized out>) at asterisk.c:3022
#2  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#3  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 24 (Thread 1374):
#0  0x00007f4234551abc in pthread_kill () from /lib/libpthread.so.0
#1  0x000000000043a319 in console_verboser (
    s=0x7f42101204f0 "\177    -- Remove from-did-direct-ivr/*1114/4, registrar=pbx_config; con=<nil>((nil)); con->root=(nil)\n") at asterisk.c:1715
#2  0x00000000004a782f in logger_print_verbose (data=<value optimized out>) at logger.c:956
#3  logger_thread (data=<value optimized out>) at logger.c:990
#4  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#5  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#6  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 23 (Thread 1405):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x00007f4224f4def1 in do_monitor (data=<value optimized out>) at chan_dahdi.c:9561
#2  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#3  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 22 (Thread 1371):
#0  0x00007f4234d8e4bd in read () from /lib/libc.so.6
#1  0x000000000051c9f9 in read (el=0x9979d0, cp=0x7fffff2464bf "") at /usr/include/bits/unistd.h:45
#2  read_char (el=0x9979d0, cp=0x7fffff2464bf "") at read.c:298
#3  0x000000000051801e in el_getc (el=0x9979d0, cp=0x7fffff2464bf "") at read.c:350
#4  0x000000000051825e in read_getcmd (el=0x9979d0, nread=0x7fffff24667c) at read.c:243
#5  el_gets (el=0x9979d0, nread=0x7fffff24667c) at read.c:446
#6  0x0000000000437a67 in main (argc=<value optimized out>, argv=<value optimized out>) at asterisk.c:3706
#7  0x00007f4234cd4c4d in __libc_start_main () from /lib/libc.so.6
#8  0x000000000041e069 in ?? ()
#9  0x00007fffff2478e8 in ?? ()
#10 0x000000000000001c in ?? ()
#11 0x0000000000000008 in ?? ()
#12 0x00007fffff248e13 in ?? ()
#13 0x00007fffff248e26 in ?? ()
#14 0x00007fffff248e29 in ?? ()
#15 0x00007fffff248e2c in ?? ()
#16 0x00007fffff248e35 in ?? ()
#17 0x00007fffff248e38 in ?? ()
#18 0x00007fffff248e41 in ?? ()
#19 0x00007fffff248e47 in ?? ()
#20 0x0000000000000000 in ?? ()

Thread 21 (Thread 2641):
#0  0x00007f4234d8e51d in write () from /lib/libc.so.6
#1  0x000000000043531f in netconsole (vconsole=0x7afc60) at asterisk.c:1239
#2  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#3  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 20 (Thread 1410):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x00000000004a041e in ast_io_wait (ioc=0xd13490, howlong=1000) at io.c:275
#2  0x00007f421787d348 in network_thread (ignore=<value optimized out>) at pbx_dundi.c:2179
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 19 (Thread 1554):
#0  0x00007f423455085c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x000000000043ecb4 in ast_cond_wait (ign=<value optimized out>)
    at /usr/src/asterisk-1.6.2.7/include/asterisk/lock.h:1747
#2  autoservice_run (ign=<value optimized out>) at autoservice.c:96
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 18 (Thread 1432):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x000000000050de87 in ast_wait_for_input (fd=-516, ms=-1) at utils.c:1057
#2  0x00000000004b5f41 in get_input (s=0x7f4216ad8c30) at manager.c:3109
#3  do_message (s=0x7f4216ad8c30) at manager.c:3147
#4  0x00000000004b6428 in session_do (data=<value optimized out>) at manager.c:3210
#5  0x000000000050223a in handle_tcptls_connection (data=<value optimized out>) at tcptls.c:229
#6  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#7  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 17 (Thread 1401):
#0  0x00007f4234d9d2cd in accept () from /lib/libc.so.6
#1  0x00007f421e142b09 in accept_thread (ignore=<value optimized out>) at chan_skinny.c:6398
#2  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#3  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 16 (Thread 1411):
#0  0x00007f4234d6039d in nanosleep () from /lib/libc.so.6
#1  0x00007f4234d60210 in sleep () from /lib/libc.so.6
#2  0x00007f42178877cc in process_precache (ign=<value optimized out>) at pbx_dundi.c:2256
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 15 (Thread 1412):
#0  0x00007f4234d6039d in nanosleep () from /lib/libc.so.6
#1  0x00007f4234d60210 in sleep () from /lib/libc.so.6
#2  0x00007f421787b17b in process_clearcache (ignore=<value optimized out>) at pbx_dundi.c:2219
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 14 (Thread 1409):
#0  0x00007f4234d94ff3 in select () from /lib/libc.so.6
#1  0x00007f4230145a43 in ast_select (data=<value optimized out>)
    at /usr/src/asterisk-1.6.2.7/include/asterisk/channel.h:1729
#2  do_monitor (data=<value optimized out>) at chan_phone.c:1075
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 13 (Thread 1403):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x00000000004a041e in ast_io_wait (ioc=0x7f4210004390, howlong=1000) at io.c:275
#2  0x00007f421f392179 in do_monitor (data=<value optimized out>) at chan_unistim.c:4568
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 1402):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x00000000004a041e in ast_io_wait (ioc=0x1196230, howlong=1000) at io.c:275
#2  0x00007f421e140767 in do_monitor (data=<value optimized out>) at chan_skinny.c:6443
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 1404):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x00000000004a041e in ast_io_wait (ioc=0x7f42100b1040, howlong=240) at io.c:275
#2  0x00007f422996662f in do_monitor (data=<value optimized out>) at chan_sip.c:22483
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 1379):
#0  0x00007f4234d94ff3 in select () from /lib/libc.so.6
#1  0x0000000000488f6d in ast_select (ignore=<value optimized out>)
    at /usr/src/asterisk-1.6.2.7/include/asterisk/channel.h:1729
#2  do_parking_thread (ignore=<value optimized out>) at features.c:3217
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 1376):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x000000000050de87 in ast_wait_for_input (fd=-516, ms=5000) at utils.c:1057
#2  0x000000000050282c in ast_tcptls_server_root (data=0x7932a0) at tcptls.c:248
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 1382):
#0  0x00007f423455085c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005015cc in ast_cond_wait (data=<value optimized out>)
    at /usr/src/asterisk-1.6.2.7/include/asterisk/lock.h:1747
#2  tps_processing_function (data=<value optimized out>) at taskprocessor.c:293
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 1381):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x00000000004a041e in ast_io_wait (ioc=0xebb9f0, howlong=1000) at io.c:275
#2  0x00007f421a701d18 in do_monitor (data=<value optimized out>) at chan_mgcp.c:3462
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 1378):
#0  0x00007f423455085c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005015cc in ast_cond_wait (data=<value optimized out>)
    at /usr/src/asterisk-1.6.2.7/include/asterisk/lock.h:1747
#2  tps_processing_function (data=<value optimized out>) at taskprocessor.c:293
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 1373):
#0  0x00007f4234d8ff93 in poll () from /lib/libc.so.6
#1  0x0000000000435e6b in listener (unused=<value optimized out>) at asterisk.c:1268
#2  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#3  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 1375):
#0  0x00007f4234d8e4bd in read () from /lib/libc.so.6
#1  0x00000000004fc84c in read (data=<value optimized out>) at /usr/include/bits/unistd.h:45
#2  inotify_daemon (data=<value optimized out>) at stdtime/localtime.c:259
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 1372):
#0  0x00007f423455085c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000005015cc in ast_cond_wait (data=<value optimized out>)
    at /usr/src/asterisk-1.6.2.7/include/asterisk/lock.h:1747
#2  tps_processing_function (data=<value optimized out>) at taskprocessor.c:293
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 1377):
#0  0x00007f423455085c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000000004712b7 in ast_cond_wait (data=<value optimized out>)
    at /usr/src/asterisk-1.6.2.7/include/asterisk/lock.h:1747
#2  do_devstate_changes (data=<value optimized out>) at devicestate.c:541
#3  0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#4  0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4234d9c70d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 4687):
#0  ast_sched_thread_get_context (st=0x0) at sched.c:132
#1  0x00007f42259b87fe in iax2_destroy_helper (pvt=0x7f4210030698) at chan_iax2.c:1643
#2  0x00007f42259bdff0 in iax2_destroy (callno=1688) at chan_iax2.c:3230
#3  0x00007f42259be98e in __unload_module () at chan_iax2.c:13654
#4  0x00000000004a2f21 in ast_module_shutdown () at loader.c:470
#5  0x0000000000434575 in quit_handler (niceness=2, safeshutdown=1, restart=1, num=<value optimized out>) at asterisk.c:1597
#6  0x0000000000434f65 in handle_restart_when_convenient (e=<value optimized out>, cmd=<value optimized out>, 
    a=<value optimized out>) at asterisk.c:1916
#7  0x0000000000464481 in ast_cli_command_full (uid=<value optimized out>, gid=<value optimized out>, fd=49, 
    s=0x7f42163e4930 "core restart when convenient ") at cli.c:2299
#8  0x00000000004646c0 in ast_cli_command_multiple_full (uid=<value optimized out>, gid=<value optimized out>, fd=49, 
    size=30, s=0x7f42163e4ba0 "core restart when convenient ") at cli.c:2322
#9  0x000000000043541a in netconsole (vconsole=0x7afca0) at asterisk.c:1231
#10 0x000000000050d4ca in dummy_start (data=<value optimized out>) at utils.c:968
#11 0x00007f423454b9ca in start_thread () from /lib/libpthread.so.0
#12 0x00007f4234d9c70d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()


More information about the asterisk-users mailing list