Segmentation fault in DMD - how to debug?

Walter Bright newshound2 at digitalmars.com
Sun Oct 2 21:11:06 UTC 2022


On 9/28/2022 8:19 PM, Steven Schveighoffer wrote:
> This seems like it *might be* an out of memory problem. When the compiler runs 
> out of memory, any of a number of things might happen, including segfaults.

All memory allocations in DMD are checked for returning null, and if so, the 
program exits with a fatal error.

If you find any that do not, please post to bugzilla and let me know.




More information about the Digitalmars-d mailing list