www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - visual corruption with SDL using 125

reply evilmrhenry <evilmrhenry_member pathlink.com> writes:
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
Jun 25 2005
parent reply "Unknown W. Brackets" <unknown simplemachines.org> writes:
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
 
 

Jun 25 2005
parent evilmrhenry <evilmrhenry_member pathlink.com> writes:
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.

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.
Jun 28 2005