www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Lion-compatibilty emergency release, or put warning on download page?

reply David Nadlinger <see klickverbot.at> writes:
As you might know, the current druntime release contains a GC bug which 
causes hard to track down crashes due to premature garbage collection in 
combination with the OS X Lion ASLR, which is enabled by default on all 
systems now. The problem is well understood, and a fix has already been 
merged into master 
(https://github.com/D-Programming-Language/druntime/pull/43).

Given that there are already three people who have independently hit the 
issue (Magnus Hetland just raised the topic on D.learn again) and the 
elusive nature of the bug, is this severe enough to warrant an emergency 
bugfix release? Or would it be possible to put a warning on the download 
page, suggesting to use Git master for applications deployed to Lion?

Thanks,
David
Aug 03 2011
parent reply Sean Kelly <sean invisibleduck.org> writes:
On Aug 3, 2011, at 8:06 AM, David Nadlinger wrote:

 As you might know, the current druntime release contains a GC bug =
which causes hard to track down crashes due to premature garbage = collection in combination with the OS X Lion ASLR, which is enabled by = default on all systems now. The problem is well understood, and a fix = has already been merged into master = (https://github.com/D-Programming-Language/druntime/pull/43).
=20
 Given that there are already three people who have independently hit =
the issue (Magnus Hetland just raised the topic on D.learn again) and = the elusive nature of the bug, is this severe enough to warrant an = emergency bugfix release? Or would it be possible to put a warning on = the download page, suggesting to use Git master for applications = deployed to Lion? Is this fix alone sufficient for the test suite to pass on Lion? I blew = away my Lion partition a while back and haven't had a chance to = re-create and test.=
Aug 03 2011
next sibling parent David Nadlinger <see klickverbot.at> writes:
On 8/3/11 8:00 PM, Sean Kelly wrote:
 Is this fix alone sufficient for the test suite to pass on Lion?  I blew away
my Lion partition a while back and haven't had a chance to re-create and test.
It is, but bear in mind that DMD is currently miscompiled by the LLVM backend, which results in compiler crashes at runtime (or maybe the backend memory allocation code in question just relies on undefined behavior, I didn't look into the issue long enough to be able to judge that) – and Apple changed g++ to point to LLVM-GCC 4.2 in Lion, so you have to either change the symlink or edit the DMD makefiles to use g++-4.2. David
Aug 09 2011
prev sibling parent reply Heywood Floyd <soul8o8 gmail.com> writes:
Sean Kelly Wrote:

 On Aug 3, 2011, at 8:06 AM, David Nadlinger wrote:
 
 As you might know, the current druntime release contains a GC bug which causes
hard to track down crashes due to premature garbage collection in combination
with the OS X Lion ASLR
Is this fix alone sufficient for the test suite to pass on Lion? I blew away my Lion partition a while back and haven't had a chance to re-create and test.
Is this still the case in D2.055? Dare I upgrade to Lion yet? (Is there perhaps a bug I can vote for or something?) KR /HF PS. I wish I had the skillz to check and fix this myself..
Oct 16 2011
parent reply Sean Kelly <sean invisibleduck.org> writes:
On Oct 16, 2011, at 8:00 AM, Heywood Floyd wrote:
=20
 Sean Kelly Wrote:
=20
 On Aug 3, 2011, at 8:06 AM, David Nadlinger wrote:
=20
 As you might know, the current druntime release contains a GC bug =
which causes hard to track down crashes due to premature garbage = collection in combination with the OS X Lion ASLR
=20
 Is this fix alone sufficient for the test suite to pass on Lion?  I =
blew away my Lion partition a while back and haven't had a chance to = re-create and test.
=20
=20
 Is this still the case in D2.055?
 Dare I upgrade to Lion yet?
 (Is there perhaps a bug I can vote for or something?)
It should be fine. The OSX box used by the D Auto-Tester runs Lion.
Oct 17 2011
parent Heywood Floyd <soul8o8 gmail.com> writes:
Sean Kelly Wrote:

 It should be fine.  The OSX box used by the D Auto-Tester runs Lion.
Wonderful! Thanks! /HF
Oct 17 2011