[Asterisk-Users] fax/sandsp segfaulting asterisk

Dan Cunningham Dan_cunningham at ECOVATE.COM
Tue May 25 07:37:34 MST 2004


I downgraded to 3.5.7 and that seemed to work, for others with this issue I
just manually downloaded these packages from debian/testing and downgraded
with dpkg -i libtiff*.pkg , this worked with no dependency problems.

Dan


-----Original Message-----
From: Dan Cunningham 
Sent: Tuesday, May 25, 2004 7:21 AM
To: Dan Cunningham
Subject: RE: [Asterisk-Users] fax/sandsp segfaulting asterisk


Sorry I  had assumed my libtiff would be fine (deb/unstable) but after
reading the list more carefully 3.6.1 seems to be broken, is 3.5.7 OK
(deb/testing)?   

-----Original Message-----
From: Dan Cunningham
To: 'asterisk-users at lists.digium.com'
Sent: 5/25/2004 7:13 AM
Subject: [Asterisk-Users] fax/sandsp segfaulting asterisk

Like some others on the list spandsp is segfaulting asterisk when
recieving
a fax.   I'm on debian testing/unstable with freshly checked out
asterisk
CVS and sandsp. My libtiff version is 3.6.1. 

Here is the GDB output 

---  snip -----

Changed from phase 5 to 4
Start rx document - compression 2
Start rx page
>>> CFR: 84
HDLC underflow in state 5
Post trainability
Changed from phase 4 to 5
Fast carrier up
Coarse carrier frequency 1699.92 (66)
Training error 3.062042
Training succeeded (constellation mismatch 5.067601)
Fast carrier trained

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 311316 (LWP 23766)]
0x41a0d31e in t4_rx_putbit () from /usr/local/lib/libspandsp.so.0
(gdb) bt
#0  0x41a0d31e in t4_rx_putbit () from /usr/local/lib/libspandsp.so.0
#1  0x41a0e56b in fast_putbit () from /usr/local/lib/libspandsp.so.0
#2  0x41a192cf in decode_baud () from /usr/local/lib/libspandsp.so.0
#3  0x41a1975a in process_baud () from /usr/local/lib/libspandsp.so.0
#4  0x41a1a128 in v29_rx () from /usr/local/lib/libspandsp.so.0
#5  0x41a136ed in fax_rx_process () from /usr/local/lib/libspandsp.so.0
#6  0x419fb75e in rxfax_exec (chan=0x814ad38, data=0xbd3fc5a4) at
app_rxfax.c:223
#7  0x0807175f in pbx_exec (c=0x814ad38, app=0x814a820, data=0xbd3fe7b4,
newstack=1) at pbx.c:424
#8  0x0807929b in pbx_extension_helper (c=0x814ad38, context=0x814ae90
"macro-faxreceive", exten=0x814af84 "s", priority=3, 
    callerid=0x0, action=-1119885548) at pbx.c:1207
#9  0x08078016 in ast_spawn_extension (c=0x80fde20, context=0x80fde20
"dà\017\b", exten=0x80fde20 "dà\017\b", 
    priority=135257632, callerid=0x80fde20 "dà\017\b") at pbx.c:1691
#10 0x4180f484 in macro_exec (chan=0x814ad38, data=0x814a820) at
app_macro.c:141
#11 0x0807175f in pbx_exec (c=0x814ad38, app=0x8138330, data=0xbd3ff204,
newstack=1) at pbx.c:424
#12 0x0807929b in pbx_extension_helper (c=0x814ad38, context=0x814ae90
"macro-faxreceive", exten=0x814af84 "s", priority=1, 
    callerid=0x0, action=-1119882908) at pbx.c:1207
#13 0x0807370a in ast_pbx_run (c=0xbd3ff164) at pbx.c:1691
#14 0x41722ee6 in ss_thread (data=0x814ad38) at chan_zap.c:4567
#15 0x40026e51 in pthread_start_thread () from /lib/libpthread.so.0
#16 0x40026ecf in pthread_start_thread_event () from
/lib/libpthread.so.0


I can't get it to run right in valgrind, my box is to slow (fax times
out)
and sometime valgrind just locks up.

Any ideas?
Thanks
Dan
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list