segfault on gc.impl.conservative.gc.Gcx.smallAlloc
Vladimir Panteleev
thecybershadow.lists at gmail.com
Tue Sep 26 00:36:36 UTC 2017
On Monday, 25 September 2017 at 21:34:40 UTC, Mengu wrote:
> delete fileContents;
This looks suspicious - it is a slice of the memory-mapped file,
not memory on the GC-managed heap, so "delete" is inapplicable to
it. The GC ought to throw an exception when attempting to delete
things not on the GC heap though.
I think the stack trace itself looks like something that should
only happen when the GC's internal data structures are corrupted,
so you may want to investigate in that direction.
More information about the Digitalmars-d-learn
mailing list