ubuntu crashes when my lwjgl game exits

Started by XSW, June 14, 2007, 20:55:55

Previous topic - Next topic

XSW

Hi,

I've just installed ubuntu on my laptop and I am testing the game I'm working on at it (www.xsw.se). It runs fine (actually alot smoother than on windows xp on the same machine), but everytime I exit the game I'm thrown out of ubuntu and have to log in again.

The graphics card is Intel 915 gms (gma 900). I'm suspecting lwjgl does something that the graphics driver does not like. (note, I'm a totally newbie in the linux world, but so far I really like ubuntu and I'm thinking of using it for development instead of xp, if I only get around this bug)

It's crashing at: org.lwjgl.opengl.LinuxDisplay.nResetDisplayMode().

I'm using the latest version of lwjgl (1.1).

I can only run the game in windowed mode, in fullscreen it crashes immediately.

Any help would be greatly appreciated!

-XSW


Below is the error log I get:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb542fcea, pid=15210, tid=3084360592
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C  [libX11.so.6+0x17cea]  XChangeKeyboardControl+0x1a
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x08058c00):  JavaThread "main" [_thread_in_native, id=15211]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x000004d0

Registers:
EAX=0xb7d78bfc, EBX=0xb5505b2c, ECX=0x00000001, EDX=0x00000540
ESP=0xb7d78b80, EBP=0xb7d78bd8, ESI=0x00000080, EDI=0x00000000
EIP=0xb542fcea, CR2=0x000004d0, EFLAGS=0x00010282

Top of Stack: (sp=0xb7d78b80)
0xb7d78b80:   b528c3fc b7d78bc0 b7f20e52 082e2ae8
0xb7d78b90:   00000000 00000001 00000001 00000000
0xb7d78ba0:   b528eff2 000002fa b5287000 00033f68
0xb7d78bb0:   b542221c b52bada8 00000000 00000000
0xb7d78bc0:   b7d78c28 b7f26300 00000540 b52bada8
0xb7d78bd0:   00000000 00000000 b7d78c28 b52a2ec2
0xb7d78be0:   00000000 00000080 b7d78bfc 00000000
0xb7d78bf0:   b7dacfd8 b52bada8 00000000 00000000

Instructions: (pc=0xb542fcea)
0xb542fcda:   7d 08 e8 66 f7 ff ff 81 c3 4b 5e 0d 00 8b 75 0c
0xb542fcea:   8b 87 d0 04 00 00 85 c0 74 05 89 3c 24 ff 10 8b

Stack: [0xb7d29000,0xb7d7a000),  sp=0xb7d78b80,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libX11.so.6+0x17cea]  XChangeKeyboardControl+0x1a
C  [liblwjgl.so+0x1bec2]
C  [liblwjgl.so+0x17b27]
C  [liblwjgl.so+0x2f696]
C  [ld-linux.so.2+0xd9ee]
C  [libc.so.6+0x2c9d9]  exit+0xe9
C  [libX11.so.6+0x3cda9]  _XIOError+0x39
C  [libX11.so.6+0x3dc36]  _XRead+0xc6
C  [libX11.so.6+0x3e654]  _XReply+0xc4
C  [liblwjgl.so+0x2f3bb]  XRRSetScreenConfigAndRate+0xea
C  [liblwjgl.so+0x18f1e]
C  [liblwjgl.so+0x19655]  resetDisplayMode+0x4d
C  [liblwjgl.so+0x1c52e]  Java_org_lwjgl_opengl_LinuxDisplay_nResetDisplayMode+0x22
j  org.lwjgl.opengl.LinuxDisplay.nResetDisplayMode()V+0
j  org.lwjgl.opengl.LinuxDisplay.resetDisplayMode()V+3
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;Lorg/lwjgl/opengl/Drawable;)V+100
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;)V+2
j  org.lwjgl.opengl.Display.create()V+7
j  raz.GameGraphics.Renderer.init(Ljava/util/Properties;)V+323
j  raz.XSWClient.Client.main([Ljava/lang/String;)V+363
v  ~StubRoutines::call_stub
V  [libjvm.so+0x20967d]
V  [libjvm.so+0x3057d8]
V  [libjvm.so+0x209510]
V  [libjvm.so+0x232916]
V  [libjvm.so+0x223fbb]
C  [java+0x1b98]  JavaMain+0x2c8
C  [libpthread.so.0+0x531b]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.LinuxDisplay.nResetDisplayMode()V+0
j  org.lwjgl.opengl.LinuxDisplay.resetDisplayMode()V+3
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;Lorg/lwjgl/opengl/Drawable;)V+100
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;)V+2
j  org.lwjgl.opengl.Display.create()V+7
j  raz.GameGraphics.Renderer.init(Ljava/util/Properties;)V+323
j  raz.XSWClient.Client.main([Ljava/lang/String;)V+363
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0830a800 JavaThread "Thread-1" [_thread_blocked, id=15229]
  0x08309800 JavaThread "SIGHUP handler" daemon [_thread_blocked, id=15228]
  0x082e1c00 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=15220]
  0x08275400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=15219]
  0x0808dc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=15217]
  0x0808c000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=15216]
  0x0808ac00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=15215]
  0x08081c00 JavaThread "Finalizer" daemon [_thread_blocked, id=15214]
  0x08080c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=15213]
=>0x08058c00 JavaThread "main" [_thread_in_native, id=15211]

