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.
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. begin 0644 dmdtest.d M<'5B;&EC(&EN="!M86EN*&-H87);75M=(&%R9W,I('L*"69L;V%T(&1E9SL* M"69O<B`H:6YT(&L /2`P.R!K(#P ,38[(&LK*RD >PH)"69O<B`H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