[Issue 15272] [2.069-rc2,inline] nothing written to output when -inline is set

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Nov 1 13:03:43 PST 2015


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

--- Comment #4 from ag0aep6g at gmail.com ---
I think this is a bug in libdparse.

Its `StringCache` allocates space for `buckets`, but doesn't null the pointers.
On destruction it then tries to `free` the garbage pointers in there.

https://github.com/Hackerpilot/libdparse/blob/8230f207912b40a46e5eae84e50ee59215b7c67f/src/dparse/lexer.d#L2009

Could you try adding `buckets[] = null;` after that line, then rebuild
libdparse, and see if your project still crashes?

--


More information about the Digitalmars-d-bugs mailing list