A texture crash problem

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
KevinLuo
Posts: 23
Joined: Sat Apr 15, 2017 6:08 am

A texture crash problem

Post by KevinLuo »

Hi,

Recently, my project crashed and the dump file showed that one texture or one font caused
the crash. This is confusing. Because I can guarantee that the texture is successfully loaded by
the video driver.

So I'm wondering that whether the Irrlicht places the texture data on the graphics board. If so, is
it possible that the graphics board might release the texture data when the graphics memory is about
full? I didn't release the memory manually.

If it is impossible, maybe the stack memory is broken and the texture data is changed wrongly.

Best Regards
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: A texture crash problem

Post by CuteAlien »

Crash can have many reasons. Compile in debug (if you can also re-compile Irrlicht in debug) and post the callstack you get. And the place where it crashes. Otherwise it's hard to help. Most common reason is that you messed up pointers somewhere.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply