Bug 17316 – DMD crashes on large code generating app

Status
NEW
Severity
blocker
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2017-04-10T17:29:03Z
Last change time
2024-12-13T18:51:59Z
Assigned to
No Owner
Creator
phreon111
Moved to GitHub: dmd#19245 →

Comments

Comment #0 by phreon111 — 2017-04-10T17:29:03Z
The source code that causes the problems can be found here https://github.com/IllusionSoftware/COM2D One can configure it in different ways in main.d by choosing the various Interfaces enum. The larger the more code is produced and the more likely an error. One can comment out the pragma and even the mixin and it have it only write to the file(in the static this) and it will generally still crash. It sometimes crashes optilink also. Getting the code to run will the largest interfaces enum(ALL) is the goal which hasn't been achievable yet due to unknown crashes or out of memory(using x64 ver of dmd. The code produces a set of D class as a string and does not do anything that should cause a crash.
Comment #1 by robert.schadek — 2024-12-13T18:51:59Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19245 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB