Opened 10 years ago

#7561 new Bugs

bzip2_compressor does not play nicely with either direction of filtering_stream

Reported by: Alexander van Gessel (AI0867) <ai0867@…> Owned by: Jonathan Turkanis
Milestone: To Be Determined Component: iostreams
Version: Boost 1.42.0 Severity: Problem
Keywords: bzip2 filtering_istream filtering_ostream Cc:

Description

With boost::iostreams::filtering_stream<boost::iostreams::input>, bzip2_compressor's output is always empty. With boost::iostreams::filtering_stream<boost::iostreams::output>, bzip2_compressor segfaults on an empty input.

I'm attaching a program that on my machine reproduces this issue.

Bugs that seem related: #2411, #3348, #5237

Attachments (1)

boost-bzip2.cpp (801 bytes ) - added by Alexander van Gessel (AI0867) <ai0867@…> 10 years ago.

Download all attachments as: .zip

Change History (1)

by Alexander van Gessel (AI0867) <ai0867@…>, 10 years ago

Attachment: boost-bzip2.cpp added
Note: See TracTickets for help on using tickets.