Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMD crashes on large code generating app #19245

Open
dlangBugzillaToGithub opened this issue Apr 10, 2017 · 0 comments
Open

DMD crashes on large code generating app #19245

dlangBugzillaToGithub opened this issue Apr 10, 2017 · 0 comments

Comments

@dlangBugzillaToGithub
Copy link

phreon111 reported this on 2017-04-10T17:29:03Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=17316

Description

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant