You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the UpdateLoop example and I keep getting a segfault in the OpenGLTexture::recreateFromImageData() function. I've posted the stack trace if anyone wants to take a look.
I'm trying to run the UpdateLoop example and I keep getting a segfault in the OpenGLTexture::recreateFromImageData() function. I've posted the stack trace if anyone wants to take a look.
(gdb) run
Starting program: /home/phlip9/Polycode/Release/Linux/Framework/Examples/Linux/UpdateLoop
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
AL already initialized
[New Thread 0xb7fb3b40 (LWP 4098)]
[Thread 0xb7fb3b40 (LWP 4098) exited]
[New Thread 0xb7fb3b40 (LWP 4099)]
[New Thread 0xb35ffb40 (LWP 4100)]
OpenAL initialized...
Creating new core services instance...
Added archive: Resources/default.pak
Adding texture default
Program received signal SIGSEGV, Segmentation fault.
0x0044e66a in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) backtrace
#0 0x0044e66a in ?? () from /lib/i386-linux-gnu/libc.so.6
#1 0x0044afaf in strtod () from /lib/i386-linux-gnu/libc.so.6
#2 0x001e7964 in ?? () from /usr/lib/i386-linux-gnu/libGLU.so.1
#3 0x001f3530 in gluBuild2DMipmaps () from /usr/lib/i386-linux-gnu/libGLU.so.1
#4 0x08099cf2 in Polycode::OpenGLTexture::recreateFromImageData() ()
#5 0x08099e6f in Polycode::OpenGLTexture::OpenGLTexture(unsigned int, unsigned int, char*, bool, bool, int, int) ()
#6 0x08094b11 in Polycode::OpenGLRenderer::createTexture(unsigned int, unsigned int, char*, bool, bool, int) ()
#7 0x08055266 in Polycode::MaterialManager::createTexture(int, int, char*, bool, bool, int) ()
#8 0x0805546b in Polycode::MaterialManager::createTextureFromFile(Polycode::String const&, bool, bool) ()
#9 0x0806bf3c in Polycode::ResourceManager::parseTextures(Polycode::String const&, bool, Polycode::String const&) ()
#10 0x0806cbeb in Polycode::ResourceManager::addDirResource(Polycode::String const&, bool) ()
#11 0x0804ef0c in HelloPolycodeApp::HelloPolycodeApp(Polycode::PolycodeView*) ()
#12 0x0804ede7 in main ()
The text was updated successfully, but these errors were encountered: