digitalmars.D.bugs - [Issue 7478] New: dmd crashes while compiling
- d-bugmail puremagic.com (23/23) Feb 09 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7478
- d-bugmail puremagic.com (10/10) Mar 30 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7478
- d-bugmail puremagic.com (19/19) Apr 05 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7478
- d-bugmail puremagic.com (10/10) May 14 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7478
- d-bugmail puremagic.com (6/6) May 14 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7478
- d-bugmail puremagic.com (13/13) May 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7478
- d-bugmail puremagic.com (10/10) May 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7478
http://d.puremagic.com/issues/show_bug.cgi?id=7478
Summary: dmd crashes while compiling
Product: D
Version: D2
Platform: All
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: phyphor0 gmail.com
One source file:
import std.stdio;
void main() {}
Compile with the following command line:
dmd -noboundscheck -inline -release -deps=temp.dep main.d
All arguments are needed, as is the import. main() is not.
Version 2.057
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 09 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7478
It is crashing in AttribDeclaration::inlineScan(),
for (size_t i = 0; i < d->dim; i++)
{ Dsymbol *s = (*d)[i];
s->inlineScan(); // <---- crashes here
It isn't a null pointer, it seems to be an invalid vtable (memory corruption?)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 30 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7478
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|segfault(attrib.c) |stack overflow compiling
|compiling with -deps |with -deps -release -inline
|-release -inline |(Windows only)
I can reproduce this on Windows7, but not on Linux64.
This is the worst heisenbug I've ever seen. Although it's possible to reduce
the test case a bit, the reduction makes no sense -- changing an unused list of
anonymous enums from 9 to 8 items makes the bug go away, for example.
It seems to be either a stack overflow or an out of memory condition, because
the faulting location jumps around if you make changes to the test case.
Worse, some changes don't just crash; they cause the windows command prompt to
hang afterwards.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 05 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7478
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
https://github.com/D-Programming-Language/dmd/pull/947
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 14 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7478 Bug 6951 seems to be the same as this one. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 14 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7478 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e0739df44af7f459de82ad5582cf662dd036237d Fix issue 7478 stack overflow compiling with -deps -release -inline -noboundscheck valgrind ftw! https://github.com/D-Programming-Language/dmd/commit/c029f71d3eb0312205595c63559dff487d27bc29 7478 stack overflow compiling with -deps -release -inline -noboundscheck -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7478
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spam extrawurst.org
*** Issue 6951 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 15 2012









d-bugmail puremagic.com 