Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 04, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code -- |
September 04, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 Daniel Čejchan <czdanol@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |czdanol@gmail.com --- Comment #1 from Daniel Čejchan <czdanol@gmail.com> --- Please provide some test-case code example. :) -- |
September 05, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 --- Comment #2 from hsteoh@quickfur.ath.cx --- Ah, sorry, forgot to post complete example. Here it is: ------ struct S { void delegate(dchar) onChar = (dchar) {}; } void main() { S s; s.onChar('a'); } ------ -- |
September 05, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 --- Comment #3 from Daniel Čejchan <czdanol@gmail.com> --- What compiler are you using? http://dpaste.dzfl.pl/9f8f1dc801cd I have tried 2.065 and 2.066 and it doesn't compile. -- |
September 05, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 --- Comment #4 from hsteoh@quickfur.ath.cx --- git HEAD. Could it be a regression? -- |
September 05, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 --- Comment #5 from hsteoh@quickfur.ath.cx --- Strange, I just checked out v2.066.0 and it still compiles and gives me the segfault. Could it be a platform-specific bug?? I'm testing on Linux/64-bit. Or maybe the tag isn't actually what was released? I'm confused. -- |
September 05, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 --- Comment #6 from Daniel Čejchan <czdanol@gmail.com> --- Hmm, I tried it again under 2.066 and it now does the same thing as for you. I must have missed something last time checking. Looks like a bug :) -- |
September 05, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 --- Comment #7 from hsteoh@quickfur.ath.cx --- Seems the compile error was removed by this commit: 180a6aabbb5d5db72e6650f8cedc4ba4b7899017 (https://github.com/D-Programming-Language/dmd/pull/2824). Not sure if this is a regression, or a new bug introduced by the PR. -- |
September 06, 2014 [Issue 13424] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Hardware|x86 |All OS|Linux |All --- Comment #8 from Kenji Hara <k.hara.pg@gmail.com> --- (In reply to hsteoh from comment #7) > Seems the compile error was removed by this commit: 180a6aabbb5d5db72e6650f8cedc4ba4b7899017 (https://github.com/D-Programming-Language/dmd/pull/2824). Not sure if this is a regression, or a new bug introduced by the PR. This is a regression issue introduced in the commit. https://github.com/D-Programming-Language/dmd/pull/3951 -- |
September 06, 2014 [Issue 13424] [REG2.066] Initialization of delegate to do-nothing default causes segfault at runtime | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13424 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Initialization of delegate |[REG2.066] Initialization |to do-nothing default |of delegate to do-nothing |causes segfault at runtime |default causes segfault at | |runtime -- |
Copyright © 1999-2021 by the D Language Foundation