November 08, 2010 [Issue 4854] Regression(2.047, Mac only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 nfxjfg@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nfxjfg@gmail.com --- Comment #9 from nfxjfg@gmail.com 2010-11-08 14:19:29 PST --- I'm curious: why you need to rely on (obviously) not guaranteed linker behaviour? Btw. gcc supports TLS variables via extensions, if that is the problem. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 09, 2010 [Issue 4854] Regression(2.047, Mac only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 --- Comment #10 from Jacob Carlborg <doob@me.com> 2010-11-09 00:09:39 PST --- TLS is not supported by GCC on Mac OS X. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 20, 2010 [Issue 4854] Regression(2.047, Mac only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 --- Comment #11 from Jacob Carlborg <doob@me.com> 2010-11-20 03:14:21 PST --- Created an attachment (id=823) Patch I'm adding my patch here as well so it doesn't get lost. I've created a patch but I'm not completely sure if it solves the problem or not. I don't get an error in __tls_get_addr now but instead I get this: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x97655133 in strncmp () (gdb) bt #0 0x97655133 in strncmp () #1 0x0000101c in ?? () Previous frame inner to this frame (gdb could not unwind past this frame) (gdb) Maybe someone else can look at the patch and see if I did something wrong or maybe the solution we thought of couldn't fix the problem. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 31, 2012 [Issue 4854] Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrei@metalanguage.com --- Comment #12 from Andrei Alexandrescu <andrei@metalanguage.com> 2012-01-31 14:57:11 PST --- Can this be still reproduced? The code works for me on OSX 10.7.2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 01, 2012 [Issue 4854] Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 --- Comment #13 from Jacob Carlborg <doob@me.com> 2012-01-31 23:32:45 PST --- (In reply to comment #12) > Can this be still reproduced? The code works for me on OSX 10.7.2. As the title say, it's only for Mac OS X 10.5. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 07, 2012 [Issue 4854] Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 --- Comment #14 from Walter Bright <bugzilla@digitalmars.com> 2012-02-06 19:58:16 PST --- Is anyone still running 10.5? That's two OSX versions ago. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 07, 2012 [Issue 4854] Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 --- Comment #15 from Jacob Carlborg <doob@me.com> 2012-02-07 04:21:38 PST --- I (In reply to comment #14) > Is anyone still running 10.5? That's two OSX versions ago. I don't know. But I see now reason why we shouldn't support 10.5 as long as it doesn't cause too much problem. We're still supporting Windows XP which is two versions ago as well and is far older than Mac OS X 10.5. And yes, I know you can't really compare Mac OS X and Windows in this case. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 08, 2012 [Issue 4854] Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 --- Comment #16 from github-bugzilla@puremagic.com 2012-03-07 18:33:23 PST --- Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/73cf2c150665cb17d9365a6e3d6cf144d76312d6 fix Issue 4854 - Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 08, 2012 [Issue 4854] Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Burton | http://d.puremagic.com/issues/show_bug.cgi?id=4854 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #17 from Walter Bright <bugzilla@digitalmars.com> 2012-03-07 18:34:28 PST --- I don't have 10.5 to test it on, but this should fix it. -- 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