Thread overview
visual corruption with SDL using 125
Jun 25, 2005
evilmrhenry
Re: visual corruption with SDL using 125 - dmdtest.d
Jun 28, 2005
evilmrhenry
June 25, 2005
Basically, when I compile Gunroar in Linux, with dmd version 124 or 125, (126,
127, and 123 all give segfaults) while it compiles, it looks like this:
http://emhsoft.net/gunroar/broken_gunroar.png
Note the white lines running around. (The jag in the middle is an artifact of
taking the screenshot, ignore it.)

Dropping back to 106 (and making the relevant source changes) results in the display working correctly.

Here's the sourcecode: http://emhsoft.net/gunroar/gr_sortof_working.tar.gz


June 25, 2005
Is there any possibility you could reduce this test case, at least slightly?  A five megabyte file is not the sort of thing Walter wishes to spend his time debugging, I expect, when he has so much else to work on for the compiler.

-[Unknown]


> Basically, when I compile Gunroar in Linux, with dmd version 124 or 125, (126,
> 127, and 123 all give segfaults) while it compiles, it looks like this:
> http://emhsoft.net/gunroar/broken_gunroar.png
> Note the white lines running around. (The jag in the middle is an artifact of
> taking the screenshot, ignore it.)
> 
> Dropping back to 106 (and making the relevant source changes) results in the
> display working correctly.
> 
> Here's the sourcecode:
> http://emhsoft.net/gunroar/gr_sortof_working.tar.gz
> 
> 
June 28, 2005
In article <d9jv2h$28t0$1@digitaldaemon.com>, Unknown W. Brackets says...
>
>Is there any possibility you could reduce this test case, at least slightly?  A five megabyte file is not the sort of thing Walter wishes to spend his time debugging, I expect, when he has so much else to work on for the compiler.
I was kind of hoping that someone would take one look at the screenshot, and tell me what's wrong. (So I wouldn't need to track it down.)

Anyway, I had a bit of spare time, and tracked it down properly. This appears to be a math error, that first appeared in version 123 of the compiler. (122 is fine) I'm not sure if it's Linux-specific or not. Anyway, the 9KB test file is attached.