Other Threads:
  0x08077400 VMThread [id=15212]
  0x0808f400 WatcherThread [id=15218]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation   total 960K, used 729K [0x8c0a0000, 0x8c1a0000, 0x8c580000)
  eden space 896K,  74% used [0x8c0a0000, 0x8c1465b0, 0x8c180000)
  from space 64K, 100% used [0x8c180000, 0x8c190000, 0x8c190000)
  to   space 64K,   0% used [0x8c190000, 0x8c190000, 0x8c1a0000)
tenured generation   total 4096K, used 337K [0x8c580000, 0x8c980000, 0x900a0000)
   the space 4096K,   8% used [0x8c580000, 0x8c5d44c8, 0x8c5d4600, 0x8c980000)
compacting perm gen  total 12288K, used 671K [0x900a0000, 0x90ca0000, 0x940a0000)
   the space 12288K,   5% used [0x900a0000, 0x90147fd8, 0x90148000, 0x90ca0000)
    ro space 8192K,  73% used [0x940a0000, 0x9467e548, 0x9467e600, 0x948a0000)
    rw space 12288K,  57% used [0x948a0000, 0x94f916c0, 0x94f91800, 0x954a0000)

Dynamic libraries:
06000000-06412000 r-xp 00000000 08:06 786789     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so
06412000-0642b000 rwxp 00411000 08:06 786789     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so
0642b000-0684a000 rwxp 0642b000 00:00 0
08048000-08052000 r-xp 00000000 08:06 685170     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java
08052000-08053000 rwxp 00009000 08:06 685170     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java
08053000-08319000 rwxp 08053000 00:00 0          [heap]
8c0a0000-8c1a0000 rwxp 8c0a0000 00:00 0
8c1a0000-8c580000 rwxp 8c1a0000 00:00 0
8c580000-8c980000 rwxp 8c580000 00:00 0
8c980000-900a0000 rwxp 8c980000 00:00 0
900a0000-90ca0000 rwxp 900a0000 00:00 0
90ca0000-940a0000 rwxp 90ca0000 00:00 0
940a0000-9467f000 r-xs 00001000 08:06 786807     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/classes.jsa
9467f000-948a0000 rwxp 9467f000 00:00 0
948a0000-94f92000 rwxp 005e0000 08:06 786807     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/classes.jsa
94f92000-954a0000 rwxp 94f92000 00:00 0
954a0000-95579000 rwxp 00cd2000 08:06 786807     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/classes.jsa
95579000-958a0000 rwxp 95579000 00:00 0
958a0000-958a4000 r-xs 00dab000 08:06 786807     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/classes.jsa
958a4000-95ca0000 rwxp 958a4000 00:00 0
b4890000-b4893000 rwxp b4890000 00:00 0
b4893000-b48e1000 rwxp b4893000 00:00 0
b48e1000-b48e4000 ---p b48e1000 00:00 0
b48e4000-b4932000 rwxp b48e4000 00:00 0
b4932000-b4935000 ---p b4932000 00:00 0
b4935000-b4983000 rwxp b4935000 00:00 0
b4983000-b498b000 r-xp 00000000 08:06 652954     /usr/lib/libdrm.so.2.3.0
b498b000-b498c000 rwxp 00008000 08:06 652954     /usr/lib/libdrm.so.2.3.0
b498c000-b4990000 r-xp 00000000 08:06 652845     /usr/lib/libXxf86vm.so.1.0.0
b4990000-b4991000 rwxp 00003000 08:06 652845     /usr/lib/libXxf86vm.so.1.0.0
b4991000-b49ee000 r-xp 00000000 08:06 652757     /usr/lib/libGL.so.1.2
b49ee000-b49f0000 rwxp 0005d000 08:06 652757     /usr/lib/libGL.so.1.2
b49f0000-b49f1000 rwxp b49f0000 00:00 0
b49f1000-b49f2000 ---p b49f1000 00:00 0
b49f2000-b51f2000 rwxp b49f2000 00:00 0
b51f2000-b5232000 r-xp 00000000 08:06 1174372    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/libopenal.so
b5232000-b5233000 rwxp 00040000 08:06 1174372    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/libopenal.so
b5233000-b5287000 rwxp b5233000 00:00 0
b5287000-b52ba000 r-xp 00000000 08:06 1174371    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/liblwjgl.so
b52ba000-b52bc000 rwxp 00032000 08:06 1174371    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/liblwjgl.so
b52bc000-b52be000 rwxp b52bc000 00:00 0
b52be000-b52c1000 ---p b52be000 00:00 0
b52c1000-b530f000 rwxp b52c1000 00:00 0
b530f000-b5313000 r-xp 00000000 08:06 652811     /usr/lib/libXfixes.so.3.1.0
b5313000-b5314000 rwxp 00003000 08:06 652811     /usr/lib/libXfixes.so.3.1.0
b5314000-b531b000 r-xp 00000000 08:06 652831     /usr/lib/libXrender.so.1.3.0
b531b000-b531c000 rwxp 00006000 08:06 652831     /usr/lib/libXrender.so.1.3.0
b531c000-b5324000 r-xp 00000000 08:06 652801     /usr/lib/libXcursor.so.1.0.2
b5324000-b5325000 rwxp 00007000 08:06 652801     /usr/lib/libXcursor.so.1.0.2
b5325000-b5328000 ---p b5325000 00:00 0
b5328000-b5376000 rwxp b5328000 00:00 0
b5376000-b53f4000 r-xp 00000000 08:06 685217     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libfontmanager.so
b53f4000-b53fe000 rwxp 0007e000 08:06 685217     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libfontmanager.so
b53fe000-b5403000 rwxp b53fe000 00:00 0
b5403000-b5407000 r-xp 00000000 08:06 652805     /usr/lib/libXdmcp.so.6.0.0
b5407000-b5408000 rwxp 00003000 08:06 652805     /usr/lib/libXdmcp.so.6.0.0
b5408000-b540a000 r-xp 00000000 08:06 652794     /usr/lib/libXau.so.6.0.0
b540a000-b540b000 rwxp 00001000 08:06 652794     /usr/lib/libXau.so.6.0.0
b540b000-b5412000 r-xp 00000000 08:06 652817     /usr/lib/libXi.so.6.0.0
b5412000-b5413000 rwxp 00006000 08:06 652817     /usr/lib/libXi.so.6.0.0
b5413000-b5417000 r-xp 00000000 08:06 652837     /usr/lib/libXtst.so.6.1.0
b5417000-b5418000 rwxp 00003000 08:06 652837     /usr/lib/libXtst.so.6.1.0
b5418000-b5505000 r-xp 00000000 08:06 652788     /usr/lib/libX11.so.6.2.0
b5505000-b5509000 rwxp 000ed000 08:06 652788     /usr/lib/libX11.so.6.2.0
b5509000-b5516000 r-xp 00000000 08:06 652809     /usr/lib/libXext.so.6.4.0
b5516000-b5517000 rwxp 0000d000 08:06 652809     /usr/lib/libXext.so.6.4.0
b5521000-b555f000 r-xp 00000000 08:06 866040     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so
b555f000-b5562000 rwxp 0003d000 08:06 866040     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so
b5562000-b5628000 r-xp 00000000 08:06 685214     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libmlib_image.so
b5628000-b5629000 rwxp 000c5000 08:06 685214     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libmlib_image.so
b5629000-b56a4000 r-xp 00000000 08:06 685215     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libawt.so
b56a4000-b56ab000 rwxp 0007b000 08:06 685215     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libawt.so
b56ab000-b56cf000 rwxp b56ab000 00:00 0
b56cf000-b56d5000 r-xs 00053000 08:06 1174368    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/lwjgl.jar
b56d5000-b56d6000 r-xs 00001000 08:06 1174379    /home/rasmus/Desktop/eclipse workspace/xsw/lib/gagetimer/timer.jar
b56d6000-b5706000 rwxp b56d6000 00:00 0
b5706000-b5880000 r-xs 02c68000 08:06 685257     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar
b5880000-b5881000 ---p b5880000 00:00 0
b5881000-b5901000 rwxp b5881000 00:00 0
b5901000-b5904000 ---p b5901000 00:00 0
b5904000-b5952000 rwxp b5904000 00:00 0
b5952000-b5955000 ---p b5952000 00:00 0
b5955000-b59d3000 rwxp b5955000 00:00 0
b59d3000-b59d6000 ---p b59d3000 00:00 0
b59d6000-b5a24000 rwxp b59d6000 00:00 0
b5a24000-b5a2b000 r-xs 00000000 08:06 1319563    /usr/lib/gconv/gconv-modules.cache
b5a2b000-b5a66000 r-xp 00000000 08:06 701756     /usr/lib/locale/en_US.utf8/LC_CTYPE
b5a66000-b5a69000 ---p b5a66000 00:00 0
b5a69000-b5ab7000 rwxp b5a69000 00:00 0
b5ab7000-b5aba000 ---p b5ab7000 00:00 0
b5aba000-b5b08000 rwxp b5aba000 00:00 0
b5b08000-b5b09000 ---p b5b08000 00:00 0
b5b09000-b5b9c000 rwxp b5b09000 00:00 0
b5b9c000-b5bb6000 rwxp b5b9c000 00:00 0
b5bb6000-b5bb9000 rwxp b5bb6000 00:00 0
b5bb9000-b5bd4000 rwxp b5bb9000 00:00 0
b5bd4000-b5bd5000 rwxp b5bd4000 00:00 0
b5bd5000-b5bd6000 rwxp b5bd5000 00:00 0
b5bd6000-b5bd9000 rwxp b5bd6000 00:00 0
b5bd9000-b5bf4000 rwxp b5bd9000 00:00 0
b5bf4000-b5bfa000 rwxp b5bf4000 00:00 0
b5bfa000-b5c14000 rwxp b5bfa000 00:00 0
b5c14000-b5c22000 rwxp b5c14000 00:00 0
b5c22000-b5c9f000 rwxp b5c22000 00:00 0
b5c9f000-b5d4f000 rwxp b5c9f000 00:00 0
b5d4f000-b7c9f000 rwxp b5d4f000 00:00 0
b7c9f000-b7cae000 r-xp 00000000 08:06 685200     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libzip.so
b7cae000-b7cb0000 rwxp 0000e000 08:06 685200     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libzip.so
b7cb0000-b7cd3000 r-xp 00000000 08:06 685199     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjava.so
b7cd3000-b7cd5000 rwxp 00023000 08:06 685199     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjava.so
b7cd5000-b7ce0000 r-xp 00000000 08:06 685198     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libverify.so
b7ce0000-b7ce1000 rwxp 0000b000 08:06 685198     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libverify.so
b7ce1000-b7cea000 r-xp 00000000 08:06 1141332    /lib/tls/i686/cmov/libnss_files-2.5.so
b7cea000-b7cec000 rwxp 00008000 08:06 1141332    /lib/tls/i686/cmov/libnss_files-2.5.so
b7cec000-b7cf4000 r-xp 00000000 08:06 1141336    /lib/tls/i686/cmov/libnss_nis-2.5.so
b7cf4000-b7cf6000 rwxp 00007000 08:06 1141336    /lib/tls/i686/cmov/libnss_nis-2.5.so
b7cf6000-b7cfd000 r-xp 00000000 08:06 1141328    /lib/tls/i686/cmov/libnss_compat-2.5.so
b7cfd000-b7cff000 rwxp 00006000 08:06 1141328    /lib/tls/i686/cmov/libnss_compat-2.5.so
b7cff000-b7d12000 r-xp 00000000 08:06 1141326    /lib/tls/i686/cmov/libnsl-2.5.so
b7d12000-b7d14000 rwxp 00012000 08:06 1141326    /lib/tls/i686/cmov/libnsl-2.5.so
b7d14000-b7d16000 rwxp b7d14000 00:00 0
b7d16000-b7d17000 r-xp 00000000 08:06 685223     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjawt.so
b7d17000-b7d18000 rwxp 00000000 08:06 685223     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjawt.so
b7d18000-b7d20000 rwxs 00000000 08:06 586439     /tmp/hsperfdata_rasmus/15210
b7d20000-b7d27000 r-xp 00000000 08:06 1141345    /lib/tls/i686/cmov/librt-2.5.so
b7d27000-b7d29000 rwxp 00006000 08:06 1141345    /lib/tls/i686/cmov/librt-2.5.so
b7d29000-b7d2c000 ---p b7d29000 00:00 0
b7d2c000-b7d7a000 rwxp b7d2c000 00:00 0
b7d7a000-b7d9f000 r-xp 00000000 08:06 1141323    /lib/tls/i686/cmov/libm-2.5.so
b7d9f000-b7da1000 rwxp 00024000 08:06 1141323    /lib/tls/i686/cmov/libm-2.5.so
b7da1000-b7da2000 rwxp b7da1000 00:00 0
b7da2000-b7edd000 r-xp 00000000 08:06 1141315    /lib/tls/i686/cmov/libc-2.5.so
b7edd000-b7ede000 r-xp 0013b000 08:06 1141315    /lib/tls/i686/cmov/libc-2.5.so
b7ede000-b7ee0000 rwxp 0013c000 08:06 1141315    /lib/tls/i686/cmov/libc-2.5.so
b7ee0000-b7ee3000 rwxp b7ee0000 00:00 0
b7ee3000-b7ee5000 r-xp 00000000 08:06 1141321    /lib/tls/i686/cmov/libdl-2.5.so
b7ee5000-b7ee7000 rwxp 00001000 08:06 1141321    /lib/tls/i686/cmov/libdl-2.5.so
b7ee7000-b7eee000 r-xp 00000000 08:06 866038     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/jli/libjli.so
b7eee000-b7ef0000 rwxp 00006000 08:06 866038     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/jli/libjli.so
b7ef0000-b7ef1000 rwxp b7ef0000 00:00 0
b7ef1000-b7f04000 r-xp 00000000 08:06 1141341    /lib/tls/i686/cmov/libpthread-2.5.so
b7f04000-b7f06000 rwxp 00013000 08:06 1141341    /lib/tls/i686/cmov/libpthread-2.5.so
b7f06000-b7f08000 rwxp b7f06000 00:00 0
b7f09000-b7f0f000 r-xp 00000000 08:06 685190     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/native_threads/libhpi.so
b7f0f000-b7f10000 rwxp 00006000 08:06 685190     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/native_threads/libhpi.so
b7f10000-b7f11000 rwxp b7f10000 00:00 0
b7f11000-b7f12000 r-xp b7f11000 00:00 0
b7f12000-b7f14000 rwxp b7f12000 00:00 0
b7f14000-b7f2d000 r-xp 00000000 08:06 1107605    /lib/ld-2.5.so
b7f2d000-b7f2f000 rwxp 00019000 08:06 1107605    /lib/ld-2.5.so
bfa31000-bfa47000 rwxp bfa31000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]

