Opened 15 years ago

Closed 15 years ago

#955 closed Bugs (fixed)

filtering ostream problem... pushing zlib_compressor works in 1_33, dies in 1_34

Reported by: grahamspam@… Owned by:
Milestone: Boost 1.34.1 Component: None
Version: Boost 1.34.0 Severity: Showstopper
Keywords: iostreams memory leak zlib bad_alloc exception Cc:

Description

The attached code works fine in 1_33, but throws a bad_alloc exception after some 10-20K iterations in 1_34 after consuming all available system memory. This is a showstopper preventing the use of 1_34 in our projects.

See disccusion here

http://thread.gmane.org/gmane.comp.lib.boost.user/26949

Attachments (2)

testIostreams.cpp (1.9 KB ) - added by anonymous 15 years ago.
source code exhibiting push problem with zlib_compressor
Makefile (1.4 KB ) - added by anonymous 15 years ago.
Makefile

Download all attachments as: .zip

Change History (6)

by anonymous, 15 years ago

Attachment: testIostreams.cpp added

source code exhibiting push problem with zlib_compressor

by anonymous, 15 years ago

Attachment: Makefile added

Makefile

comment:1 by anonymous, 15 years ago

Is this the same issue referred to in Ticket #953 ?

comment:2 by Thomas Witt, 15 years ago

Milestone: Boost 1.34.1
Severity: Showstopper

comment:3 by Kim Barrett <kab@…>, 15 years ago

This appears to be the same issue as bug #953. That bug, as well as this one, appear to have been fixed by fixing bug #971. I ran the attached test case against boost 1.34.0 and verified that it failed; bad_alloc exception. I also ran it against a cvs checkout of boost on the RC_1_34_0 branch, post fix of bug #971. That one worked. So this bug can be marked as fixed.

comment:4 by Thomas Witt, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.