Hey guys, i managed to crash the jvm on my setup. This is the crash log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb57f3ddd, pid=4774, tid=3078609776
#
# JRE version: 7.0_07-b10
# Java VM: Java HotSpot(TM) Client VM (23.3-b01 mixed mode linux-x86 )
# Problematic frame:
# v ~BufferBlob::jni_fast_GetLongField
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/tommassino/Programming/workspace/adventure/hs_err_pid4774.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
I tested this with openjdk aswell:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb575c71d, pid=4849, tid=3077991280
#
# JRE version: 6.0_24-b24
# Java VM: OpenJDK Client VM (20.0-b12 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.11.4
# Distribution: Ubuntu 11.04, package 6b24-1.11.4-1ubuntu0.11.04.1
# Problematic frame:
# v ~BufferBlob::jni_fast_GetLongField
#
# An error report file with more information is saved as:
# /home/tommassino/Programming/workspace/adventure/hs_err_pid4849.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
And here is the error log: http://pastebin.com/uCtKQSda
The code used to cause this is:
public static void main(String args[]) throws IOException,
InterruptedException, LWJGLException {
DisplayMode m = null;
DisplayMode[] modes = Display.getAvailableDisplayModes();
for(DisplayMode mode : modes){
m=mode;
break;
}
Display.setDisplayMode(m);
Display.setFullscreen(false);
Display.setVSyncEnabled(false);
Display.create();
}
I assume this is not intended behaviour?
Now tested with the stable release and the latest build of liblwjgl.so.
Just wanted to note that i can still render, just not onscreen. If i use a Pbuffer i can render into it, so it looks just that nSetSwapInterval crashes.