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
On Nvidia GTX 1070 I am experiencing the following segfaults:
if glGenBuffers is called at any point with an array size that is not an exact multiple of 128, the program later segfaults when the relevant thread exits
if glDeleteBuffers is called at any point, the program segfaults when the relevant thread exits (not immediately after the call to glDeleteBuffers)
I suspect use after free in the Nvidia library implementation but I can't construct a native example with the same/similar behavior. The 128 "alignment" aspect may be specific to my particular system/JVM version and it's possible that other alignments may behave differently on different systems.
Stacktrace or crash log output
No response
The text was updated successfully, but these errors were encountered:
I cannot reproduce this (on Windows with NV GPU). Gen/DeleteBuffers have no such alignment/size requirements and it sounds very odd that they'd behave like that.
One thing you could try is replacing the int array with an IntBuffer:
Version
3.3.4
Platform
Linux x64
JDK
OpenJDK 8
Module
EGL, GLES
Bug description
On Nvidia GTX 1070 I am experiencing the following segfaults:
glGenBuffers
is called at any point with an array size that is not an exact multiple of 128, the program later segfaults when the relevant thread exitsglDeleteBuffers
is called at any point, the program segfaults when the relevant thread exits (not immediately after the call toglDeleteBuffers
)No issue on integrated Intel HD graphics.
The following will trigger the segfault after ~5 seconds, after the "exiting thread" message is displayed:
Examples of parameters which crash:
Does not crash:
I suspect use after free in the Nvidia library implementation but I can't construct a native example with the same/similar behavior. The 128 "alignment" aspect may be specific to my particular system/JVM version and it's possible that other alignments may behave differently on different systems.
Stacktrace or crash log output
No response
The text was updated successfully, but these errors were encountered: