Summary: | ASTERISK-15875: On receiving Fax with ReceiveFax Asterisk core dumps | ||
Reporter: | rtausend (rtausend) | Labels: | |
Date Opened: | 2010-03-25 09:09:41 | Date Closed: | 2011-06-07 14:05:06 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_fax |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I have Asterisk 1.6.2.6 running with Digium res_fax and res_fax_digium On restarting Asterisk i see the following message in Asterisk Message Log: [Mar 25 15:01:43] WARNING[7822] loader.c: Error loading module 'res_fax_digium.so': /usr/lib/asterisk/modules/res_fax_digium.so: undefined symbol: ast_fax_state_to_str In Asterisk i see that the module is loaded, but when ever i try to send or receive a fax asterisk coredumps ... I tried to enable debug on "fax" but i get no output at all... here is the gdb bt full trace ... maybe it helps? #0 0xb7fa6424 in __kernel_vsyscall () (gdb) bt full #0 0xb7fa6424 in __kernel_vsyscall () No symbol table info available. #1 0xb7cce640 in raise () from /lib/i686/cmov/libc.so.6 No symbol table info available. #2 0xb7cd0018 in abort () from /lib/i686/cmov/libc.so.6 No symbol table info available. #3 0xb7cc75be in __assert_fail () from /lib/i686/cmov/libc.so.6 No symbol table info available. #4 0xb7b54f54 in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. ASTERISK-1 0xb7d919c6 in pthread_mutex_lock () from /lib/i686/cmov/libc.so.6 No symbol table info available. ASTERISK-2 0xb6ffe8bf in ?? () No symbol table info available. ASTERISK-3 0xb3b36070 in ?? () No symbol table info available. ASTERISK-4 0xb3b377e0 in ?? () No symbol table info available. ASTERISK-5 0xb3c39c68 in ?? () No symbol table info available. ASTERISK-6 0x080a70a1 in ast_answer (chan=0xb3b35fd8) at channel.c:1953 No locals. ASTERISK-7 0xb7001481 in ?? () No symbol table info available. ASTERISK-8 0xb3b35fd8 in ?? () No symbol table info available. ASTERISK-9 0xb700251f in ?? () No symbol table info available. ASTERISK-10 0xb70044d8 in ?? () No symbol table info available. ASTERISK-11 0xb3c39e48 in ?? () No symbol table info available. ASTERISK-12 0x00000002 in ?? () No symbol table info available. ASTERISK-13 0x081a0125 in ?? () No symbol table info available. ASTERISK-14 0xb3c39e0c in ?? () No symbol table info available. ASTERISK-15 0xb3b38834 in ?? () No symbol table info available. ASTERISK-16 0x00000000 in ?? () No symbol table info available. (gdb) Thanks for any Help | ||
Comments: | By: Leif Madsen (lmadsen) 2010-03-25 10:07:25 Does this happen every time, or only once? By: Leif Madsen (lmadsen) 2010-03-25 10:25:57 I spoke to twilson, and he says, "looks like he either doesn't have res_fax loaded before res_fax_digium, or that he is loading them manually and that weird thing that happens with SFA also happens with res_fax, where it can't find the symbols it needs when manually loaded." By: rtausend (rtausend) 2010-03-25 10:34:54 i didn't load it manualy, only the load on startup. And after that when i receive a fax, asterisk crashes ... And it crashes everytime i receive a fax... By: rtausend (rtausend) 2010-03-25 11:51:30 Here are some more output: -- Executing [379641@sip-isdn-in:3] Answer("SIP/10000-00000000", "") in new stack -- Executing [379641@sip-isdn-in:4] Set("SIP/10000-00000000", "__FAXFILE=/var/spool/asterisk/fax/379641/081053998811-1269535845.0") in new stack -- Executing [379641@sip-isdn-in:5] Wait("SIP/10000-00000000", "3") in new stack *CLI> *CLI> -- Executing [379641@sip-isdn-in:6] ReceiveFAX("SIP/10000-00000000", ""/var/spool/asterisk/fax/379641/081053998811-1269535845.0.tif"") in new stack asterisk: pthread_mutex_lock.c:87: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed. [xfermem.c:229] error: failed to wait for free space [mpg123.c:557] error: Deep trouble! Cannot flush to my output anymore! Could not resync/reset buffers: No such process [xfermem.c:229] error: failed to wait for free space [mpg123.c:557] error: Deep trouble! Cannot flush to my output anymore! Could not resync/reset buffers: No such process [xfermem.c:229] error: failed to wait for free space [mpg123.c:557] error: Deep trouble! Cannot flush to my output anymore! Could not resync/reset buffers: No such process [xfermem.c:229] error: failed to wait for free space [mpg123.c:557] error: Deep trouble! Cannot flush to my output anymore! Could not resync/reset buffers: No such process Abgebrochen (core dumped) asterisk:/var/tmp/install/asterisk/addon/chan_sccp-b_trunk# By: Leif Madsen (lmadsen) 2010-03-31 10:17:51 You could try something like: preload => res_fax.so in modules.conf perhaps... maybe that would fix it? If not, then perhaps you need to open a ticket with Digium directly as that is a commercial module. By: Paul Belanger (pabelanger) 2010-04-28 16:15:09 Ping! Wanted to see if this still was an issue. Has the reported opened a ticket with Digium? By: Darik Horn (dajhorn) 2010-05-05 14:48:50 I got this bug on Ubuntu 10.04 Lucid Lynx and found this ticket. The fix suggested by lmadsen worked for me, but I needed an extra noload line like this: # /etc/asterisk/modules.conf [modules] autoload=yes noload => app_fax.so preload => res_fax.so This was being logged and causing asterisk to return and exit on 1. WARNING[5148] pbx.c: Already have an application 'SendFAX' WARNING[5148] pbx.c: Already have an application 'ReceiveFAX' |