Bug 8694 – std.zlib.(Un)Compress can cause an _onInvalidMemoryOperationError
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-09-19T02:53:00Z
Last change time
2015-06-09T05:15:18Z
Assigned to
nobody
Creator
sludwig
Comments
Comment #0 by sludwig — 2012-09-19T02:53:20Z
The finalizers are calling error() inside ~this() if deflateEnd() returns an error. error() in turn tries to 'new' an exception, which then causes the invalid memory operation error.