[Solved] Crash when run with 8 material textures config

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.

[Solved] Crash when run with 8 material textures config

Postby mant » Sun Dec 24, 2017 1:46 pm

I changed the line to #define _IRR_MATERIAL_MAX_TEXTURES_ 8
then my app crashes at memcpy of CMatrix4's operator=
(The value of other.TextureMatrix seems fine but this.TextureMatrix is 0xffffffffffffffff)

Image

Previous call:
Image

I'm using Irrlicht 1.8.4 dynamic link on Debian 9 stable.
By reading this post here: viewtopic.php?t=38821
I also tried changing GL_MAX_TEXTURE_UNITS to GL_MAX_TEXTURE_IMAGE_UNITS_ARB or GL_MAX_TEXTURE_IMAGE_UNITS but the result is the same, crashes at the same place.
So I doubt that there's some problem with _IRR_MATERIAL_MAX_TEXTURES_
Last edited by mant on Sun Dec 24, 2017 2:26 pm, edited 2 times in total.
mant
 
Posts: 85
Joined: Sun Jan 27, 2013 3:38 pm

Re: Crashed when run with lib compiled for 8 material textur

Postby mant » Sun Dec 24, 2017 1:48 pm

There's same report here long ago: viewtopic.php?f=4&t=40125
mant
 
Posts: 85
Joined: Sun Jan 27, 2013 3:38 pm

Re: Crashed when run with lib compiled for 8 material textur

Postby mant » Sun Dec 24, 2017 2:26 pm

I forgot to update the Irrlicht headers of my app. It runs now.
mant
 
Posts: 85
Joined: Sun Jan 27, 2013 3:38 pm


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest