Bug 738 - EXC_BAD_ACCESS (SIGSEGV) in jogamp.nativewindow.jawt.macosx.MacOSXJAWTWindow.SetJAWTRootSurfaceLayer0
Summary: EXC_BAD_ACCESS (SIGSEGV) in jogamp.nativewindow.jawt.macosx.MacOSXJAWTWindow....
Status: RESOLVED INVALID
Alias: None
Product: Jogl
Classification: JogAmp
Component: macosx (show other bugs)
Version: 2
Hardware: pc_x86_64 macosx
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-05-17 15:45 CEST by Wade Walker
Modified: 2013-06-12 13:00 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments
Full JVM error log output (51.25 KB, text/plain)
2013-05-17 15:45 CEST, Wade Walker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wade Walker 2013-05-17 15:45:58 CEST
Created attachment 467 [details]
Full JVM error log output

One of the readers of my blog found this error, I'm entering it here for him. I'll CC him on this bug and ask him to create a minimal test case.

This output comes from gluegen-2.0-b669-20130509-macosx-universal and jogl-2.0-b989-20130509-macosx-universal.


Process: java [1260]
 Path: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
 Identifier: java
 Version: 1.0 (1.0)
 Code Type: X86-64 (Native)
 Parent Process: eclipse [1226]

PlugIn Path: /Users/USER/*/libnativewindow_macosx.jnilib
 PlugIn Identifier: libnativewindow_macosx.jnilib
 PlugIn Version: ??? (???)

Date/Time: 2013-05-16 18:49:51.229 +0700
 OS Version: Mac OS X 10.7.5 (11G63)
 Report Version: 9

Interval Since Last Report: 127180 sec
 Crashes Since Last Report: 1
 Per-App Crashes Since Last Report: 1
 Anonymous UUID: C7649246-0414-4E24-B297-E2927E583ECD

Crashed Thread: 52 Java: AWT-EventQueue-0

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0×0000000000000030

VM Regions Near 0×30:
–>
 __TEXT 000000010ff5a000-000000010ff62000 [ 32K] r-x/rwx SM=COW /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java

Application Specific Information:
 objc[1260]: garbage collection is OFF

Java information:
 Exception type: Bus Error (0xa) at pc=7fff90bfc060

Java VM: Java HotSpot(TM) 64-Bit Server VM (20.14-b01-445 mixed mode macosx-amd64)

Current thread (7fbd1c41b000): JavaThread “AWT-EventQueue-0″ [_thread_in_native, id=554684416, stack(120efd000,1210fd000)]
 Stack: [120efd000,1210fd000]
 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
 j jogamp.nativewindow.jawt.macosx.MacOSXJAWTWindow.SetJAWTRootSurfaceLayer0(Ljava/nio/Buffer;J)Z+0
 j jogamp.nativewindow.jawt.macosx.MacOSXJAWTWindow.lockSurfaceImpl()I+456
 j com.jogamp.nativewindow.awt.JAWTWindow.lockSurface()I+86
 j javax.media.opengl.awt.GLCanvas.createDrawableAndContext()V+30
 j javax.media.opengl.awt.GLCanvas.addNotify()V+115
 j java.awt.Container.addNotify()V+61
 j javax.swing.JComponent.addNotify()V+1
 j java.awt.Container.addImpl(Ljava/awt/Component;Ljava/lang/Object;I)V+194
 j java.awt.Container.add(Ljava/awt/Component;)Ljava/awt/Component;+4
 j msi.gama.gui.swt.swing.EmbeddedSwingComposite$4.run()V+41
 j java.awt.event.InvocationEvent.dispatch()V+47
 j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21
 j java.awt.EventQueue.access$400(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
 j java.awt.EventQueue$2.run()Ljava/lang/Void;+12
 j java.awt.EventQueue$2.run()Ljava/lang/Object;+1
 v ~StubRoutines::call_stub
 j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
 j java.security.AccessControlContext$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
 j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
 j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+204
 j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
 j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
 j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
 j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
 j java.awt.EventDispatchThread.run()V+9
 v ~StubRoutines::call_stub
Comment 1 Sven Gothel 2013-06-12 13:00:25 CEST
I use OSX 10.7.5 w/
  - java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
    Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

and

  - java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

Orig. author shall update java JRE .. ?

AWT and NEWT test cases work well w/ MacOSXJAWTWindow.SetJAWTRootSurfaceLayer0(..).

We would need a test case (as you state) and proper java versioning information,
i.e. at least a full debug etc/java_dbg.sh log file.

The attachment also reads (orig. author?) that some SWT test case was in use ?

I close this bug until orig. author is able to join and further information is available.