Summary: | ASTERISK-16253: chan_mobile (revision 421) crash Asterisk | ||
Reporter: | Andrei Moraru (matagou) | Labels: | |
Date Opened: | 2010-06-17 01:58:07 | Date Closed: | 2010-06-17 07:41:59 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Addons/chan_mobile |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The module is compiled according the instructions from http://www.geek-pages.com/articles/asterisk/howto_build_and_configure_chan_mobile_on_trixbox.html The Asterisk crashes with following message at shell /usr/sbin/safe_asterisk: line 125: 8035 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY} Asterisk ended with exit status 139 Asterisk exited on signal EXITSTATUS-128. Automatically restarting Asterisk. mpg123: no process killed the backtrace from the coredump file is below: (gdb) bt full #0 ast_frdup (f=0x3ed) at frame.c:482 out = <value optimized out> len = 2048 srclen = 0 buf = <value optimized out> __PRETTY_FUNCTION__ = "ast_frdup" #1 0x0807e5fa in __ast_queue_frame (chan=0xa0f76c0, fin=0x3ed, head=0, after=0x0) at channel.c:929 f = 0xa0f76c0 cur = 0x3ed blah = 1 new_frames = 0 new_voice_frames = 0 queued_frames = <value optimized out> queued_voice_frames = <value optimized out> __PRETTY_FUNCTION__ = "__ast_queue_frame" #2 0x08085931 in ast_queue_frame (chan=0xa0f76c0, dropaudio=0) at channel.c:1000 No locals. #3 __ast_read (chan=0xa0f76c0, dropaudio=0) at channel.c:2285 readq_tail = 0x0 f = 0x9de08c4 blah = -1228521952 count = <value optimized out> __PRETTY_FUNCTION__ = "__ast_read" #4 0x006cfd9b in wait_for_answer (chan=0xa0e0000, data=<value optimized out>, peerflags=0xb6c63e54, continue_exec=0x0) at app_dial.c:594 __PRETTY_FUNCTION__ = "wait_for_answer" ASTERISK-1 dial_exec_full (chan=0xa0e0000, data=<value optimized out>, peerflags=0xb6c63e54, continue_exec=0x0) at app_dial.c:1442 res = <value optimized out> u = 0xa0f8128 rest = 0x0 cur = <value optimized out> outgoing = 0xa0f9540 peer = 0x0 to = 295719 numbusy = 0 numcongestion = 0 numnochan = 0 cause = 0 numsubst = "Orange/069060481", '\000' <repeats 16 times>, ";\000\000\000\000\000\000\000d)\035\000\000\000\000\000\000\000\000\000\001\000\000\000\000p\367\267;\000\000\000\300$%\000\000\000\000\000\350;?\325)\027\000\377\377\377\377\000p\367\267;\000\000\000P\000\062\066;\000\000\000\000p\367\267\364\037%\000;\000\000\000\300$%\000\364;?\277,\027\000\064T\027\000\000\000\000\000\256\065\027\000\364\037%\000\000\000\000\000\000\000\000\000\335f\027\000L<?\235\062\017\n\313\062\017\n\320=?\364\037%\000L<?\235\062\017\n8=?\364\003\027\000L<?\005S\023\b\320=?\235\062\017\n\000\000\000\000\354<?.\000\000\000\001\200\255\373\235\062\017\n\235\062\017\n\235\062\017\n\235\062\017\n\237\062\017\n\313\062\017\n\235\062\017\n\313\062\017\n\000\000\000" cidname = '\000' <repeats 79 times> privdb_val = 0 calldurationlimit = -1 timelimit = 0 play_warning = 0 warning_freq = 0 warning_sound = 0x0 end_sound = 0x0 start_sound = 0x0 dtmfcalled = 0x0 dtmfcalling = 0x0 status = "NOANSWER\000GS", '\000' <repeats 244 times> play_to_caller = 0 play_to_callee = 0 sentringing = 1 moh = 0 outbound_group = 0xa0f3127 "OUT_3" result = <value optimized out> start_time = 1276757496 privintro = '\000' <repeats 480 times>"\223, U\027", '\000' <repeats 17 times>, "L(\024\b\000\000\000\000\307<?\364\037%\000K(\024\b\001\000\000\000\310:?q\302\024\000\354:?K(\024\b\001\000\000\000\000\000\000\000\374:?K(\024\b\001", '\000' <repeats 11 times>"\240, :?\000\000\000\000\000\000\000\000\064:?_\277\024\000\000\000\000\000\223U\027\000D:?_\277\024\000\000\000\000\000\000\000\000\000L(\024\b\000\000\000\000\067=?\364\037%\000K(\024\b\001\000\000\000\070;?q\302\024\000\\;?K(\024\b\001", '\000' <repeats 23 times>"\377, \377\377\377\020;?6(\024\b\006\000\000\000\244:?_\277\024\000\000\000\000\000\000\000\000\000\n\000\000\000\062:?", '\000' <repeats 24 times>... privcid = "\000\000\000\000\000\000\000\000 ", '\000' <repeats 18 times>, "d", '\000' <repeats 116 times>, "Jun 17 09:51:36\000Jun 17 09:51:36\000K\344\022\b\000\000\000\000\000\000\000\000\000\000\064\060", '\000' <repeats 14 times>, "40", '\000' <repeats 20 times>"\200, \225\017\n", '\000' <repeats 23 times> opermode = 0 delprivintro = 0 args = {argc = 3, argv = 0xb6c63dcc, peers = 0xb6c62d00 "Mobile", timeout = 0xb6c62d18 "300", options = 0xb6c62d1c "tTwW", url = 0x0} opts = {flags = 7864320} opt_args = {0xc0363c "ZY[\303WVSU\211??\354\b\211\343\061?N", 0x0, 0x0, 0x0, 0xbffd32 "\351y\377\377\377\220\220\220\220\220\220\220\220\220U\211\345\213E\b", <incomplete sequence \307>, 0xa0f71f4 "", 0xb6c63e58 "\210\201?[\317\f\b", 0x80b339f "\201?", 0x8150ea8 "", 0x17 <Address 0x17 out of bounds>} datastore = 0xa0f8208 fulldial = 0 num_dialed = 1 __PRETTY_FUNCTION__ = "dial_exec_full" ASTERISK-2 0x006d2a92 in dial_exec (chan=0xa0e0000, data=0xb6c65ec8) at app_dial.c:1921 peerflags = {flags = 0} ASTERISK-3 0x080ccf5b in pbx_exec (c=0xa0e0000, con=0x0, context=0xa0e0180 "macro-dialout-trunk", exten=0xa0e01d0 "s", priority=26, label=0x0, callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:536 No locals. ASTERISK-4 pbx_extension_helper (c=0xa0e0000, con=0x0, context=0xa0e0180 "macro-dialout-trunk", exten=0xa0e01d0 "s", priority=26, label=0x0, callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:1879 e = 0x9e3b400 app = 0x9e9b5d0 res = <value optimized out> q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xa0e0180 "macro-dialout-trunk"} passdata = "Mobile/Orange/069060481|300|tTwW", '\000' <repeats 8159 times> matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" ASTERISK-5 0x007a82d9 in _macro_exec (chan=0xa0e0000, data=0xb6c6af28, exclusive=0) at app_macro.c:352 c = <value optimized out> e = 0x9e3b400 s = <value optimized out> cur = <value optimized out> rest = 0x0 macro = <value optimized out> fullmacro = "macro-dialout-trunk\000call,all", '\000' <repeats 51 times> varname = "ARG4\000\037%\000@1%\000l\243\023\bG\352\277\000\000\000\000\000<6\300", '\000' <repeats 13 times>, "2\375\277\000\364q\017\n\270\216?\237\063\v\b\250\016\025\b\027\000\000\000\240%\025\b\005S\023\bl\243\023\b??" runningapp = "Dial\000f\000\000\232\062\017\n2\000\000\000\005S\023\b0\216?\247\000\000\000\001\000\000\000\060*\000\000\000\000\000\000\364\215?\370\305\031L\035\000\000\000\060\216?\270\200\017\n\240%\025\b\030\216?;\033\020\b\244\216?\000\000\000" runningdata = "${pre_num:4}${the_num}${post_num}|300|${DIAL_TRUNK_OPTIONS}\000t|DIAL_TRUNK_OPTIONS=M(setmusic^${MOHCLASS})${DIAL_TRUNK_OPTIONS}", '\000' <repeats 11 times>"\377, \377\377\377?\023\bu\243\023\b\006", '\000' <repeats 19 times>, "\n\000\000\000\063\214?", '\000' <repeats 40 times>, " ", '\000' <repeats 18 times>, "s\f", '\000' <repeats 23 times>, " ", '\000' <repeats 18 times>... oldargs = {0x0 <repeats 81 times>} argc = 5 x = <value optimized out> res = 0 oldexten = "069060481", '\000' <repeats 246 times> oldpriority = 4 gosub_level = 0 pc = "4\000\000\000\225\244\006\b\300\306\366\267\360\225\017\n\370\000\000\000\343\215?p2%\000(\317?\000\000\000\000p1%\000@1%\000\340\000\000\000@1%\000\003", '\000' <repeats 19 times>"\351, \000\000\000p1%" depthc = "1\000\000\000\000\000\000\000\000\000\000" oldcontext = "from-internal", '\000' <repeats 66 times> inhangupc = <value optimized out> offset = <value optimized out> depth = 0 maxdepth = 7 setmacrocontext = 1 inhangup = 0 save_macro_exten = 0x0 save_macro_context = 0x0 save_macro_priority = 0x0 save_macro_offset = 0x0 u = 0xa0f5c00 macro_store = <value optimized out> __PRETTY_FUNCTION__ = "_macro_exec" ASTERISK-6 0x080ccf5b in pbx_exec (c=0xa0e0000, con=0x0, context=0xa0e0180 "macro-dialout-trunk", exten=0xa0e01d0 "s", priority=4, label=0x0, callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:536 No locals. ASTERISK-7 pbx_extension_helper (c=0xa0e0000, con=0x0, context=0xa0e0180 "macro-dialout-trunk", exten=0xa0e01d0 "s", priority=4, label=0x0, callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:1879 e = 0x9e37d58 app = 0xa0d94d0 res = <value optimized out> q = {incstack = {0x9e5092c "from-internal", 0x9e5040c "from-internal-xfer", 0x9e46c54 "from-internal-custom", 0x9e4702c "agentlogin", 0x9e474cc "conferences", 0x9e47684 "calendar-event", 0x9e4784c "weather-wakeup", 0x9dd98d4 "parkedcalls", 0x9e51f9c "ext-fax", 0x9e5103c "ext-local-confirm", 0x9e51204 "findmefollow-ringallv2", 0x9e44c1c "from-internal-additional", 0x9e0afac "app-fmf-toggle", 0x9e0ba6c "ext-findmefollow", 0x9e0dcc4 "app-callwaiting-cwoff", 0x9e0e034 "app-callwaiting-cwon", 0x9e0e36c "app-calltrace", 0x9e0ee2c "app-directory", 0x9e0f0b4 "app-echo-test", 0x9e0f3fc "app-speakextennum", 0x9e0f88c "app-speakingclock", 0x9e102bc "app-dialvm", 0x9e10f34 "app-vmmain", 0x9e16864 "app-pbdirectory", 0x9e17804 "ext-paging", 0x9e18044 "app-gabcast", 0x9e18704 "park-hints", 0x9e1955c "app-speeddial", 0x9e1a3fc "app-recordings", 0x9e1a71c "ext-queues", 0x9e2283c "app-blacklist", 0x9e2576c "app-dnd-off", 0x9e25eac "app-dnd-on", 0x9e2662c "app-dnd-toggle", 0x9e26fdc "ext-dnd-hints", 0x9e291ec "app-cf-busy-off", 0x9e2987c "app-cf-busy-off-any", 0x9e29d34 "app-cf-busy-on", 0x9e2a864 "app-cf-off", 0x9e2aeac "app-cf-off-any", 0x9e2b2ec "app-cf-on", 0x9e2be3c "app-cf-unavailable-off", 0x9e2c444 "app-cf-unavailable-on", 0x9e2cf94 "app-dictate-record", 0x9e2d43c "app-dictate-send", 0x9e2dbcc "app-userlogonoff", 0x9e2dec4 "app-pickup", 0x9e2e53c "app-zapbarge", 0x9e2e8ac "app-chanspy", 0x9e2eb64 "ext-test", 0x9e2f88c "ext-local", 0x9e0a654 "ext-local-custom", 0x9e0a76c "send-sms-Moldcell", 0x9e36884 "outbound-allroutes", 0x9e36d14 "outrt-001-World1", 0x9e36fcc "outrt-002-world-fax", 0x9e372fc "outrt-003-Moldcell", 0x0 <repeats 71 times>}, stacklen = 57, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x9e36c05 "outrt-004-Orange"} passdata = "dialout-trunk|3|069060481||", '\000' <repeats 8164 times> matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" ASTERISK-8 0x080cf521 in ast_spawn_extension (c=0xa0e0000) at pbx.c:2300 No locals. ASTERISK-9 __ast_pbx_run (c=0xa0e0000) at pbx.c:2394 dst_exten = '\000' <repeats 56 times>, "\f\000\000\000@1%", '\000' <repeats 21 times>, "\020", '\000' <repeats 11 times>"\346, \216\027", '\000' <repeats 25 times>"\210, \366\r\n", '\000' <repeats 28 times>"\202, k#\000\000\000\000\000\f\000\000\000\000\000\000\000\215r\027\000\364\037%\000@1%\000\000\000\000\000\070\323?\232\272\027\000\000\000\000\000\000\000\000\000G\352\277\000\000\000\000\000P\350\021\n\f\000\000\000\217\037\000\000\200\366\r\n\000\070\017\n\220\333?h\323?p\206\006\b\b\301\024\b\f\000\000\000\000\000\000" pos = -1228481648 digit = -1228483696 found = 1 res = 0 error = <value optimized out> emc = <value optimized out> __PRETTY_FUNCTION__ = "__ast_pbx_run" ASTERISK-10 0x080d067e in pbx_thread (data=0xa0e0000) at pbx.c:2621 No locals. ASTERISK-11 0x08100c9b in dummy_start (data=0xa0df680) at utils.c:856 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {168769536, 0, -1228481648, -1228483640, -295193238, 1353804446}, __mask_was_saved = 0}}, __pad = {0xb6c6d480, 0x0, 0x0, 0x0}} __cancel_arg = 0xb6c6db90 not_first_call = <value optimized out> ret = <value optimized out> ASTERISK-12 0x00bfc73b in start_thread () from /lib/libpthread.so.0 No symbol table info available. ASTERISK-13 0x001e1cfe in clone () from /lib/libc.so.6 No symbol table info available. | ||
Comments: | By: Andrei Moraru (matagou) 2010-06-17 02:07:20 Update! attached the coredump file and posted the further gdb output (gdb) thread apply all bt Thread 40 (Thread 8035): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c0391b in read () from /lib/libpthread.so.0 #2 0x0810b0f1 in read_char (el=0x9dc5d58, cp=0xbfd484ab "") at read.c:298 #3 0x08106155 in el_getc (el=0x9dc5d58, cp=0xbfd484ab "") at read.c:350 #4 0x08106568 in read_getcmd (el=0x9dc5d58, nread=0xbfd48a64) at read.c:243 ASTERISK-1 el_gets (el=0x9dc5d58, nread=0xbfd48a64) at read.c:446 ASTERISK-2 0x0806d8b8 in main (argc=8, argv=0xbfd48b14) at asterisk.c:3224 Thread 39 (Thread 8038): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x08068c3b in listener (unused=0x0) at asterisk.c:1010 #3 0x08100c9b in dummy_start (data=0x9dc7470) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 38 (Thread 8039): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x080b44ec in accept_thread (ignore=0x0) at manager.c:2513 #3 0x08100c9b in dummy_start (data=0x9dd1078) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 37 (Thread 8040): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0809579b in ast_cond_wait (data=0x0) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 do_devstate_changes (data=0x0) at devicestate.c:352 #4 0x08100c9b in dummy_start (data=0x9dd1160) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 36 (Thread 8041): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001da8c1 in select () from /lib/libc.so.6 #2 0x00277178 in do_parking_thread (ignore=0x0) at /usr/src/asterisk-1.4.32/include/asterisk/channel.h:1382 #3 0x08100c9b in dummy_start (data=0x9dd9ee0) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 35 (Thread 8042): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x00f093f2 in shaun_of_the_dead (data=0x0) at res_agi.c:2281 #3 0x08100c9b in dummy_start (data=0x9dd4708) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 34 (Thread 8043): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001a1996 in nanosleep () from /lib/libc.so.6 #2 0x001a17bf in sleep () from /lib/libc.so.6 #3 0x00795218 in do_discovery (data=0x0) at chan_mobile.c:1633 #4 0x08100c9b in dummy_start (data=0x9ddb130) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 33 (Thread 8044): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c04116 in nanosleep () from /lib/libpthread.so.0 #2 0x00331c0c in scan_thread (unused=0x0) at pbx_spool.c:462 #3 0x08100c9b in dummy_start (data=0x9de5c40) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 32 (Thread 8045): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001da8c1 in select () from /lib/libc.so.6 #2 0x004228fd in ast_select (data=0x0) at /usr/src/asterisk-1.4.32/include/asterisk/channel.h:1382 #3 do_monitor (data=0x0) at chan_phone.c:1061 #4 0x08100c9b in dummy_start (data=0x9df13b0) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 31 (Thread 8047): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x080ac294 in ast_io_wait (ioc=0x9e02758, howlong=1000) at io.c:266 #3 0x004bb582 in do_monitor (data=0x0) at chan_skinny.c:4639 #4 0x08100c9b in dummy_start (data=0x9e01a90) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 30 (Thread 8049): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x00d05e91 in do_monitor (data=0x0) at chan_dahdi.c:7376 #3 0x08100c9b in dummy_start (data=0x9e80730) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 29 (Thread 8050): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x080ac294 in ast_io_wait (ioc=0x9dd32b8, howlong=1000) at io.c:266 #3 0x006aa91d in network_thread (ignore=0x0) at pbx_dundi.c:2162 #4 0x08100c9b in dummy_start (data=0x9e97960) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 28 (Thread 8051): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001a1996 in nanosleep () from /lib/libc.so.6 #2 0x001a17bf in sleep () from /lib/libc.so.6 #3 0x006b7144 in process_precache (ign=0x0) at pbx_dundi.c:2240 #4 0x08100c9b in dummy_start (data=0x9e8b698) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 27 (Thread 8052): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001a1996 in nanosleep () from /lib/libc.so.6 #2 0x001a17bf in sleep () from /lib/libc.so.6 #3 0x006a7d63 in process_clearcache (ignore=0x0) at pbx_dundi.c:2203 #4 0x08100c9b in dummy_start (data=0x9dd32d8) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 26 (Thread 8053): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x080ac294 in ast_io_wait (ioc=0x9e9a1a0, howlong=1000) at io.c:266 #3 0x005d51cb in do_monitor (data=0x0) at chan_mgcp.c:3517 #4 0x08100c9b in dummy_start (data=0x9e9b6a0) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 25 (Thread 8054): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0ab330) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0ab330) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0ab2e0) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 24 (Thread 8055): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0ac438) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0ac438) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0a9f58) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 23 (Thread 8056): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0ad540) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0ad540) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0a9d30) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 22 (Thread 8057): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0ae648) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0ae648) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0a9d40) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 21 (Thread 8058): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0af750) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0af750) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0aac60) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 20 (Thread 8059): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0b0858) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0b0858) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0aabb0) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 19 (Thread 8060): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0b1960) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0b1960) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0aa050) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 18 (Thread 8061): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0b2a68) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0b2a68) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0aa150) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 17 (Thread 8062): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0b3b70) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0b3b70) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0aa410) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 16 (Thread 8063): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0895179d in ast_cond_wait (data=0xa0b4c78) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 iax2_process_thread (data=0xa0b4c78) at chan_iax2.c:10026 #4 0x08100c9b in dummy_start (data=0xa0aa050) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 15 (Thread 8064): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c00d12 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x08929f2d in ast_cond_timedwait (ignore=0x0) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:796 #3 sched_thread (ignore=0x0) at chan_iax2.c:10489 #4 0x08100c9b in dummy_start (data=0xa0aa910) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 14 (Thread 8065): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x080ac294 in ast_io_wait (ioc=0xa0a8588, howlong=-1) at io.c:266 #3 0x08933f15 in network_thread (ignore=0x0) at chan_iax2.c:10563 #4 0x08100c9b in dummy_start (data=0xa0aaa20) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 13 (Thread 8068): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001a1996 in nanosleep () from /lib/libc.so.6 #2 0x001a17bf in sleep () from /lib/libc.so.6 #3 0x007c5fcb in woomera_locate_socket (obj=0x7cb3a0) at chan_woomera.c:2889 #4 woomera_thread_run (obj=0x7cb3a0) at chan_woomera.c:2971 ASTERISK-1 0x08100c9b in dummy_start (data=0xa0dc558) at utils.c:856 ASTERISK-2 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-3 0x001e1cfe in clone () from /lib/libc.so.6 Thread 12 (Thread 8069): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c009e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x007d7d33 in ast_cond_wait (data=0x0) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:791 #3 device_state_thread (data=0x0) at app_queue.c:739 #4 0x08100c9b in dummy_start (data=0xa0dd0d0) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 11 (Thread 8070): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x080ac294 in ast_io_wait (ioc=0xa0e4038, howlong=1000) at io.c:266 #3 0x021c9e48 in do_monitor (data=0x0) at chan_sip.c:17046 #4 0x08100c9b in dummy_start (data=0xa0e0468) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 10 (Thread 8071): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x08066bee in monitor_sig_flags (unused=0x0) at asterisk.c:2679 #3 0x08100c9b in dummy_start (data=0xa0dfb30) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 9 (Thread 8072): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x080bd871 in get_input (s=0xb6dd5354) at manager.c:2368 #3 do_message (s=0xb6dd5354) at manager.c:2405 #4 0x080bda37 in session_do (data=0xa0f71f0) at manager.c:2431 ASTERISK-1 0x08100c9b in dummy_start (data=0xa0ddc60) at utils.c:856 ASTERISK-2 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-3 0x001e1cfe in clone () from /lib/libc.so.6 Thread 8 (Thread 8074): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d8023 in poll () from /lib/libc.so.6 #2 0x08069102 in netconsole (vconsole=0x815cd00) at asterisk.c:959 #3 0x08100c9b in dummy_start (data=0xa0f96d8) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 7 (Thread 8075): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001da8c1 in select () from /lib/libc.so.6 #2 0x00792ae9 in rfcomm_read (pvt=0x9de00e8, buf=0xb6d5d220 "OK", flush=0 '\000', timeout=1) at chan_mobile.c:926 #3 0x007935f9 in do_monitor_phone (data=0x9de00e8) at chan_mobile.c:1158 #4 0x08100c9b in dummy_start (data=0x9dd0e88) at utils.c:856 ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 6 (Thread 8076): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c03b38 in accept () from /lib/libpthread.so.0 #2 0x0079548b in do_sco_listen (data=0x9ddce70) at chan_mobile.c:1688 #3 0x08100c9b in dummy_start (data=0xa0f8b60) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 5 (Thread 8077): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001da8c1 in select () from /lib/libc.so.6 #2 0x00792ae9 in rfcomm_read (pvt=0x9de08c0, buf=0xb6ce5220 "+CIEV: 10,3", flush=0 '\000', timeout=1) at chan_mobile.c:926 #3 0x007935f9 in do_monitor_phone (data=0x9de08c0) at chan_mobile.c:1158 #4 0x08100c9b in dummy_start (data=0xa0f8b48) at utils.c:856 Thread 6 (Thread 8076): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c03b38 in accept () from /lib/libpthread.so.0 #2 0x0079548b in do_sco_listen (data=0x9ddce70) at chan_mobile.c:1688 #3 0x08100c9b in dummy_start (data=0xa0f8b60) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 5 (Thread 8077): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001da8c1 in select () from /lib/libc.so.6 #2 0x00792ae9 in rfcomm_read (pvt=0x9de08c0, buf=0xb6ce5220 "+CIEV: 10,3", flush=0 '\000', timeout=1) at chan_mobile.c:926 #3 0x007935f9 in do_monitor_phone (data=0x9de08c0) at chan_mobile.c:1158 #4 0x08100c9b in dummy_start (data=0xa0f8b48) at utils.c:856 ---Type <return> to continue, or q <return> to quit--- ASTERISK-1 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-2 0x001e1cfe in clone () from /lib/libc.so.6 Thread 4 (Thread 8078): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c03b38 in accept () from /lib/libpthread.so.0 #2 0x0079548b in do_sco_listen (data=0x9ddceb0) at chan_mobile.c:1688 #3 0x08100c9b in dummy_start (data=0xa0f41e0) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 3 (Thread 8081): #0 0x00bb1402 in __kernel_vsyscall () #1 0x00c00d12 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0806f619 in ast_cond_timedwait (audiohook=0xa11e858) at /usr/src/asterisk-1.4.32/include/asterisk/lock.h:796 #3 ast_audiohook_trigger_wait (audiohook=0xa11e858) at audiohook.c:759 #4 0x00a929d1 in mixmonitor_thread (obj=0xa11e858) at app_mixmonitor.c:260 ASTERISK-1 0x08100c9b in dummy_start (data=0xa0f33a0) at utils.c:856 ASTERISK-2 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-3 0x001e1cfe in clone () from /lib/libc.so.6 Thread 2 (Thread 8082): #0 0x00bb1402 in __kernel_vsyscall () #1 0x001d9f19 in ioctl () from /lib/libc.so.6 #2 0x00d133fe in ss_thread (data=0xa0f68e0) at chan_dahdi.c:6873 #3 0x08100c9b in dummy_start (data=0xa0f8d70) at utils.c:856 #4 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-1 0x001e1cfe in clone () from /lib/libc.so.6 Thread 1 (Thread 8079): #0 ast_frdup (f=0x3ed) at frame.c:482 #1 0x0807e5fa in __ast_queue_frame (chan=0xa0f76c0, fin=0x3ed, head=0, after=0x0) at channel.c:929 #2 0x08085931 in ast_queue_frame (chan=0xa0f76c0, dropaudio=0) at channel.c:1000 #3 __ast_read (chan=0xa0f76c0, dropaudio=0) at channel.c:2285 #4 0x006cfd9b in wait_for_answer (chan=0xa0e0000, data=<value optimized out>, peerflags=0xb6c63e54, continue_exec=0x0) at app_dial.c:594 ASTERISK-1 dial_exec_full (chan=0xa0e0000, data=<value optimized out>, peerflags=0xb6c63e54, continue_exec=0x0) at app_dial.c:1442 ASTERISK-2 0x006d2a92 in dial_exec (chan=0xa0e0000, data=0xb6c65ec8) at app_dial.c:1921 ASTERISK-3 0x080ccf5b in pbx_exec (c=0xa0e0000, con=0x0, context=0xa0e0180 "macro-dialout-trunk", exten=0xa0e01d0 "s", priority=26, label=0x0, callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:536 ASTERISK-4 pbx_extension_helper (c=0xa0e0000, con=0x0, context=0xa0e0180 "macro-dialout-trunk", exten=0xa0e01d0 "s", priority=26, label=0x0, callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:1879 ASTERISK-5 0x007a82d9 in _macro_exec (chan=0xa0e0000, data=0xb6c6af28, exclusive=0) at app_macro.c:352 ASTERISK-6 0x080ccf5b in pbx_exec (c=0xa0e0000, con=0x0, context=0xa0e0180 "macro-dialout-trunk", exten=0xa0e01d0 "s", priority=4, label=0x0, callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:536 ASTERISK-7 pbx_extension_helper (c=0xa0e0000, con=0x0, context=0xa0e0180 "macro-dialout-trunk", exten=0xa0e01d0 "s", priority=4, label=0x0, callerid=0x9edba78 "101", action=E_SPAWN) at pbx.c:1879 ASTERISK-8 0x080cf521 in ast_spawn_extension (c=0xa0e0000) at pbx.c:2300 ASTERISK-9 __ast_pbx_run (c=0xa0e0000) at pbx.c:2394 ASTERISK-10 0x080d067e in pbx_thread (data=0xa0e0000) at pbx.c:2621 ASTERISK-11 0x08100c9b in dummy_start (data=0xa0df680) at utils.c:856 ASTERISK-12 0x00bfc73b in start_thread () from /lib/libpthread.so.0 ASTERISK-13 0x001e1cfe in clone () from /lib/libc.so.6 By: Andrei Moraru (matagou) 2010-06-17 02:52:45 Update! 1. recompiled the Asterisk 1.4.32 with option DONT_OPTIMIZE in the make menuselect. 2. recompiled the chan_mobile revision 421 with new compile options of the Asterisk sources. 3. the issue disappeared. 4. the idea of recompiling with DONT_OPTIMIZE came from reading doc/backtrace.txt please leave the issue opened for few days, i will give a feedback to be sure that that solved the issue. Regards. By: Matthew Nicholson (mnicholson) 2010-06-17 07:41:39 Using chan_mobile with 1.4 is not supported. |