I've been finding lately (as i've grown as a game programmer) that many errors i usually attribute to memory corruption end up being uninitialized values. Uninitialized values can also cause regular old memory corruption, so i wanted to bring this up as something else to look for in your code. On Fri, Mar 11, 2011 at 10:45 AM, Robbert de Groot <zekaric@xxxxxxxx> wrote: > Bugs like this sound like memory corruption to me. Somewhere you are writing > outside of a buffer, writing to memory of an uninitialized pointer, writing > to already free memory or something like that. You will often get a totally > bogus stack trace with memory corruption errors. > > Time to do some old school debugging. Sprinkle your code with print > statements (to a file or to the debugger message window) and see how far you > get and when things start to get wonky. The problem is, often the place > where you start to notice things getting wonky could be far from where the > problem actually exists. > > It may not show on the machines of your buddies but that just means they > haven't seen the effects yet. If they are lucky they may never. It really > depends on what is happening. > > Robbert de Groot > > > --- On Fri, 3/11/11, luo_hei@xxxxxxxx <luo_hei@xxxxxxxx> wrote: > >> From: luo_hei@xxxxxxxx <luo_hei@xxxxxxxx> > >> El 10/03/11 18:40, Alan Wolfe >> escribió: >> > wow no... >> > >> > what's the error look like, can you give a >> screenshot? >> I will take one tonight (here I just have Linux). >> > >> > I'm curious if it's a dialog box, or if it shows in >> your compiler or what. >> Yes, it is a dialog box, shows when I run the >> program. Also, it is just in my PC, the other 2 developers >> use Visual c too but the dont get it. >> > >> > what libararies are you using in your program and what >> does it do? >> > (probably not important but you never know) >> Ogre, Lua, Openal and zlib. Have to check if the windows >> project still uses Bullet/Ogrebullet because I removed it >> from my Linux port, couldnt make it work and the forums were >> totally useless. > > > > > --------------------- > To unsubscribe go to http://gameprogrammer.com/mailinglist.html > > > --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html