Jump to content
  • Advertisement
Sign in to follow this  
mihai_dmc

double data error ?

This topic is 4887 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My 3d engine (a simple one) works fine on my Pentium 4 3GHz Ati Radeon 9600 (on this computer it was developped), works fine on celeron 1.8GHz GeForce4MX, but when I put the exe on another computer (Pentium 3 1GHz TNT2) it just crashes. Using CrashFinder v2.1 I've found out that it crashes when I initialize a double. Changing that variable from double to float, it didn't crash in that point anymore but it crashed like 100 lines below, when it reached another double initialisation... Does anyone have any ideeas ? I'm really lost... Could be from the optimizing options in VisualC ? I tried changing them from optimize for P4 to P,P2,P3, without SSE or SSE2... the same...

Share this post


Link to post
Share on other sites
Advertisement
No, it looks like a hidden bug - you probably overide some memory somewhere. It migh be a good idea to run your application in the debug mode on your friends PC.
If you are able to install your IDE or a debugger on this machine, I suggest you to do so.

Regards,

Share this post


Link to post
Share on other sites
Check for out of bounds array access or other subtle memory errors. Problems with memory can pop up randomly and lead to strange errors. Like Emmanuel said, I would also suggest debugging very carefully and checking all your pointer / array / other memory access code that is nearby that particular function call that is your trouble spot.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!