Hi,
I installed the default Trixbox from ISO and the most recent Asterfax RPM on sourceforge. Everything went well for the installation (Including SpanDSP .3) but when I attempt to fax throught the
NUMBER@fax.local facility or through placing a call in /var/spool/asterisk/outgoing it causes asterisk to dump core.
I believe the problem to be SpanDSP related as even when i fax through non-Asterfax via the TXFAX facility it dumps core. I was under the impression that the SpanDSP and patch included with asterfax was the most stable. Attached is my GDB output from a couple of the core dumps and my ld.so.conf. It seems like it is always dying on a free().
If based on the below it looks like it is spandsp related, what is the correct way to recompile SpanDSP with the patch to ensure stability? Does spandsp need to be compiled with the same version of asterisk I have installed? If so, where are the asterisk sources for that, since they were deleted from the RPM once it completed?
I am using libtiff 3.8.2
thanks for your help
GDB backtraces from core:
(gdb) bt
#0 0x0071e7a2 in ?? ()
#1 0x003647a5 in raise () from /lib/tls/libc.so.6
#2 0x00366209 in abort () from /lib/tls/libc.so.6
#3 0x0039871a in __libc_message () from /lib/tls/libc.so.6
#4 0x0039efbf in _int_free () from /lib/tls/libc.so.6
#5 0x0039f33a in free () from /lib/tls/libc.so.6
#6 0x030367e9 in t4_tx_end (s=0x465840) at t4.c:1915
#7 0x03037ff1 in disconnect (s=0xb7b64bb0) at t30.c:1478
#8 0x0302157d in fax_tx (s=0xb7b64bb0, amp=0xb7b649a0, max_len=160) at fax.c:207
#9 0x009428c7 in txfax_exec (chan=0x9d322d0, data=0x9da40f8) at app_txfax.c:280
#10 0x0807b46f in pbx_exec ()
#11 0x080fb8c0 in show_file ()
#12 0x09da3ff8 in ?? ()
#13 0x00942330 in ?? () at app_txfax.c:114 from /usr/lib/asterisk/modules/app_txfax.so
#14 0x09da40f8 in ?? ()
#15 0x09da3ff8 in ?? ()
#16 0x09d94d68 in ?? ()
#17 0x09d322d0 in ?? ()
#18 0x08083069 in ast_pbx_outgoing_cdr_failed ()
#19 0x09d94d68 in ?? ()
#20 0x09da40f8 in ?? ()
#21 0x00000001 in ?? ()
#22 0x003a1401 in malloc () from /lib/tls/libc.so.6
Backtrace #2
(gdb) bt
#0 0x009f97a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00a3e7a5 in raise () from /lib/tls/libc.so.6
#2 0x00a40209 in abort () from /lib/tls/libc.so.6
#3 0x00a7271a in __libc_message () from /lib/tls/libc.so.6
#4 0x00a78fbf in _int_free () from /lib/tls/libc.so.6
#5 0x00a7933a in free () from /lib/tls/libc.so.6
#6 0x007bf23d in _TIFFfree () from /usr/lib/libtiff.so.3
#7 0x007b529d in TIFFInitSGILog () from /usr/lib/libtiff.so.3
#8 0x007974de in TIFFCleanup () from /usr/lib/libtiff.so.3
#9 0x007976d0 in TIFFClose () from /usr/lib/libtiff.so.3
#10 0x0729f763 in t4_rx_end (s=0xb7bdfbb0) at t4.c:1163
#11 0x072a3fe9 in disconnect (s=0xb7bdfbb0) at t30.c:1477
#12 0x0728d57d in fax_tx (s=0xb7bdfbb0, amp=0xb7bdf9a0, max_len=160) at fax.c:207
#13 0x006218c7 in txfax_exec (chan=0x95aaac8, data=0x95ab460) at app_txfax.c:280
#14 0x0807b46f in pbx_exec ()
#15 0x080fb8c0 in show_file ()
#16 0x095ab360 in ?? ()
#17 0x00621330 in ?? () at app_txfax.c:114 from /usr/lib/asterisk/modules/app_txfax.so
#18 0x095ab460 in ?? ()
#19 0x095ab360 in ?? ()
#20 0x0959bd58 in ?? ()
#21 0x095aaac8 in ?? ()
#22 0x08083069 in ast_pbx_outgoing_cdr_failed ()
#23 0x0959bd58 in ?? ()
#24 0x095ab460 in ?? ()
#25 0x00000001 in ?? ()
#26 0x00a7b401 in malloc () from /lib/tls/libc.so.6
Backtrace 3
(gdb) bt
#0 0x0098e5a4 in TIFFCleanup () from /usr/lib/libtiff.so.3
#1 0x0098e6d0 in TIFFClose () from /usr/lib/libtiff.so.3
#2 0x02859763 in t4_rx_end (s=0xb79d9bb0) at t4.c:1163
#3 0x0285dfe9 in disconnect (s=0xb79d9bb0) at t30.c:1477
#4 0x0284757d in fax_tx (s=0xb79d9bb0, amp=0xb79d99a0, max_len=160) at fax.c:207
#5 0x007bd8c7 in txfax_exec (chan=0x9d6c928, data=0x9d6d230) at app_txfax.c:280
#6 0x0807b46f in pbx_exec ()
#7 0x080fb8c0 in show_file ()
#8 0x09d6d130 in ?? ()
#9 0x007bd330 in ?? () at app_txfax.c:114 from /usr/lib/asterisk/modules/app_txfax.so
#10 0x09d6d230 in ?? ()
#11 0x09d6d130 in ?? ()
#12 0x09d5e2a0 in ?? ()
#13 0x09d6c928 in ?? ()
#14 0x08083069 in ast_pbx_outgoing_cdr_failed ()
#15 0x09d5e2a0 in ?? ()
#16 0x09d6d230 in ?? ()
#17 0x00000001 in ?? ()
#18 0x00a7b401 in malloc () from /lib/tls/libc.so.6
Previous frame inner to this frame (corrupt stack?)
ld.so.conf
include ld.so.conf.d/*.conf
/usr/ofed/lib
/usr/local/lib
/usr/lib/