Hangs on toStringZ()

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 27 10:32:01 PST 2016


On Tuesday, 27 December 2016 at 18:22:12 UTC, unDEFER wrote:
> On Tuesday, 27 December 2016 at 18:01:36 UTC, Stefan Koch wrote:
>> Have you tried assigning it to a variable ?
>
> Yes, I have tried, now backtrace of hanged process is:
>
> (gdb) bt
> #0  0x00007f4e18260c6d in ?? ()
> #1  0x0000000000000000 in ?? ()

BTW, if you are using literals the toStringZ call is not needed.
They are zero terminated by default.


More information about the Digitalmars-d mailing list