Issues with debugging GC-related crashes #2
Matthias Klumpp
mak at debian.org
Mon Apr 16 16:43:38 UTC 2018
On Monday, 16 April 2018 at 16:36:48 UTC, Matthias Klumpp wrote:
> [...]
> The code uses std.typecons.scoped occasionally, does no GC
> allocations in destructors and does nothing to mess with the GC
> in general. There are a few calls to GC.add/removeRoot in the
> gir-to-d generated code (ObjectG.d), but those are very
> unlikely to cause issues (removing them did yield the same
> crash, and the same code is used by more projects).
> [...]
Another thing to mention is that the software uses LMDB[1] and
mmaps huge amounts of data into memory (gigabyte range).
Not sure if that information is relevant at all though.
[1]: https://symas.com/lmdb/technical/
More information about the Digitalmars-d
mailing list