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

--- Comment #0 from Torsten <> 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:
------- You are receiving this mail because: -------

Reply via email to