[Asterisk-Users] rxfax crashing asterisk and YES I'm using an approved libtiff :-)

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Fri Jun 4 09:40:07 MST 2004


On Friday 04 June 2004 12:28, Andrew Kohlsmith wrote:
> And after enabling lzw in libtiff it doesn't crash anymore, although it
> doesn't work yet, either.  :-)

I just had my first "successful" fax reception...  The sending machine thinks 
I got it, but I sure don't think so based on the resultant TIFF.  

Steve, if you're listening, I have the audio files and the (illegible) TIFF at 
http://www.mixdown.ca/~andrew/dump/akohlsmith-badfax.tgz.

Regards,
Andrew

*CLI>
    -- Starting simple switch on 'Zap/19-1'
Jun  4 12:35:24 NOTICE[213006]: chan_zap.c:4773 ss_thread: Got event 2 
(Ring/Answered)...
    -- Executing Answer("Zap/19-1", "") in new stack
    -- Executing Wait("Zap/19-1", "5") in new stack
    -- Redirecting Zap/19-1 to fax extension
  == Spawn extension (fxo, fax, 0) exited non-zero on 'Zap/19-1'
    -- Executing RxFAX("Zap/19-1", "/tmp/faxfile.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
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
Slow carrier down
Slow carrier up
<<< DCS: 83 00 86 90 00
DCS with final frame tag
In state 9
DCS:
Can receive fax
Selected data signalling rate: V.29, 9600bps
2D coding OK
Scan line length: 215mm
Recording length: A4 (297mm)
Minimum scan line time: 5ms
Get at 9600
Changed from phase 3 to 5
Fast carrier up
Fast carrier down
Fast carrier up
Coarse carrier frequency 1699.90 (50)
Training error 51.007864
Training succeeded (constellation mismatch 38.125954)
Fast carrier trained
Fast carrier down
Trainability test failed - longest run of zeros was 24
>>> FTT: 44
Fast carrier up
Training failed (sequence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Coarse carrier frequency 1699.94 (48)
Training error 33.264708
Training succeeded (constellation mismatch 33.933442)
Fast carrier trained
Fast carrier down
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 1692.71 (86)
Fast carrier down
Fast carrier up
Coarse carrier frequency 1699.94 (46)
Training error 54.748431
Training succeeded (constellation mismatch 39.786860)
Fast carrier trained
Fast carrier down
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 1 (got 
1812, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 2 (got 
1768, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 3 (got 
2791, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 5 (got 
2255, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 6 (x 1288).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 6 (got 1288, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 7 (got 
2277, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 8 (x 22).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 8 (got 22, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 9 (got 1315, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 11 (got 
2503, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 12 (got 
3599, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 13 (got 
2337, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 14 (got 
2289, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 17 (x 
58).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 17 (got 58, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 18 (got 
2445, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 19 (x 674).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 19 (got 674, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 21 (got 
2654, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 22 (got 
3273, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 24 (x 
163).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 24 (got 163, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 25 (got 
2826, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 26 (got 
1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 28 (got 
2463, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 29 (got 
2472, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 30 (got 
1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 31 (got 
1973, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 32 (x 1166).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 32 (got 1166, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 33 (got 
2069, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 34 (got 
3031, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 35 (got 
1847, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 36 (x 1040).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 36 (got 1040, 
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 37 (x 510).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 37 (got 510, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 38 (got 
2033, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 40 (got 
1731, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 41 (got 
2518, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 43 (x 
212).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 43 (got 212, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 49 (got 
2796, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 51 (x 1594).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 51 (got 1594, 
expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 52 (x 374).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 52 (got 374, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 53 (got 
5169, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 54 (got 
1792, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 56 (got 
2566, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 57 (got 
1806, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 60 (got 
2774, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 61 (x 
71).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 61 (got 71, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 63 (got 
1924, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 64 (x 1288).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 64 (got 1288, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 66 (got 
2240, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 68 (got 
2047, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 69 (got 
1958, expected 1728).
Fax3Decode2D: (FakeInput): Bad code word at scanline 70 (x 140).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 70 (got 140, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 72 (got 
1729, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 73 (got 
3354, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 74 (got 
2006, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 75 (x 
71).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 75 (got 71, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 76 (got 
1768, expected 1728).
Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 77 (x 
65).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 77 (got 65, 
expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 80 (got 
2056, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 81 (got 
1797, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 82 (got 
2013, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 83 (got 
2109, expected 1728).
Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 84 (got 0, 
expected 1728).
Page 1 of /tmp/faxfile.tiff:
85 rows received
0 total bad rows
0 max consecutive bad rows
Changed from phase 5 to 3
Slow carrier up
<<< EOP: 2f
EOP with final frame tag
In state 5
Changed from phase 3 to 4
>>> MCF: 8c
HDLC underflow in state 8
Changed from phase 4 to 3
Slow carrier up
Slow carrier down
Slow carrier up
<<< EOP: 2f
EOP with final frame tag
In state 8
Unexpected EOP received in state 8
Slow carrier down
T4 timeout in state 8
Changed from phase 3 to 4
>>> MCF: 8c
HDLC underflow in state 8
Changed from phase 4 to 3
Slow carrier up
Slow carrier down
Slow carrier up
<<< DCN: fb
DCN with final frame tag
In state 8
Disconnecting
Changed from phase 3 to 7
Changed from phase 7 to 8
    -- Executing Hangup("Zap/19-1", "") in new stack
  == Spawn extension (fxo, fax, 2) exited non-zero on 'Zap/19-1'
    -- Executing Hangup("Zap/19-1", "") in new stack
  == Spawn extension (fxo, h, 1) exited non-zero on 'Zap/19-1'
    -- Hungup 'Zap/19-1'
*CLI>



More information about the asterisk-users mailing list