Hi guys
We spent a few hours trying to sort this problem out and we think it was due to multiple threads (with the BOOST library) running in our game so it wasn't really anything to do with irrlicht!
thanks for the help
Search found 6 matches
- Fri Apr 30, 2010 11:20 pm
- Forum: Advanced Help
- Topic: Texture coding a segmentation fault
- Replies: 11
- Views: 2063
- Wed Apr 28, 2010 10:52 pm
- Forum: Advanced Help
- Topic: Texture coding a segmentation fault
- Replies: 11
- Views: 2063
- Wed Apr 28, 2010 11:48 am
- Forum: Advanced Help
- Topic: Texture coding a segmentation fault
- Replies: 11
- Views: 2063
I finally had a seg fault when loading a texture caused by...
COpenGLTexture.cpp:477
COpenGLTexture.cpp:477
Code: Select all
glGenTextures(1, &TextureName);
- Tue Apr 27, 2010 9:50 pm
- Forum: Advanced Help
- Topic: Texture coding a segmentation fault
- Replies: 11
- Views: 2063
Thanks for the reply. We have moved to 32-bit (as we have had to move to using IrrKlang). Now there are no more seg faults (as of yet, we haven't had time to properly test it), but now the textures don't load. The first texture is fine, then the rest don't appear, but they say they are loaded! I've ...
- Tue Apr 27, 2010 4:17 pm
- Forum: Advanced Help
- Topic: Texture coding a segmentation fault
- Replies: 11
- Views: 2063
The function below causes our problem, specifically the line in bold. The function will be fine for the first texture but will bail on the second run of the function. If you need more information feel free to ask. std::string wall = pick_wall(diff, game_type); if (wall.find(QU_WALLS_DIR) != std::str...
- Fri Apr 23, 2010 12:33 pm
- Forum: Advanced Help
- Topic: Texture coding a segmentation fault
- Replies: 11
- Views: 2063
Texture coding a segmentation fault
Hi, I'm having some problems when loading textures in Irrlicht. Currently when using driver->getTexture("filename") it causes a segmentation fault, but only for some textures and only on loading the second texture (some of the time). There is no other error message (such as a "Could n...