Thread overview | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
May 21, 2012 [Issue 8130] New: Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8130 Summary: Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Keywords: wrong-code Severity: critical Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-05-21 18:09:46 MSD --- Also without *.def file exported `extern(C)` symbols are prefixed with `_` and require this prefix when obtained with GetProcAddress. DMD should ether reject compiling DLL without module definition file or tell optling that output is a library. If there are reasons not to change current behavior, this trap should be mentioned on top of dll.html (preferable in red color) and all D IDE developers should be notified about this issue and catch such case on IDE level. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 21, 2012 [Issue 8130] Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8130 --- Comment #1 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-05-21 18:12:18 MSD --- Created an attachment (id=1109) Test for bug 8130 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 10, 2012 [Issue 8130] Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8130 --- Comment #3 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-10-10 21:01:09 MSD --- As a proof of this issue odiousness: http://forum.dlang.org/thread/csqzdgdlgtuklmnwakrt@forum.dlang.org -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 07, 2013 [Issue 8130] Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8130 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2013-04-07 15:00:37 PDT --- https://github.com/D-Programming-Language/dmd/pull/1864 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 07, 2013 [Issue 8130] Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8130 --- Comment #5 from Walter Bright <bugzilla@digitalmars.com> 2013-04-07 15:30:16 PDT --- https://github.com/D-Programming-Language/d-programming-language.org/pull/313 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 08, 2013 [Issue 8130] Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8130 --- Comment #7 from github-bugzilla@puremagic.com 2013-04-07 19:14:50 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/efef6e99ec2d98cd100dd8f028be3389bbb80490 fix Issue 8130 - Memory corruption because without *.def file DMD compiles DLL with assumption https://github.com/D-Programming-Language/dmd/commit/3c2e4506f118ce6a9c8f6134123acafa47dec7c2 Merge pull request #1864 from WalterBright/fix8130 fix Issue 8130 - Memory corruption because without *.def file DMD compil... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 08, 2013 [Issue 8130] Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8130 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 08, 2013 [Issue 8130] Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8130 --- Comment #8 from github-bugzilla@puremagic.com 2013-04-07 20:23:44 PDT --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4efb4c936a6a56e20c8b0056b5011ef396753480 Merge pull request #1864 from WalterBright/fix8130 fix Issue 8130 - Memory corruption because without *.def file DMD compil... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 08, 2013 [Issue 8130] Memory corruption because without *.def file DMD compiles DLL with assumption `_tls_index = 0` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=8130 --- Comment #9 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2013-04-08 10:44:17 MSD --- So, the issue is fixed by documentation improvement. Can you also tell reasons not to change current compiler behavior? -- 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