CRC errors on decompress
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
rohc | Status tracked in Rohc-main | |||||
Rohc-2.0.x |
Incomplete
|
Undecided
|
Didier Barvaux | |||
Rohc-main |
Incomplete
|
Undecided
|
Didier Barvaux |
Bug Description
Sometimes (~1-2 per 10k packets) I got ROHC_STATUS_BAD_CRC or ROHC_STATUS_
Traffic - just ICMP stream from ping
COMPRESSOR OUTPUT
ROHC_COMP crc=0x3DFCA3C1
[ 0000] 82 00 D7 08 00 8B C0 4B 40 18 94 18 29 95 56 00 .......K ......V.
[ 0016] 00 00 00 9B 18 01 00 00 00 00 00 10 11 12 13 14 ........ ........
[ 0032] 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 ........ ........
[ 0048] 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 ........ ...01234
[ 0064] 35 36 37
DECOMPRESSOR INPUT
[ 0.000] COM Can't decompress ROHC packet. status=2 CRC=0x3DFCA3C1
[ 0000] 82 00 D7 08 00 8B C0 4B 40 18 94 18 29 95 56 00 .......K ......V.
[ 0016] 00 00 00 9B 18 01 00 00 00 00 00 10 11 12 13 14 ........ ........
[ 0032] 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 ........ ........
[ 0048] 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 ........ ...01234
[ 0064] 35 36 37
[rohc_decomp.c:780 rohc_decompress3()] decompress the 66-byte packet #2133
[rohc_decomp.c:3645 rohc_decomp_
[rohc_decomp.c:1024 d_decode_header()] decompressor received 0 bytes of feedback for the same-side associated compressor
[rohc_decomp.c:3608 rohc_decomp_
[rohc_decomp.c:3762 rohc_decomp_
[rohc_decomp.c:1180 d_decode_header()] 6 bits required for SN in feedback (6 bits required for RTT, 16 max)
[rohc_decomp.c:1199 d_decode_header()] decode packet as 'UO-0'
[rohc_decomp.c:1370 rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp.c:1388 rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp.c:1509 rohc_decomp_
[rohc_decomp_
[rohc_decomp.c:1522 rohc_decomp_
[rohc_decomp.c:1251 d_decode_header()] failed to decompress packet (code = 4)
[rohc_decomp.c:802 rohc_decompress3()] stay in U-mode as requested by user
[rohc_decomp.c:889 rohc_decompress3()] packet decompression failed: CRC failure (4)
[rohc_decomp.c:2033 rohc_decomp_
[rohc_decomp.c:2152 rohc_decomp_
[rohc_decomp.c:2206 rohc_decomp_
[rohc_decomp.c:2298 rohc_decomp_
then I enabled ROHC_DECOMP_
[rohc_decomp.c:780 rohc_decompress3()] decompress the 67-byte packet #11442
[rohc_decomp.c:3645 rohc_decomp_
[rohc_decomp.c:1024 d_decode_header()] decompressor received 0 bytes of feedback for the same-side associated compressor
[rohc_decomp.c:3608 rohc_decomp_
[rohc_decomp.c:3762 rohc_decomp_
[rohc_decomp.c:1180 d_decode_header()] 6 bits required for SN in feedback (6 bits required for RTT, 16 max)
[rohc_decomp.c:1199 d_decode_header()] decode packet as 'UO-1'
[rohc_decomp.c:1370 rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp.c:1388 rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp_
[rohc_decomp.c:1477 rohc_decomp_
[rohc_decomp.c:1548 rohc_decomp_
[rohc_decomp.c:1251 d_decode_header()] failed to decompress packet (code = 4)
[rohc_decomp.c:802 rohc_decompress3()] stay in U-mode as requested by user
[rohc_decomp.c:889 rohc_decompress3()] packet decompression failed: CRC failure (4)
[rohc_decomp.c:2033 rohc_decomp_
[rohc_decomp.c:2152 rohc_decomp_
[rohc_decomp.c:2206 rohc_decomp_
[rohc_decomp.c:2298 rohc_decomp_
[ 0.000] COM F:rohc_decomp: Can't decompress ROHC packet. status=4 ('CRC failure') CRC=0xC4F88808
[ 0000] 88 00 16 08 00 78 70 4B 60 1E F8 8D 2F 95 56 00 .....xpK ......V.
[ 0016] 00 00 00 2F DE 04 00 00 00 00 00 10 11 12 13 14 ........ ........
[ 0032] 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 ........ ........
[ 0048] 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 ........ ...01234
[ 0064] 35 36 37 567
Changed in rohc: | |
assignee: | nobody → Didier Barvaux (didier-barvaux) |
tags: | added: icmp library |
Changed in rohc: | |
milestone: | none → 2.0.0 |
Changed in rohc: | |
milestone: | 2.0.0 → 2.1.0 |
Hello,
Thank you for the bug report. I got a few questions for you.
* What version of the ROHC library are you using?
* What is your configuration (looks like large CID, what W-LSB window width...)?
* Are there only ICMP packets?
* Is there one single ICMP stream or several in parallel?
* Is there some packet loss or reordering between the ROHC compressor and the ROHC decompressor?
* The first ROHC traces seem not to match the first packet dump, should they?
* Is it possible to capture (with tcpdump or wireshark) the uncompressed (and maybe the compressed too) stream of packets until a CRC error occurs? Please use option -s0 if using tcpdump. Attach the files to the bug report. If the file are too large for Launchpad, try to compress them, or upload them somewhere else.
Regards,
Didier