OK, this has been driving me crazy for a couple weeks now. If anyone can help I'd really really appreciate it.
I've been developing a game for a while and have been making good progress. My development machine is running Vista x64. My game runs great on my development machine. Anyway, my program crashes and dies on two other machines I've tried it on - they are both running XP x32. Anyway, I went ahead and grabbed the latest SVN version today and compiled the opengl example with full debug symbols (so it's opengl-d.exe). It runs fine on my development machine, but crashes with no error message on both XP computers I have access to.
So I've been running a remote debugging session (with gdbserver) and I've tracked the crash down the some. The crash happens on line 23 of opengl.cpp where it goes to load the background image from disk. From there execution makes it to the sf::Image::CreateTexture() function. On line 625:
GLCheck(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, myTextureWidth, myTextureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, GetPixelsPtr()));
From there the GetPixelsPtr() function is called. That function seems to return (&myPixels[0]) successfully and then the app crashes. So I assume the crash is in GLCheck on line 625 of Image.cpp.
A final back trace shows that it segfaults somewhere in atioglxx.dll, which is an ATI driver.
Like I said, I'm using an SVN revision downloaded today.
Just wondering if anyone had any advice, or has had any similar problems. I going to keep trying, but any advice would be greatly appreciated.
Thanks!