[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:56:37 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15272
--- Comment #6 from bb.temp at gmx.com ---
(In reply to ag0aep6g from comment #4)
> 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?
Yes. I confirm that the fix you suggested in libdparse works.
But now I don't know whom the bug belongs to...
Was it accidental that the program worked without -inline and without the
libdparse fix ?!
--
More information about the Digitalmars-d-bugs
mailing list