[Issue 4130] New: DMD crashes if it has to compile a project which is too complex
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 27 09:47:20 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4130
Summary: DMD crashes if it has to compile a project which is
too complex
Product: D
Version: 1.057
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: Globe13.Trotter17 at gmx.de
--- Comment #0 from Torsten <Globe13.Trotter17 at gmx.de> 2010-04-27 09:47:18 PDT ---
I am trying to compile a medium sized project of roughly 380 files (using
phobos). As long as I keep the total code length (number of lines) under a
limit (yet unknown) dmd creates the executeables sucessfully. However, if I add
some functions to some classes or if I add some new files, it gives a
segmentation fault after roughly 5 minutes of compiling which consumes 350 MiB
of memory.
If I run dmd with -v, the last lines it prints are:
function equals
function notEquals
function greater
function lesser
function greaterOrEqual
function lesserOrEqual
function like
function notIn
function In
function this
function saveToDB
function saveToDB
function loadFromDBAsString
Segmentation fault
As far as I can see, the gcc for linking is not called yet.
I have the same problem with older versions of dmd, however I cannot try dmd2.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list