Maybe a regression:
After updating to 2.2.1, my app often natively crashes with SIGSEGV on
GL11.glTexImage2D(......, (ByteBuffer)null);
As GL specs states it is legal to give a null data pointer and fill the texture data later, for example with GL11.glTexSubImage2D.
This worked well for about one year, but now crashes, repeatable, occurs on at least two systems, but dependent on random circumstances it seems. Maybe the driver tries to set the texture to some memory location, see stack dump below.
Systems:
Linux 32-bit, ATI Radeon with proprietary drivers, Intel Core 2 Duo
Linux 32-bit, ATI Radeon with proprietary drivers, AMD Phenom X4
Top of stack:
C [libc.so.6+0x78bb6] memcpy+0x46
C [fglrx_dri.so+0x2f0d00]
C [liblwjgl.so+0x3a7a5] Java_org_lwjgl_opengl_GL11_nglTexImage2D+0x65
j org.lwjgl.opengl.GL11.nglTexImage2D(IIIIIIIILjava/nio/Buffer;IJ)V+0
j org.lwjgl.opengl.GL11.glTexImage2D(IIIIIIIILjava/nio/ByteBuffer;)V+76
j org.dronus.gl.Texture.<init>(IIIZ)V+204
...
any ideas?