VM Arguments:
jvm_args: -Djava.library.path=deploy/Linux/xsw/lib/lwjgl
java_command: raz.XSWClient.Client
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
USERNAME=rasmus
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/i386
SHELL=/bin/bash
DISPLAY=:0.0

Signal Handlers:
SIGSEGV: [libjvm.so+0x3aea90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3aea90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004


---------------  S Y S T E M  ---------------

OS:4.0

uname:Linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0.77 0.44 0.26

CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 2066472k(1667108k free), swap 3903752k(3871980k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for linux-x86, built on Nov 29 2006 01:24:38 by "java_re" with gcc 3.2.1-7a (J2SE release)

elias

I can't seem to reproduce this crash on my setup (ubuntu 7.04, radeon 9700, open source drivers). Could you try with the latest version? Download here:

http://oddlabs.com/lwjgl_20070615.zip

If it crashes again, I'd like to see the new log file.

- elias


XSW

Yep, same crash with that version. I don't think it's a problem with lwjgl or ubuntu, it is probably a bug in the graphics driver triggered by an opengl command that happens when resetting the display. I get the same thing in an empty app by just creating an lwjgl display and then closing it. Everything else works fine, well actually it doesn't render the top and bottom lines on wireframed rectangles I'm doing but apart from that it works as it should.

As I said I'm new to this and don't have expericence twidling with drivers and such. I ran the command:

sudo apt-get install xserver-xorg-video-intel

which I found on some site, to install the latest intel driver. It corrected an issue I had with wrong screen resolution.
Anyone else has a problem with intel gma 900 and lwjgl?

Here is the error log for the run with the newest lwjgl:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb54becea, pid=23354, tid=2946833296
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C  [libX11.so.6+0x17cea]  XChangeKeyboardControl+0x1a
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x088f7c00):  JavaThread "Thread-1" [_thread_in_native, id=23367]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x000004d0

Registers:
EAX=0xafa50b2c, EBX=0xb5594b2c, ECX=0x00000001, EDX=0x00000540
ESP=0xafa50ab0, EBP=0xafa50b08, ESI=0x00000080, EDI=0x00000000
EIP=0xb54becea, CR2=0x000004d0, EFLAGS=0x00210282

Top of Stack: (sp=0xafa50ab0)
0xafa50ab0:   b7fabb79 06004848 b55b8d8b b7fa35ba
0xafa50ac0:   00000000 00000000 00000000 afa50b04
0xafa50ad0:   b7fabb79 00000000 00000000 b7f7f578
0xafa50ae0:   00000000 0bea6495 b7fbcff4 082e5848
0xafa50af0:   b531bf2c afa50b30 b7fafe52 b5349da8
0xafa50b00:   00000000 00000000 afa50b58 b5331ec2
0xafa50b10:   00000000 00000080 afa50b2c 00000000
0xafa50b20:   b7e3bfd8 b5349da8 00000000 00000000

Instructions: (pc=0xb54becea)
0xb54becda:   7d 08 e8 66 f7 ff ff 81 c3 4b 5e 0d 00 8b 75 0c
0xb54becea:   8b 87 d0 04 00 00 85 c0 74 05 89 3c 24 ff 10 8b

Stack: [0xafa01000,0xafa52000),  sp=0xafa50ab0,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libX11.so.6+0x17cea]  XChangeKeyboardControl+0x1a
C  [liblwjgl.so+0x1bec2]
C  [liblwjgl.so+0x17b27]
C  [liblwjgl.so+0x2f696]
C  [ld-linux.so.2+0xd9ee]
C  [libc.so.6+0x2c9d9]  exit+0xe9
C  [libX11.so.6+0x3cda9]  _XIOError+0x39
C  [libX11.so.6+0x3dc36]  _XRead+0xc6
C  [libX11.so.6+0x3e654]  _XReply+0xc4
C  [liblwjgl.so+0x2f3bb]  XRRSetScreenConfigAndRate+0xea
C  [liblwjgl.so+0x18f1e]
C  [liblwjgl.so+0x19655]  resetDisplayMode+0x4d
C  [liblwjgl.so+0x1c52e]  Java_org_lwjgl_opengl_LinuxDisplay_nResetDisplayMode+0x22
j  org.lwjgl.opengl.LinuxDisplay.nResetDisplayMode()V+0
j  org.lwjgl.opengl.LinuxDisplay.resetDisplayMode()V+3
j  org.lwjgl.opengl.Display.reset()V+3
j  org.lwjgl.opengl.Display.access$000()V+0
j  org.lwjgl.opengl.Display$1$1.run()V+0
v  ~StubRoutines::call_stub
V  [libjvm.so+0x20967d]
V  [libjvm.so+0x3057d8]
V  [libjvm.so+0x208f90]
V  [libjvm.so+0x20901d]
V  [libjvm.so+0x279215]
V  [libjvm.so+0x38035f]
V  [libjvm.so+0x3066b3]
C  [libpthread.so.0+0x531b]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.LinuxDisplay.nResetDisplayMode()V+0
j  org.lwjgl.opengl.LinuxDisplay.resetDisplayMode()V+3
j  org.lwjgl.opengl.Display.reset()V+3
j  org.lwjgl.opengl.Display.access$000()V+0
j  org.lwjgl.opengl.Display$1$1.run()V+0
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x08870000 JavaThread "SIGHUP handler" daemon [_thread_blocked, id=23379]
=>0x088f7c00 JavaThread "Thread-1" [_thread_in_native, id=23367]
  0x082e4800 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=23365]
  0x082d2800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=23364]
  0x0808dc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=23362]
  0x0808c000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=23361]
  0x0808ac00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=23360]
  0x08081c00 JavaThread "Finalizer" daemon [_thread_blocked, id=23359]
  0x08080c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=23358]
  0x08058c00 JavaThread "main" [_thread_blocked, id=23356]

