software renderers compiled from source crash at map start because of snext and tnext being uninitialized in d_sky.c. giving them a value fixes the problem
Does this happen if you compile using Visual Studio? I get no crashes using gcc: do my builds crash for you?
As for the solution you are suggesting: Around line 75 of d_sky.c, initializing snext and tnext to 0 fixes the issue, correct?
yes, in visual studio 2010 yes, I initialized them as 0 right after sstep and tstep
h2.exe build from latest release works fine. btw, which h2.exe it is? there is h2 asm, h2 noasm and h2 mgl4 compiled from source
yes, in visual studio 2010
OK, I see. Did you install any service packs to it? (IIRC, there is a SP1 to VS2010.)
h2.exe build from latest release works fine.
So it is probably an MSVC issue.
btw, which h2.exe it is? there is h2 asm, h2 noasm and h2 mgl4 compiled from source
The h2.exe from the release build should correspond to h2-mgl4. The h2-compat.exe should correspond to h2-noasm.
sp1 installed. it will not compile without it
OK then. Will push a fix to the svn repo shortly.
The issue should be fixed as of svn rev. 5545: https://sourceforge.net/p/uhexen2/code/5545/
Closing as fixed.
Log in to post a comment.
Does this happen if you compile using Visual Studio?
I get no crashes using gcc: do my builds crash for you?
As for the solution you are suggesting: Around line 75
of d_sky.c, initializing snext and tnext to 0 fixes the
issue, correct?
yes, in visual studio 2010
yes, I initialized them as 0 right after sstep and tstep
h2.exe build from latest release works fine.
btw, which h2.exe it is? there is h2 asm, h2 noasm and h2 mgl4 compiled from source
OK, I see. Did you install any service packs to it?
(IIRC, there is a SP1 to VS2010.)
So it is probably an MSVC issue.
The h2.exe from the release build should correspond to h2-mgl4.
The h2-compat.exe should correspond to h2-noasm.
sp1 installed. it will not compile without it
OK then. Will push a fix to the svn repo shortly.
The issue should be fixed as of svn rev. 5545:
https://sourceforge.net/p/uhexen2/code/5545/
Closing as fixed.