D1 garbage collector + threads + malloc = garbage?

Bane branimir.milosavljevic at gmail.com
Sat Dec 12 07:28:48 PST 2009


> I wanted to reproduce it to make a bug report to attach the patch but
> I couldn't. I replaced msleep() with usleep() (and multiplied the values
> by 1000) because I'm in Linux, but that's all I changed. I have an old AMD
> Athlon 1.8GHz. How do you reproduce it?
> 
> I want to be sure the bug is present before the patch and fixed after the
> patch before submiting the patch via Bugzilla.
> 
> Thanks!

I forgot: for linux just remove msleep lines completely. It will deadlock soon after program start. Seems that linux is more resistant to this bug than windows.



More information about the Digitalmars-d mailing list