2.9: Crash on OS X

Started by Simon Felix, April 22, 2013, 22:45:50

Previous topic - Next topic

Simon Felix

Hey there

The beta version of our game (http://gewaltig.net/gutknech/cultris2.app.zip) crashes on testers' OS X machines. Crashes were reported for OS X 10.6.8 and 10.8.3. This is a crashlog (full version http://pastebin.com/NfZvtiey):
Process:         JavaApplicationStub [38835]
Path:            /Users/USER/Downloads/*/Cultris.app/Contents/MacOS/JavaApplicationStub
Identifier:      ???
Version:         Cultris II (1.1)
Code Type:       X86 (Native)
Parent Process:  launchd [269]
User ID:         501
 
Date/Time:       2013-04-22 23:17:24.495 +0200
OS Version:      Mac OS X 10.8.3 (12D78)
Report Version:  10
 
Interval Since Last Report:          1620260 sec
Crashes Since Last Report:           3
Per-App Interval Since Last Report:  523422 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      4911DC14-548F-242B-7B22-B3744BC5C7AB
 
Crashed Thread:  5
 
Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
 
VM Regions Near 0:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Users/USER/Downloads/*/Cultris.app/Contents/MacOS/JavaApplicationStub
    __TEXT                 0000000000001000-0000000000002000 [    4K] r-x/rwx SM=COW  /Users/USER/Downloads/*/Cultris.app/Contents/MacOS/JavaApplicationStub
 
Application Specific Information:
Java information:
 Exception type: Bus Error (0xa) at pc=00000000022e2735
 
 Java VM: Java HotSpot(TM) Client VM (20.14-b01-447 mixed mode macosx-x86)
 
Current thread (0000000003b62400):  JavaThread "main" [_thread_in_vm, id=-1331654656, stack(00000000b0209000,00000000b0a09000)]
Stack: [00000000b0209000,00000000b0a09000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.MacOSXDisplay.nGetCurrentDisplayMode()Ljava/lang/Object;+0
j  org.lwjgl.opengl.MacOSXDisplay.char()Lorg/lwjgl/opengl/DisplayMode;+1
j  org.lwjgl.opengl.Display.<clinit>()V+69
v  ~StubRoutines::call_stub
j  gB.<clinit>()V+3427
v  ~StubRoutines::call_stub
j  net.gewaltig.cultris.Cultris.goto()V+18
j  net.gewaltig.cultris.Cultris.main([Ljava/lang/String;)V+3
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j  apple.launcher.LaunchRunner.run()V+76
j  apple.launcher.LaunchRunner.callMain()V+1
j  apple.launcher.JavaApplicationLauncher.launch(JJZ)V+11
v  ~StubRoutines::call_stub


Any ideas why it crashes?

Cheers,
Simon
Download Cultris II, the fastest Tetris clone from http://gewaltig.net/

Simon Felix

I just now realize that this post belongs to the "Lightweight Java Library Game Development" forum. Can an admin move it?

Sorry,
Simon
Download Cultris II, the fastest Tetris clone from http://gewaltig.net/