Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
January 27, 2012 [Issue 7377] New: Compiler segfault in: TemplateMixin::hasPointers() | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7377 Summary: Compiler segfault in: TemplateMixin::hasPointers() Product: D Version: future Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: dlang@chilon.net --- Comment #0 from pelo <dlang@chilon.net> 2012-01-27 03:41:27 PST --- Using the latest built dmd/phobos/druntime code from git I get a compiler core dump: Core was generated by `dmd -I../.. -g -debug -od../.obj -of../.obj/variant common.d variant.d ../teg/s'. Program terminated with signal 11, Segmentation fault. #0 0x00000000004f7a2f in TemplateMixin::hasPointers() () (gdb) bt #0 0x00000000004f7a2f in TemplateMixin::hasPointers() () #1 0x000000000050cc0e in ClassDeclaration::toObjFile(int) () #2 0x00000000004a024f in Module::genobjfile(int) () #3 0x0000000000403c4f in main () I'm trying to build a minimal test case. dmd 2.047 has other compilation segfaults affecting my code, I'm a little worried I'll never be able to build my code with any D compiler above 2.046 again ;) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 28, 2012 [Issue 7377] Compiler segfault in: TemplateMixin::hasPointers() | ||||
---|---|---|---|---|
| ||||
Posted in reply to pelo | http://d.puremagic.com/issues/show_bug.cgi?id=7377 --- Comment #1 from pelo <dlang@chilon.net> 2012-01-28 10:41:17 PST --- Sorry meant 2.056. I fixed it... have a patch. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 28, 2012 [Issue 7377] Compiler segfault in: TemplateMixin::hasPointers() | ||||
---|---|---|---|---|
| ||||
Posted in reply to pelo | http://d.puremagic.com/issues/show_bug.cgi?id=7377 --- Comment #2 from pelo <dlang@chilon.net> 2012-01-28 10:42:42 PST --- Created an attachment (id=1070) Fixes this bug entirely... dereference of null. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 28, 2012 [Issue 7377] Compiler segfault in: TemplateMixin::hasPointers() | ||||
---|---|---|---|---|
| ||||
Posted in reply to pelo | http://d.puremagic.com/issues/show_bug.cgi?id=7377 pelo <dlang@chilon.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1070|application/octet-stream |text/plain mime type| | Attachment #1070|0 |1 is patch| | -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 28, 2012 [Issue 7377] Compiler segfault in: TemplateMixin::hasPointers() | ||||
---|---|---|---|---|
| ||||
Posted in reply to pelo | http://d.puremagic.com/issues/show_bug.cgi?id=7377 --- Comment #3 from github-bugzilla@puremagic.com 2012-01-28 12:49:33 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1faafe155a3b80c4dfcee923f6312dc4f29cc9e7 Merge pull request #649 from nuisanceofcats/master Fix issue 7377, compiler segfault via null pointer dereference -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 28, 2012 [Issue 7377] Compiler segfault in: TemplateMixin::hasPointers() | ||||
---|---|---|---|---|
| ||||
Posted in reply to pelo | http://d.puremagic.com/issues/show_bug.cgi?id=7377 --- Comment #4 from github-bugzilla@puremagic.com 2012-01-28 12:54:07 PST --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/21cf12232acf37dcb7c9b9078a58b4338deb346c fix issue 7377 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 28, 2012 [Issue 7377] Compiler segfault in: TemplateMixin::hasPointers() | ||||
---|---|---|---|---|
| ||||
Posted in reply to pelo | http://d.puremagic.com/issues/show_bug.cgi?id=7377 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 28, 2012 [Issue 7377] Compiler segfault in: TemplateMixin::hasPointers() | ||||
---|---|---|---|---|
| ||||
Posted in reply to pelo | http://d.puremagic.com/issues/show_bug.cgi?id=7377 Trass3r <mrmocool@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmocool@gmx.de --- Comment #5 from Trass3r <mrmocool@gmx.de> 2012-01-28 23:27:29 CET --- I really wonder why members is NULL. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation