Summary: GC breaks if a thread is allocated on Mac OSX
           Product: D
           Version: D1
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Phobos

--- Comment #0 from Jakob Bornecrantz <> 2011-07-11 
19:07:06 PDT ---
class MyThread : public Thread {
    int run() {
        new byte[1024*1024];
        return 0;

int main(char[][] args) {
    auto t = new MyThread();
    return 0;

The above program is totally broken on Mac due to a bug in the GC. Patch
available in pull request here: after pulling that
request, please add this example as a unittest or something, this embarrassment
have been in there since at least 1.064.

Cheers Jakob.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to