then my app crashes at memcpy of CMatrix4's operator=
(The value of other.TextureMatrix seems fine but this.TextureMatrix is 0xffffffffffffffff)

Previous call:

I'm using Irrlicht 1.8.4 dynamic link on Debian 9 stable.
By reading this post here: http://irrlicht.sourceforge.net/forum/v ... hp?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_