[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 --- Comment #1 from nfx...@gmail.com 2010-03-29 18:18:20 PDT --- Funny thing: if I name _exactly_ the same file x2.d, OPTLINK doesn't crash! copy x.d x2.d dmd x.d -g -- OPTLINK crashes dmd x2.d -g -- OPTLINK doesn't crash Let me repeat: this bug is not reproduceable if you change the filename. Makes me wonder what the flying fuck is going on. (Maybe I should mention that I did this under wine on Linux, but I also had someone reproduce the crash on a real Windows.) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 Max Samukha changed: What|Removed |Added CC||samu...@voliacable.com --- Comment #2 from Max Samukha 2010-03-30 00:32:55 PDT --- I think it has something to do with module names being part of symbol names. When you change the file name the symbol names change as well. FWIW, my development branch of QtD (compiled with dmd 2.042) doesn't link on Windows. This bug may be the cause. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 nfx...@gmail.com changed: What|Removed |Added Keywords||link-failure Priority|P2 |P1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 --- Comment #3 from nfx...@gmail.com 2010-05-07 06:00:12 PDT --- In dmd 1.060, the example above doesn't crash anymore, but this does: --- x.d template Tuple(T...) { alias T Tuple; } template Repeat(int count) { static if (!count) { alias Tuple!() Repeat; } else { alias Tuple!(count-1, Repeat!(count-1)) Repeat; } } void sometemplate(int T)() { foreach (x; Repeat!(320)) { sometemplate!(T)(); } } void main() { foreach (x; Repeat!(498)) { sometemplate!(x)(); } } --- wine dmd x.d -g Unexpected OPTLINK Termination at EIP=0041338F EAX=020A EBX=020A ECX= EDX=65D474DD ESI=0033FE7C EDI=65D474DD EBP=0033FED4 ESP=0033FD60 First=00402000 There's lots of similarities in the test case and register dump, so I suppose it's the same bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 --- Comment #4 from nfx...@gmail.com 2010-05-31 13:09:20 PDT --- Does anyone know what Walter thinks about this? When can we expect a fix? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 Eldar Insafutdinov changed: What|Removed |Added CC||e.insafutdi...@gmail.com --- Comment #5 from Eldar Insafutdinov 2010-05-31 13:20:31 PDT --- (In reply to comment #4) > Does anyone know what Walter thinks about this? > When can we expect a fix? Same question. This bug(or a similar one) has been a pain for building QtD on Windows. It occurs or it doesn't depending on some unrelated factors. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #6 from Walter Bright 2010-08-25 12:31:20 PDT --- I can reproduce it, it appears to be related to the -g switch. The object file is very large, it perhaps is caused by a counter overflow. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #7 from Walter Bright 2010-09-01 01:08:56 PDT --- Fixed with link 8.00.6 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 Tomasz Stachowiak changed: What|Removed |Added CC||h3r3...@mat.uni.torun.pl --- Comment #8 from Tomasz Stachowiak 2010-09-01 04:07:12 PDT --- (In reply to comment #7) > Fixed with link 8.00.6 I haven't tested against this very example, but your latest patch also seems to fix a crash at a different EIP I've been getting since the last few days (repro too large): EIP=00425343 EAX=0001B04C EBX=0202 ECX=0004 EDX=0116 ESI=0043B544 EDI=01164000 EBP=0012FFF0 ESP=0012FF7C First=00402000 If this is true and not just a random magical arrangement of electrons and planets, I might arrange a little party tonight O_O Much appreciated! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 --- Comment #9 from nfx...@gmail.com 2010-09-01 10:38:34 PDT --- It's like the fixing of bug 424 all over again! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
http://d.puremagic.com/issues/show_bug.cgi?id=4009 --- Comment #10 from Walter Bright 2010-09-05 03:28:45 PDT --- The overflow would happen when some of the data structures exceeded 128K in size. I checked the other seg faults for optlink in Bugzilla, but those apparently have different causes. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4009] OPTLINK ruins the day yet again
https://issues.dlang.org/show_bug.cgi?id=4009 Walter Bright changed: What|Removed |Added Keywords||Optlink --
[Issue 4009] OPTLINK ruins the day yet again
https://issues.dlang.org/show_bug.cgi?id=4009 Andrei Alexandrescu changed: What|Removed |Added Component|Optlink |tools --