digitalmars.D.bugs - [Issue 7108] New: ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault
- d-bugmail puremagic.com (50/50) Dec 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7108
- d-bugmail puremagic.com (9/9) Dec 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7108
- d-bugmail puremagic.com (14/20) Dec 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7108
- d-bugmail puremagic.com (17/17) Dec 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7108
- d-bugmail puremagic.com (6/6) Dec 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7108
- d-bugmail puremagic.com (7/8) Dec 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7108
- d-bugmail puremagic.com (12/12) Dec 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7108
- d-bugmail puremagic.com (13/13) Dec 15 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7108
http://d.puremagic.com/issues/show_bug.cgi?id=7108 Summary: ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dlang chilon.net Most of my d code now causes the compiler to core dump. All 3 of 3 projects no longer work and only two of them share code. Here's the backtrace I got: Program terminated with signal 11, Segmentation fault. ScopeDsymbol*) () ArrayBase<Expression>*) () Type**, Dsymbol**) () ArrayBase<Expression>*) () ArrayBase<Expression>*) () Type**, Ds ymbol**) () I'll try to narrow down the (multiple) constructs that cause this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7108 I found a null dereference bug in TraitsExp::semantic(). Following code kills dmd. static assert(!__traits(hasMember, int, "x")); In your environment, can you get similar backtrace? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7108I found a null dereference bug in TraitsExp::semantic(). Following code kills dmd. static assert(!__traits(hasMember, int, "x")); In your environment, can you get similar backtrace?Yes! Here is my code: int main(string argv[]) { static assert(! __traits(hasMember, int, "x")); return 0; } I try to compile: % dmd yo.d zsh: segmentation fault (core dumped) dmd yo.d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7108 Back trace to your simplified case above: (gdb) bt Could be the same issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7108 Thanks. I'll post a patch to fix it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7108Thanks. I'll post a patch to fix it.Thanks. I'll test your patch against my code when it's available. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7108 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code, patch Platform|x86_64 |All OS/Version|Linux |All https://github.com/D-Programming-Language/dmd/pull/560 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7108 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 00:06:22 PST --- https://github.com/D-Programming-Language/dmd/commit/653ada953f8f0f918706d4ce6ded828ca878f39f https://github.com/D-Programming-Language/dmd/commit/0743d8f5dabc31b11f1622d98cba2d80d316b876 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 15 2011