Segmentation fault in DMD - how to debug?

Walter Bright newshound2 at digitalmars.com
Tue Oct 4 01:43:39 UTC 2022


On 10/3/2022 7:45 AM, Steven Schveighoffer wrote:
> In all seriousness though, I've definitely had 4 types of results when DMD runs 
> out of memory:
> 
> 1. OOM Killer kills the process (this is the most frequent on Linux)
> 2. Segfault
> 3. Seemingly random assert error or other exception.
> 4. Out of memory notification (this is what should always happen, except for OOM 
> killer)

2 and 3 should be investigated and fixed.




More information about the Digitalmars-d mailing list