D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17316 - DMD crashes on large code generating app
Summary: DMD crashes on large code generating app
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 blocker
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-10 17:29 UTC by phreon111
Modified: 2024-12-13 18:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description phreon111 2017-04-10 17:29:03 UTC
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 dlangBugzillaToGithub 2024-12-13 18:51:59 UTC
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