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: | 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
Attachments (2)
Change History (6)
by , 15 years ago
| Attachment: | testIostreams.cpp added |
|---|
comment:2 by , 15 years ago
| Milestone: | → Boost 1.34.1 |
|---|---|
| Severity: | → Showstopper |
comment:3 by , 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 , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

source code exhibiting push problem with zlib_compressor