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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 22 08:37:26 PDT 2015


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #8 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Iain Buclaw from comment #4)
> OK, got a reduced test:
> 
> ---
> import std.stdio;
> void main()
> {
>     foreach (line; stdin.byLine())
>     {
>     }
> }
> ---
> 
> Only require two lines of stdin with the following constraints:
> 
> #1 Line:  Length >= 510 && Length <= 1021
> #2 Line:  Length == 1023

I can't reproduce this.
I made a file with 2 lines, one is 520 bytes, the other is 1023 bytes (I tried
adding and subtracting one character to the second line in case you were
including newlines in that requirement).

Still works without asserting. This is with 2.067 on OSX.

--


More information about the Digitalmars-d-bugs mailing list