Could you please submit this to the bugtracker at <a href="http://bugs.digium.com">http://bugs.digium.com</a><br><br>Thanks<br><br><div class="gmail_quote">On Thu, Mar 20, 2008 at 6:44 AM, Martin Vít <<a href="mailto:vit@lam.cz">vit@lam.cz</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've looked into the source and on the line 175 there is<br>
<br>
if ((ext = strrchr(mixmonitor->filename, '.')))<br>
<br>
This is cutted debug line from syslog right before crash<br>
<br>
Executing [s@macro-dial_ext_1:8] MixMonitor("mISDN/3-u0",<br>
"LINKA-IN-Andrea-222935972-121-20080320-094910-1206002938.0.wav|") in<br>
new stack<br>
<br>
And this is full debug before crash<br>
<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'MixMonitor'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [s@macro-dial_ext_1:8] MixMonitor("mISDN/7-u0",<br>
"LINKA-IN-Petra--122-20080320-094752-1206002858.0<br>
.wav|") in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: MixMonitor<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'Set'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [s@macro-dial_ext_1:9] Set("mISDN/7-u0",<br>
"CDR(mfile)=/var/spool/asterisk/monitor/LINKA-IN-Petra--<br>
122-20080320-094752-1206002858.0.wav") in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: Set<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'Goto'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [s@macro-dial_ext_1:10] Goto("mISDN/7-u0", "122|1") in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: -- Goto<br>
(macro-dial_ext_1,122,1)<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: goto<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'MYSQL'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [122@macro-dial_ext_1:1] MYSQL("mISDN/7-u0", "Connect connid<br>
localhost ast 932g8dsb ast") in new<br>
stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13530]: == Begin<br>
MixMonitor Recording mISDN/7-u0<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: MYSQL<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'MYSQL'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [122@macro-dial_ext_1:2] MYSQL("mISDN/7-u0", "Query resultid 1<br>
SELECT max_inbound,timeout,uncondT<br>
ype,IDvoicemail,IDfax,uncond_extension from extensions where ID=14") in<br>
new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: MYSQL<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'MYSQL'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [122@macro-dial_ext_1:3] MYSQL("mISDN/7-u0", "Fetch fetchid 2<br>
maxin mtimeout uncondType IDvoicema<br>
il IDfax uncond_extension") in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: MYSQL<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'MYSQL'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [122@macro-dial_ext_1:4] MYSQL("mISDN/7-u0", "Clear 2") in new<br>
stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: MYSQL<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'Goto'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [122@macro-dial_ext_1:5] Goto("mISDN/7-u0", "sss|1") in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: -- Goto<br>
(macro-dial_ext_1,sss,1)<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: Goto<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'Set'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [sss@macro-dial_ext_1:1] Set("mISDN/7-u0",<br>
"OUTBOUND_GROUP=ex14") in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: Set<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1756 in<br>
pbx_substitute_variables_helper_full: Expression result is '0'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'GotoIf'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [sss@macro-dial_ext_1:2] GotoIf("mISDN/7-u0", "0 ? 10 : 20")<br>
in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: -- Goto<br>
(macro-dial_ext_1,sss,20)<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: GotoIf<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'Goto'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [sss@macro-dial_ext_1:20] Goto("mISDN/7-u0", "122|6") in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: -- Goto<br>
(macro-dial_ext_1,122,6)<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: Goto<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1756 in<br>
pbx_substitute_variables_helper_full: Expression result is '1'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'GotoIf'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [122@macro-dial_ext_1:6] GotoIf("mISDN/7-u0", "1 ? 10 : 20")<br>
in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: -- Goto<br>
(macro-dial_ext_1,122,10)<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: GotoIf<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'MYSQL'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [122@macro-dial_ext_1:10] MYSQL("mISDN/7-u0", "Disconnect 1")<br>
in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: app_macro.c:337<br>
in _macro_exec: Executed application: MYSQL<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: db.c:198 in<br>
ast_db_get: Unable to find key '14' in family 'loggedchan'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: func_db.c:70 in<br>
function_db_read: DB: loggedchan/14 not found in database.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1756 in<br>
pbx_substitute_variables_helper_full: Expression result is '1'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: db.c:198 in<br>
ast_db_get: Unable to find key '14' in family 'loggedchan'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: func_db.c:70 in<br>
function_db_read: DB: loggedchan/14 not found in database.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1756 in<br>
pbx_substitute_variables_helper_full: Expression result is '0'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1756 in<br>
pbx_substitute_variables_helper_full: Expression result is '1'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: pbx.c:1839 in<br>
pbx_extension_helper: Launching 'Dial'<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: --<br>
Executing [122@macro-dial_ext_1:11] Dial("mISDN/7-u0",<br>
"SIP/a222|50|jtT") in new stack<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]:<br>
chan_sip.c:15966 in sip_request_call: Asked to create a SIP channel with<br>
formats: 0x8 (alaw)<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: chan_sip.c:2762<br>
in do_setnat: Setting NAT on RTP to On<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: chan_sip.c:2772<br>
in do_setnat: Setting NAT on UDPTL to On<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: rtp.c:1593 in<br>
ast_rtp_make_compatible: Channel 'mISDN/7-u0' has no RTP, not doing anything<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable<br>
FORWARD_CONTEXT.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable<br>
TRANSFER_CONTEXT.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable<br>
BACKUP_TRANSFER_CONTEXT.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable<br>
VA_TRANSFER_NAME.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable<br>
VA_TRANSFER_NUM.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable<br>
VA_TRANSFER_BACK.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable<br>
FORCE_TIMEOUT.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3323<br>
in ast_channel_inherit_variables: Copying soft-transferable variable<br>
SIPTRANSFER_REFERER.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3323<br>
in ast_channel_inherit_variables: Copying soft-transferable variable<br>
SIPTRANSFER.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable<br>
FROM_DIALLINKS.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3331<br>
in ast_channel_inherit_variables: Copying hard-transferable variable OCID.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: channel.c:3323<br>
in ast_channel_inherit_variables: Copying soft-transferable variable<br>
MISDN_PID.<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: chan_sip.c:3020<br>
in sip_call: Outgoing Call for a222<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: DEBUG[13509]: sched.c:284 in<br>
ast_sched_del: Attempted to delete nonexistent schedule entry -1!<br>
Mar 20 09:47:52 VTT-Hasco asterisk[13401]: VERBOSE[13509]: -- Called<br>
a222<br>
<br>
This is last line<br>
<div><div></div><div class="Wj3C7c"><br>
Martin Vít wrote:<br>
> Hello devs!<br>
><br>
> I'm testing the latest svn SVN-branch-1.4-r109838M. I'm using mISDN and<br>
> SIP and mixmonitor. It starts crashing.<br>
><br>
> bt<br>
><br>
> #0 0xb7e00743 in strrchr () from /lib/tls/libc.so.6<br>
> #1 0xb5881734 in mixmonitor_thread (obj=0x82d4318) at app_mixmonitor.c:175<br>
> #2 0x080fefe5 in dummy_start (data=0x2e2e) at utils.c:865<br>
> #3 0xb7f34b63 in start_thread () from /lib/tls/libpthread.so.0<br>
> #4 0xb7e6018a in clone () from /lib/tls/libc.so.6<br>
><br>
> bt full<br>
><br>
> #0 0xb7dba743 in strrchr () from /lib/tls/libc.so.6<br>
> (gdb) bt<br>
> #0 0xb7dba743 in strrchr () from /lib/tls/libc.so.6<br>
> #1 0xb583b734 in mixmonitor_thread (obj=0x8283bc8) at app_mixmonitor.c:175<br>
> #2 0x080fefe5 in dummy_start (data=0x2e2e) at utils.c:865<br>
> #3 0xb7eeeb63 in start_thread () from /lib/tls/libpthread.so.0<br>
> #4 0xb7e1a18a in clone () from /lib/tls/libc.so.6<br>
> (gdb) bt full<br>
> #0 0xb7dba743 in strrchr () from /lib/tls/libc.so.6<br>
> No symbol table info available.<br>
> #1 0xb583b734 in mixmonitor_thread (obj=0x8283bc8) at app_mixmonitor.c:175<br>
> fr = (struct ast_frame *) 0x8283bc8<br>
> fs = (struct ast_filestream *) 0x0<br>
> oflags = 0<br>
> ext = 0x0<br>
> errflag = 0<br>
> __PRETTY_FUNCTION__ = "mixmonitor_thread"<br>
> #2 0x080fefe5 in dummy_start (data=0x2e2e) at utils.c:865<br>
> _buffer = {__routine = 0x80681d0 <ast_unregister_thread>, __arg<br>
> = 0xb5448bb0, __canceltype = -1253798992, __prev = 0x0}<br>
> ret = (void *) 0x8239220<br>
> a = {start_routine = 0xb583b650 <mixmonitor_thread>, data =<br>
> 0x8283bc8,<br>
> name = 0x8239220 "mixmonitor_thread started at [ 286]<br>
> app_mixmonitor.c launch_monitor_thread()"}<br>
> #3 0xb7eeeb63 in start_thread () from /lib/tls/libpthread.so.0<br>
> No symbol table info available.<br>
> #4 0xb7e1a18a in clone () from /lib/tls/libc.so.6<br>
> No symbol table info available.<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
><br>
> asterisk-dev mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
><br>
><br>
<br>
<br>
</div></div><font color="#888888">--<br>
Martin Vít<br>
LAM plus s.r.o.<br>
<a href="http://www.lam.cz/" target="_blank">http://www.lam.cz/</a><br>
Tel.: 605 267 610<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br>