Boost C++ Libraries: Ticket #7561: bzip2_compressor does not play nicely with either direction of filtering_stream https://svn.boost.org/trac10/ticket/7561 <p> With boost::iostreams::filtering_stream&lt;boost::iostreams::input&gt;, bzip2_compressor's output is always empty. With boost::iostreams::filtering_stream&lt;boost::iostreams::output&gt;, bzip2_compressor segfaults on an empty input. </p> <p> I'm attaching a program that on my machine reproduces this issue. </p> <p> Bugs that seem related: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2411" title="#2411: Bugs: bzip2_compressor does not work with filtering_istream (closed: fixed)">#2411</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3348" title="#3348: Bugs: SEGV in ~bzip2_decompressor() (closed: fixed)">#3348</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5237" title="#5237: Bugs: filtering_ostream produce incorrect empty files with gzip_compressor ... (closed: fixed)">#5237</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7561 Trac 1.4.3 Alexander van Gessel (AI0867) <ai0867@…> Wed, 24 Oct 2012 08:39:11 GMT attachment set https://svn.boost.org/trac10/ticket/7561 https://svn.boost.org/trac10/ticket/7561 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-bzip2.cpp</span> </li> </ul> Ticket