Re: JOGL with SWT(and NEWT) and OpenGL ES 2.0 for Eclipse RCP
Posted by Nick George on Apr 19, 2012; 2:32am
URL: https://forum.jogamp.org/JOGL-with-SWT-and-NEWT-and-OpenGL-ES-2-0-for-Eclipse-RCP-tp3772584p3921937.html
Glad it's not futile!
Hmm... Bellow is the closest thing I could find to a stack trace, but I'm having trouble reading it. The rest of the error log (huge!) is a lot of memory addresses and an ls -l of the libraries, don't think that'll be too useful. It'd be somewhat surprising if the problem were in my code, because the product works fine inside eclipse, but then again, I'm pretty far out of my element when it comes to compiling java to native binaries. I can try exporting the product on my windows box when I get home from work, see if I have any more luck.
Thanks!
Nick
Stack: [0x00007f9091cc7000,0x00007f9091dc8000], sp=0x00007f9091dc4600, free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libpthread.so.0+0x93c4] pthread_mutex_lock+0x4
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
j org.eclipse.swt.widgets.Display.eventProc(JJ)J+132
v ~StubRoutines::call_stub
j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ)Z+0
j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ)Z+9
j org.eclipse.swt.widgets.Shell.setVisible(Z)V+246
j org.eclipse.swt.widgets.Shell.open()V+11
j org.eclipse.jface.window.Window.open()I+34
j org.eclipse.ui.internal.WorkbenchWindow.open()I+24
j org.eclipse.ui.internal.Workbench$24.runWithException()V+4
j org.eclipse.ui.internal.StartupThreading$StartupRunnable.run()V+1
j org.eclipse.swt.widgets.RunnableLock.run()V+11
j org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z+29
j org.eclipse.swt.widgets.Display.runAsyncMessages(Z)Z+5
j org.eclipse.swt.widgets.Display.readAndDispatch()Z+61
j org.eclipse.ui.application.WorkbenchAdvisor.openWindows()Z+44
j org.eclipse.ui.internal.Workbench$33.runWithException()V+27
j org.eclipse.ui.internal.StartupThreading$StartupRunnable.run()V+1
j org.eclipse.swt.widgets.Synchronizer.syncExec(Ljava/lang/Runnable;)V+121
j org.eclipse.ui.internal.UISynchronizer.syncExec(Ljava/lang/Runnable;)V+91
j org.eclipse.swt.widgets.Display.syncExec(Ljava/lang/Runnable;)V+108
j org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(Lorg/eclipse/ui/internal/StartupThreading$StartupRunnable;)V+7
j org.eclipse.ui.internal.Workbench.init()Z+240
j org.eclipse.ui.internal.Workbench.runUI()I+409
j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
j org.eclipse.ui.internal.Workbench$7.run()V+73
j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j nickburner.Application.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+12
j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
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 org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub