Opened 11 years ago

Closed 11 years ago

#274 closed defect (fixed)

Libtrace fails to open some compressed files

Reported by: salcock Owned by: perry
Priority: major Milestone: libtrace3
Component: libtrace-library Version:
Keywords: Cc:

Description

Libtrace does not open compressed trace files created using crl_to_pcap (a libcoral tool). The error occurs when calling pcapfile_start() - attempting to read the pcap header returns Z_STREAM_END which is interpreted to be an EOF.

This generates the helpful error message of "Failed to start trace: No error" :)

There is a trace on wraith:/scratch/salcock/test2.gz which exhibits this behaviour if you need a test case.

Change History (1)

comment:1 Changed 11 years ago by perry

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1585. This also allows you to concatenate two compressed traces.

Note: See TracTickets for help on using tickets.