Segmentation fault in DMD - how to debug?
Andrey Zherikov
andrey.zherikov at gmail.com
Wed Sep 28 23:15:42 UTC 2022
On Wednesday, 28 September 2022 at 23:07:34 UTC, Nicholas Wilson
wrote:
> This seems to stem from use of `__traits(getPointerBitmap, T)`,
> with a `T` that is not handled properly. If you can get a
> reduced test case that will make things much easier. `dustmite`
> (which should come with `dmd`, is useful for automatic
> reduction, otherwise if you have few uses of
> `__traits(getPointerBitmap, T)`, it might be easier to
> synthesise an example that crashes the compiler.
I don't use `getPointerBitmap` in my code:
```
$ grep -r --include=*.d getPointerBitmap
$
```
More information about the Digitalmars-d
mailing list