Other Threads:
  0x08077400 VMThread [id=23357]
  0x0808f400 WatcherThread [id=23363]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation   total 960K, used 862K [0x8c0a0000, 0x8c1a0000, 0x8c580000)
  eden space 896K,  90% used [0x8c0a0000, 0x8c16b580, 0x8c180000)
  from space 64K,  77% used [0x8c190000, 0x8c19c5a0, 0x8c1a0000)
  to   space 64K,   0% used [0x8c180000, 0x8c180000, 0x8c190000)
tenured generation   total 4096K, used 399K [0x8c580000, 0x8c980000, 0x900a0000)
   the space 4096K,   9% used [0x8c580000, 0x8c5e3dc8, 0x8c5e3e00, 0x8c980000)
compacting perm gen  total 12288K, used 1146K [0x900a0000, 0x90ca0000, 0x940a0000)
   the space 12288K,   9% used [0x900a0000, 0x901be980, 0x901bea00, 0x90ca0000)
    ro space 8192K,  73% used [0x940a0000, 0x9467e548, 0x9467e600, 0x948a0000)
    rw space 12288K,  57% used [0x948a0000, 0x94f916c0, 0x94f91800, 0x954a0000)

Dynamic libraries:
06000000-06412000 r-xp 00000000 08:06 786789     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so
06412000-0642b000 rwxp 00411000 08:06 786789     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so
0642b000-0684a000 rwxp 0642b000 00:00 0
08048000-08052000 r-xp 00000000 08:06 685170     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java
08052000-08053000 rwxp 00009000 08:06 685170     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java
08053000-089d1000 rwxp 08053000 00:00 0          [heap]
8c0a0000-8c1a0000 rwxp 8c0a0000 00:00 0
8c1a0000-8c580000 rwxp 8c1a0000 00:00 0
8c580000-8c980000 rwxp 8c580000 00:00 0
8c980000-900a0000 rwxp 8c980000 00:00 0
900a0000-90ca0000 rwxp 900a0000 00:00 0
90ca0000-940a0000 rwxp 90ca0000 00:00 0
940a0000-9467f000 r-xs 00001000 08:06 786807     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/classes.jsa
9467f000-948a0000 rwxp 9467f000 00:00 0
948a0000-94f92000 rwxp 005e0000 08:06 786807     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/classes.jsa
94f92000-954a0000 rwxp 94f92000 00:00 0
954a0000-95579000 rwxp 00cd2000 08:06 786807     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/classes.jsa
95579000-958a0000 rwxp 95579000 00:00 0
958a0000-958a4000 r-xs 00dab000 08:06 786807     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/classes.jsa
958a4000-95ca0000 rwxp 958a4000 00:00 0
af9b0000-af9b3000 ---p af9b0000 00:00 0
af9b3000-afa01000 rwxp af9b3000 00:00 0
afa01000-afa04000 ---p afa01000 00:00 0
afa04000-aff9c000 rwxp afa04000 00:00 0
aff9c000-b1f9c000 rwxs c8000000 00:0d 17628      /dev/dri/card0
b1f9c000-b299c000 rwxs c5000000 00:0d 17628      /dev/dri/card0
b299c000-b339c000 rwxs c4000000 00:0d 17628      /dev/dri/card0
b339c000-b3d9c000 rwxs 280fa000 00:0d 17628      /dev/dri/card0
b3d9c000-b479c000 rwxs c07d0000 00:0d 17628      /dev/dri/card0
b479c000-b47ba000 r-xp 00000000 08:06 652990     /usr/lib/libexpat.so.1.0.0
b47ba000-b47bc000 rwxp 0001d000 08:06 652990     /usr/lib/libexpat.so.1.0.0
b47bc000-b49f8000 r-xp 00000000 08:06 1075017    /usr/lib/dri/i915_dri.so
b49f8000-b4a07000 rwxp 0023c000 08:06 1075017    /usr/lib/dri/i915_dri.so
b4a07000-b4a12000 rwxp b4a07000 00:00 0
b4a12000-b4a1a000 r-xp 00000000 08:06 652954     /usr/lib/libdrm.so.2.3.0
b4a1a000-b4a1b000 rwxp 00008000 08:06 652954     /usr/lib/libdrm.so.2.3.0
b4a1b000-b4a1f000 r-xp 00000000 08:06 652845     /usr/lib/libXxf86vm.so.1.0.0
b4a1f000-b4a20000 rwxp 00003000 08:06 652845     /usr/lib/libXxf86vm.so.1.0.0
b4a20000-b4a7d000 r-xp 00000000 08:06 652757     /usr/lib/libGL.so.1.2
b4a7d000-b4a7f000 rwxp 0005d000 08:06 652757     /usr/lib/libGL.so.1.2
b4a7f000-b4a80000 rwxp b4a7f000 00:00 0
b4a80000-b4a81000 ---p b4a80000 00:00 0
b4a81000-b5281000 rwxp b4a81000 00:00 0
b5281000-b52c1000 r-xp 00000000 08:06 1174372    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/libopenal.so
b52c1000-b52c2000 rwxp 00040000 08:06 1174372    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/libopenal.so
b52c2000-b5316000 rwxp b52c2000 00:00 0
b5316000-b5349000 r-xp 00000000 08:06 1174371    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/liblwjgl.so
b5349000-b534b000 rwxp 00032000 08:06 1174371    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/liblwjgl.so
b534b000-b534d000 rwxp b534b000 00:00 0
b534d000-b5350000 ---p b534d000 00:00 0
b5350000-b539e000 rwxp b5350000 00:00 0
b539e000-b53a2000 r-xp 00000000 08:06 652811     /usr/lib/libXfixes.so.3.1.0
b53a2000-b53a3000 rwxp 00003000 08:06 652811     /usr/lib/libXfixes.so.3.1.0
b53a3000-b53aa000 r-xp 00000000 08:06 652831     /usr/lib/libXrender.so.1.3.0
b53aa000-b53ab000 rwxp 00006000 08:06 652831     /usr/lib/libXrender.so.1.3.0
b53ab000-b53b3000 r-xp 00000000 08:06 652801     /usr/lib/libXcursor.so.1.0.2
b53b3000-b53b4000 rwxp 00007000 08:06 652801     /usr/lib/libXcursor.so.1.0.2
b53b4000-b53b7000 ---p b53b4000 00:00 0
b53b7000-b5405000 rwxp b53b7000 00:00 0
b5405000-b5483000 r-xp 00000000 08:06 685217     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libfontmanager.so
b5483000-b548d000 rwxp 0007e000 08:06 685217     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libfontmanager.so
b548d000-b5492000 rwxp b548d000 00:00 0
b5492000-b5496000 r-xp 00000000 08:06 652805     /usr/lib/libXdmcp.so.6.0.0
b5496000-b5497000 rwxp 00003000 08:06 652805     /usr/lib/libXdmcp.so.6.0.0
b5497000-b5499000 r-xp 00000000 08:06 652794     /usr/lib/libXau.so.6.0.0
b5499000-b549a000 rwxp 00001000 08:06 652794     /usr/lib/libXau.so.6.0.0
b549a000-b54a1000 r-xp 00000000 08:06 652817     /usr/lib/libXi.so.6.0.0
b54a1000-b54a2000 rwxp 00006000 08:06 652817     /usr/lib/libXi.so.6.0.0
b54a2000-b54a6000 r-xp 00000000 08:06 652837     /usr/lib/libXtst.so.6.1.0
b54a6000-b54a7000 rwxp 00003000 08:06 652837     /usr/lib/libXtst.so.6.1.0
b54a7000-b5594000 r-xp 00000000 08:06 652788     /usr/lib/libX11.so.6.2.0
b5594000-b5598000 rwxp 000ed000 08:06 652788     /usr/lib/libX11.so.6.2.0
b5598000-b55a5000 r-xp 00000000 08:06 652809     /usr/lib/libXext.so.6.4.0
b55a5000-b55a6000 rwxp 0000d000 08:06 652809     /usr/lib/libXext.so.6.4.0
b55a9000-b55ab000 r-xs 00006000 08:06 1174375    /home/rasmus/Desktop/eclipse workspace/xsw/lib/javapng-2.0-rc6.jar
b55ab000-b55ae000 r-xs 0001a000 08:06 1174370    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/lwjgl_util.jar
b55ae000-b55b0000 rwxs f8acc000 00:0d 17628      /dev/dri/card0
b55b0000-b55ee000 r-xp 00000000 08:06 866040     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so
b55ee000-b55f1000 rwxp 0003d000 08:06 866040     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so
b55f1000-b56b7000 r-xp 00000000 08:06 685214     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libmlib_image.so
b56b7000-b56b8000 rwxp 000c5000 08:06 685214     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libmlib_image.so
b56b8000-b5733000 r-xp 00000000 08:06 685215     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libawt.so
b5733000-b573a000 rwxp 0007b000 08:06 685215     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libawt.so
b573a000-b575e000 rwxp b573a000 00:00 0
b575e000-b5764000 r-xs 00053000 08:06 1174368    /home/rasmus/Desktop/eclipse workspace/xsw/deploy/Linux/xsw/lib/lwjgl/lwjgl.jar
b5764000-b5765000 r-xs 00001000 08:06 1174379    /home/rasmus/Desktop/eclipse workspace/xsw/lib/gagetimer/timer.jar
b5765000-b5795000 rwxp b5765000 00:00 0
b5795000-b590f000 r-xs 02c68000 08:06 685257     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar
b590f000-b5910000 ---p b590f000 00:00 0
b5910000-b5990000 rwxp b5910000 00:00 0
b5990000-b5993000 ---p b5990000 00:00 0
b5993000-b59e1000 rwxp b5993000 00:00 0
b59e1000-b59e4000 ---p b59e1000 00:00 0
b59e4000-b5a62000 rwxp b59e4000 00:00 0
b5a62000-b5a65000 ---p b5a62000 00:00 0
b5a65000-b5ab3000 rwxp b5a65000 00:00 0
b5ab3000-b5aba000 r-xs 00000000 08:06 1319563    /usr/lib/gconv/gconv-modules.cache
b5aba000-b5af5000 r-xp 00000000 08:06 701756     /usr/lib/locale/en_US.utf8/LC_CTYPE
b5af5000-b5af8000 ---p b5af5000 00:00 0
b5af8000-b5b46000 rwxp b5af8000 00:00 0
b5b46000-b5b49000 ---p b5b46000 00:00 0
b5b49000-b5b97000 rwxp b5b49000 00:00 0
b5b97000-b5b98000 ---p b5b97000 00:00 0
b5b98000-b5c2b000 rwxp b5b98000 00:00 0
b5c2b000-b5c45000 rwxp b5c2b000 00:00 0
b5c45000-b5c48000 rwxp b5c45000 00:00 0
b5c48000-b5c63000 rwxp b5c48000 00:00 0
b5c63000-b5c64000 rwxp b5c63000 00:00 0
b5c64000-b5c65000 rwxp b5c64000 00:00 0
b5c65000-b5c68000 rwxp b5c65000 00:00 0
b5c68000-b5c83000 rwxp b5c68000 00:00 0
b5c83000-b5c89000 rwxp b5c83000 00:00 0
b5c89000-b5ca3000 rwxp b5c89000 00:00 0
b5ca3000-b5cb1000 rwxp b5ca3000 00:00 0
b5cb1000-b5d2e000 rwxp b5cb1000 00:00 0
b5d2e000-b5dee000 rwxp b5d2e000 00:00 0
b5dee000-b7d2e000 rwxp b5dee000 00:00 0
b7d2e000-b7d3d000 r-xp 00000000 08:06 685200     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libzip.so
b7d3d000-b7d3f000 rwxp 0000e000 08:06 685200     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libzip.so
b7d3f000-b7d62000 r-xp 00000000 08:06 685199     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjava.so
b7d62000-b7d64000 rwxp 00023000 08:06 685199     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjava.so
b7d64000-b7d6f000 r-xp 00000000 08:06 685198     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libverify.so
b7d6f000-b7d70000 rwxp 0000b000 08:06 685198     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libverify.so
b7d70000-b7d79000 r-xp 00000000 08:06 1141332    /lib/tls/i686/cmov/libnss_files-2.5.so
b7d79000-b7d7b000 rwxp 00008000 08:06 1141332    /lib/tls/i686/cmov/libnss_files-2.5.so
b7d7b000-b7d83000 r-xp 00000000 08:06 1141336    /lib/tls/i686/cmov/libnss_nis-2.5.so
b7d83000-b7d85000 rwxp 00007000 08:06 1141336    /lib/tls/i686/cmov/libnss_nis-2.5.so
b7d85000-b7d8c000 r-xp 00000000 08:06 1141328    /lib/tls/i686/cmov/libnss_compat-2.5.so
b7d8c000-b7d8e000 rwxp 00006000 08:06 1141328    /lib/tls/i686/cmov/libnss_compat-2.5.so
b7d8e000-b7da1000 r-xp 00000000 08:06 1141326    /lib/tls/i686/cmov/libnsl-2.5.so
b7da1000-b7da3000 rwxp 00012000 08:06 1141326    /lib/tls/i686/cmov/libnsl-2.5.so
b7da3000-b7da5000 rwxp b7da3000 00:00 0
b7da5000-b7da6000 r-xp 00000000 08:06 685223     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjawt.so
b7da6000-b7da7000 rwxp 00000000 08:06 685223     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjawt.so
b7da7000-b7daf000 rwxs 00000000 08:06 586451     /tmp/hsperfdata_rasmus/23354
b7daf000-b7db6000 r-xp 00000000 08:06 1141345    /lib/tls/i686/cmov/librt-2.5.so
b7db6000-b7db8000 rwxp 00006000 08:06 1141345    /lib/tls/i686/cmov/librt-2.5.so
b7db8000-b7dbb000 ---p b7db8000 00:00 0
b7dbb000-b7e09000 rwxp b7dbb000 00:00 0
b7e09000-b7e2e000 r-xp 00000000 08:06 1141323    /lib/tls/i686/cmov/libm-2.5.so
b7e2e000-b7e30000 rwxp 00024000 08:06 1141323    /lib/tls/i686/cmov/libm-2.5.so
b7e30000-b7e31000 rwxp b7e30000 00:00 0
b7e31000-b7f6c000 r-xp 00000000 08:06 1141315    /lib/tls/i686/cmov/libc-2.5.so
b7f6c000-b7f6d000 r-xp 0013b000 08:06 1141315    /lib/tls/i686/cmov/libc-2.5.so
b7f6d000-b7f6f000 rwxp 0013c000 08:06 1141315    /lib/tls/i686/cmov/libc-2.5.so
b7f6f000-b7f72000 rwxp b7f6f000 00:00 0
b7f72000-b7f74000 r-xp 00000000 08:06 1141321    /lib/tls/i686/cmov/libdl-2.5.so
b7f74000-b7f76000 rwxp 00001000 08:06 1141321    /lib/tls/i686/cmov/libdl-2.5.so
b7f76000-b7f7d000 r-xp 00000000 08:06 866038     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/jli/libjli.so
b7f7d000-b7f7f000 rwxp 00006000 08:06 866038     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/jli/libjli.so
b7f7f000-b7f80000 rwxp b7f7f000 00:00 0
b7f80000-b7f93000 r-xp 00000000 08:06 1141341    /lib/tls/i686/cmov/libpthread-2.5.so
b7f93000-b7f95000 rwxp 00013000 08:06 1141341    /lib/tls/i686/cmov/libpthread-2.5.so
b7f95000-b7f97000 rwxp b7f95000 00:00 0
b7f98000-b7f9e000 r-xp 00000000 08:06 685190     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/native_threads/libhpi.so
b7f9e000-b7f9f000 rwxp 00006000 08:06 685190     /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/native_threads/libhpi.so
b7f9f000-b7fa0000 rwxp b7f9f000 00:00 0
b7fa0000-b7fa1000 r-xp b7fa0000 00:00 0
b7fa1000-b7fa3000 rwxp b7fa1000 00:00 0
b7fa3000-b7fbc000 r-xp 00000000 08:06 1107605    /lib/ld-2.5.so
b7fbc000-b7fbe000 rwxp 00019000 08:06 1107605    /lib/ld-2.5.so
bfdd9000-bfdee000 rwxp bfdd9000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]

VM Arguments:
jvm_args: -Djava.library.path=deploy/Linux/xsw/lib/lwjgl
java_command: raz.XSWClient.Client
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
USERNAME=rasmus
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/i386
SHELL=/bin/bash
DISPLAY=:0.0

Signal Handlers:
SIGSEGV: [libjvm.so+0x3aea90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3aea90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004


---------------  S Y S T E M  ---------------

OS:4.0

uname:Linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0.59 0.27 0.16

CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 2066472k(1747032k free), swap 3903752k(3869928k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for linux-x86, built on Nov 29 2006 01:24:38 by "java_re" with gcc 3.2.1-7a (J2SE release)

elias

It doesn't look  like you're using the correct version of LWJGL, or you're posting the wrong crash report. The report includes the "nResetDisplayMode" call, which doesn't exist in LinuxDisplay anymore. Make sure you've deleted all older versions of LWJGL and check that Sys.getVersion() gives you "1.1".

- elias

XSW

You were correct, I actually compiled it on one version and ran it on another  :-[.

But when I fixed it so it runs on 1.1 it still crashes only now I don't get an error log at all, I'm just thrown out of the Xserver and have to log in again...  ???