www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8694] New: std.zlib.(Un)Compress can cause an _onInvalidMemoryOperationError

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8694

           Summary: std.zlib.(Un)Compress can cause an
                    _onInvalidMemoryOperationError
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: sludwig outerproduct.org



PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 19 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8694




PDT ---
https://github.com/D-Programming-Language/phobos/pull/806

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 19 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8694




Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/a84271845b8ac247be1a462c3020e8a974ff78c3
fix Issue 8694 - (Un)Compress may cause an InvalidMemoryOperationError

The calls to error() are removed from the finalizers to avoid memory
allocations there. The result does not matter at this point anyway since
nothing can be done about it.

https://github.com/D-Programming-Language/phobos/commit/b05b81859610e31b679de6e8cc2001fc14fe5af5


Fix for issue 8694, (Un)Compress may cause an InvalidMemoryOperationError

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 28 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8694


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies gmail.com



Has this been fixed sufficiently?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 02 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8694


Sönke Ludwig <sludwig outerproduct.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



PST ---
Yes, sorry. Fogot to close the issue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 02 2013