[Asterisk-Users] Re: SoftFAX/spandsp

Steve Underwood steveu at coppice.org
Fri Mar 26 06:43:52 MST 2004


Hi Reynaldo,

The is the only report of seg faults I have had with recent versions of 
spandsp. There was an older version (spandsp-0.0.1b I think) which had a 
silly bug that caused seg faults.

Some people have had older versions of libtiff installed, which seem to 
cause seg faults. If you are use RH9 that should not be the case. It 
seems version libtiff 3.6.1 is buggy, and should not be used for fax 
work. It seems it fails with Hylafax as well as with spandsp.

Since the segmentation fault occurs as processing of the image data for 
the first page starts, something about libtiff still seems like a 
possibility.

Regards,
Steve


Reynaldo Simbulan wrote:

>Hi,
>
>I've been testing the soft fax but I am getting this segmentation fault
>whenever I receive a fax. Can somebody help me please?
>
>I've loaded asterisk from CVS and running Redhat 9.0 and downloaded the
>latest spandsp. I am sending a fax from Windows XP fax software thru a
>ringmaster then to X100P.
>
>WindowsXP --> modem ---> ringmaster (CO simulator) ---> X100P ---> *
>
>  == Spawn extension (prepaid, fax, 0) exited non-zero on 'Zap/1-1'
>    -- Executing RxFAX("Zap/1-1", "/root/test.tiff") in new stack
>Changed from phase 0 to 1
>Slow carrier up
>Slow carrier down
>Slow carrier up
>Slow carrier down
>Slow carrier up
>Slow carrier down
>Slow carrier up
>Slow carrier down
>Slow carrier up
>Slow carrier down
>Slow carrier up
>Slow carrier down
>Slow carrier up
>Slow carrier down
>Start receiving document
>Changed from phase 1 to 4
>Sending ident
>  
>
>>>>CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
>>>>        
>>>>
>DIS:
>Preferred octets: 256
>Can receive fax
>Supported data signalling rates: V.27ter and V.29
>R8x7.7lines/mm and/or 200x200pels/25.4mm OK
>2D coding OK
>Scan line length: 215mm
>Recording length: A4 (297mm)
>Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85
>R8x15.4lines/mm OK
>Minimum scan line time for higher resolutions: T15.4 = T7.7
>  
>
>>>>DIS: 80 00 ce f0 80 80 01
>>>>        
>>>>
>HDLC underflow in state 9
>Changed from phase 4 to 3
>Slow carrier up
><<< TSI: 43 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 61 46
>TSI without final frame tag
>Remote fax gave TSI as: "Fax                 "
><<< DCS: 83 00 c6 70
>DCS with final frame tag
>In state 9
>DCS:
>Can receive fax
>Selected data signalling rate: V.29, 9600bps
>R8x7.7lines/mm and/or 200x200pels/25.4mm OK
>2D coding OK
>Scan line length: 215mm
>Recording length: A4 (297mm)
>Minimum scan line time: 0ms
>Get at 9600
>Changed from phase 3 to 5
>Fast carrier up
>Coarse carrier frequency 1683.64 (18)
>Fast carrier down
>Trainability test failed - longest run of zeros test was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>Fast carrier up
>Coarse carrier frequency 1699.71 (64)
>Training error 9.552597
>Training succeeded (constellation mismatch 11.776280)
>Fast carrier trained
>Fast carrier down
>Changed from phase 5 to 4
>Start rx document - compression 2
>Start rx page
>Segmentation fault
>
>  
>



More information about the asterisk-users mailing list