[Issue 14578] [ddemangle] core.exception.InvalidMemoryOperationError@(0) handling large symbol list

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 4 05:38:05 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14578

--- Comment #12 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I created 3 test cases, one based on your recommendation, one based on Ali's in
issue 14005, and one based on the post in
http://forum.dlang.org/post/yfuxvdxduicfjtdoxbyb@forum.dlang.org. In all three
cases, they were passing on my Mac. However, running on my Linux VM, they all
failed (Frustratingly, nobody attached any exact files, so I wasn't sure if my
hand-made files were correctly set up to trigger the bug when I tested on the
Mac).

Then I cloned and built everything from HEAD in git. All of them passed.

Does this mean the problem is fixed? For byLine, I think it is. However, I
think readln is still buggy. issue 13856 should remain open until that is
fixed, but I think we can close this one.

Note, the use of assumeSafeAppend in readln is/was incorrect, it's ignoring the
metadata of the block, and blindly assuming it can consume all the data in the
block as returned by the GC. So the issue is not with assumeSafeAppend I think.

--


More information about the Digitalmars-d-bugs mailing list