Very ugly crash (please help)

We have developed a system to do 3D visualization of a set of boxes in a container.

We developed it in eclipse and all works well in all the computers we have tested it.

But when we make the jar of the application and wrap it in a .exe file using WinExecutor (http://mpowers.net/executor/) it works in some computers and just crashs in others :-/ (In wich runs from eclipse)

I really have no idea of what could be happening here, the error codes and stack traces are the folowing:


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x0
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:
      at net.java.games.jogl.impl.windows.WGL.wglCreateContext(Native Method)
      at net.java.games.jogl.impl.windows.WindowsGLContextFactory.checkForDummyContext(WindowsGLContextFactory.java:156)
      at net.java.games.jogl.impl.windows.WindowsGLContextFactory.getDummyGL(WindowsGLContextFactory.java:115)
      at net.java.games.jogl.impl.windows.WindowsGLContext.choosePixelFormatAndCreateContext(WindowsGLContext.java:279)
      at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.create(WindowsOnscreenGLContext.java:211)
      at net.java.games.jogl.impl.windows.WindowsGLContext.makeCurrent(WindowsGLContext.java:135)
      - locked <07DF9D28> (a net.java.games.jogl.impl.windows.WindowsOnscreenGLContext)
      at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.makeCurrent(WindowsOnscreenGLContext.java:110)
      - locked <07DF9D28> (a net.java.games.jogl.impl.windows.WindowsOnscreenGLContext)
      at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:250)
      - locked <07DF9D28> (a net.java.games.jogl.impl.windows.WindowsOnscreenGLContext)
      at net.java.games.jogl.GLCanvas.reshape(GLCanvas.java:112)
      at java.awt.Component.setBounds(Component.java:1665)
      at java.awt.BorderLayout.layoutContainer(BorderLayout.java:683)
      - locked <07989E18> (a java.awt.Component$AWTTreeLock)
      at java.awt.Container.layout(Container.java:1017)
      at java.awt.Container.doLayout(Container.java:1007)
      at java.awt.Container.validateTree(Container.java:1089)
      at java.awt.Container.validateTree(Container.java:1096)
      at java.awt.Container.validateTree(Container.java:1096)
      at java.awt.Container.validateTree(Container.java:1096)
      at java.awt.Container.validateTree(Container.java:1096)
      at java.awt.Container.validateTree(Container.java:1096)
      at java.awt.Container.validate(Container.java:1064)
      - locked <07989E18> (a java.awt.Component$AWTTreeLock)
      at java.awt.CardLayout.show(CardLayout.java:472)
      at java.awt.CardLayout.show(CardLayout.java:460)
      - locked <07989E18> (a java.awt.Component$AWTTreeLock)
      at de.amarant.avm.gui.FrmAVM.showForm(FrmAVM.java:733)
      at de.amarant.avm.gui.FrmAVM$2.actionPerformed(FrmAVM.java:138)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:273)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
      at java.awt.Component.processMouseEvent(Component.java:5134)
      at java.awt.Component.processEvent(Component.java:4931)
      at java.awt.Container.processEvent(Container.java:1566)
      at java.awt.Component.dispatchEventImpl(Component.java:3639)
      at java.awt.Container.dispatchEventImpl(Container.java:1623)
      at java.awt.Component.dispatchEvent(Component.java:3480)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
      at java.awt.Container.dispatchEventImpl(Container.java:1609)
      at java.awt.Window.dispatchEventImpl(Window.java:1590)
      at java.awt.Component.dispatchEvent(Component.java:3480)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

Dynamic libraries:
0x00400000 - 0x00413000       D:\Entwicklung\AVM32\bin\ReBV.exe
0x7C910000 - 0x7C9C7000       C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C906000       C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E4A000       C:\WINDOWS\system32\ADVAPI32.dll
0x77E50000 - 0x77EE1000       C:\WINDOWS\system32\RPCRT4.dll
0x77D10000 - 0x77DA0000       C:\WINDOWS\system32\USER32.dll
0x77EF0000 - 0x77F36000       C:\WINDOWS\system32\GDI32.dll
0x6D340000 - 0x6D46B000       C:\Programme\Java\j2re1.4.1_03\bin\client\jvm.dll
0x76AF0000 - 0x76B1E000       C:\WINDOWS\system32\WINMM.dll
0x77BE0000 - 0x77C38000       C:\WINDOWS\system32\MSVCRT.dll
0x6D1E0000 - 0x6D1E7000       C:\Programme\Java\j2re1.4.1_03\bin\hpi.dll
0x6D310000 - 0x6D31E000       C:\Programme\Java\j2re1.4.1_03\bin\verify.dll
0x6D220000 - 0x6D239000       C:\Programme\Java\j2re1.4.1_03\bin\java.dll
0x6D330000 - 0x6D33D000       C:\Programme\Java\j2re1.4.1_03\bin\zip.dll
0x6D000000 - 0x6D105000       C:\Programme\Java\j2re1.4.1_03\bin\awt.dll
0x72F70000 - 0x72F96000       C:\WINDOWS\system32\WINSPOOL.DRV
0x76330000 - 0x7634D000       C:\WINDOWS\system32\IMM32.dll
0x774B0000 - 0x775EC000       C:\WINDOWS\system32\ole32.dll
0x5B0F0000 - 0x5B128000       C:\WINDOWS\system32\uxtheme.dll
0x6D190000 - 0x6D1E0000       C:\Programme\Java\j2re1.4.1_03\bin\fontmanager.dll
0x736D0000 - 0x73719000       C:\WINDOWS\system32\ddraw.dll
0x73B30000 - 0x73B36000       C:\WINDOWS\system32\DCIMAN32.dll
0x738B0000 - 0x73980000       C:\WINDOWS\system32\D3DIM700.DLL
0x57A60000 - 0x57B34000       C:\WINDOWS\system32\nView.dll
0x77F40000 - 0x77FB6000       C:\WINDOWS\system32\SHLWAPI.dll
0x7C9D0000 - 0x7D1EE000       C:\WINDOWS\system32\SHELL32.dll
0x76BB0000 - 0x76BBB000       C:\WINDOWS\system32\PSAPI.DLL
0x77BD0000 - 0x77BD8000       C:\WINDOWS\system32\VERSION.dll
0x5F1A0000 - 0x5F1B7000       C:\WINDOWS\system32\OLEPRO32.DLL
0x770F0000 - 0x7717C000       C:\WINDOWS\system32\OLEAUT32.dll
0x773A0000 - 0x774A2000       C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5D450000 - 0x5D4E7000       C:\WINDOWS\system32\comctl32.dll
0x57CB0000 - 0x57CDB000       C:\WINDOWS\system32\NVWRSDE.DLL
0x746A0000 - 0x746EB000       C:\WINDOWS\system32\MSCTF.dll
0x6D290000 - 0x6D2AE000       C:\Programme\Java\j2re1.4.1_03\bin\jpeg.dll
0x6D2E0000 - 0x6D2EE000       C:\Programme\Java\j2re1.4.1_03\bin\net.dll
0x71A30000 - 0x71A3A000       C:\WINDOWS\system32\WSOCK32.dll
0x71A10000 - 0x71A27000       C:\WINDOWS\system32\WS2_32.dll
0x71A00000 - 0x71A08000       C:\WINDOWS\system32\WS2HELP.dll
0x750F0000 - 0x7510E000       C:\WINDOWS\system32\wshbth.dll
0x778F0000 - 0x779E4000       C:\WINDOWS\system32\SETUPAPI.dll
0x719B0000 - 0x719F0000       C:\WINDOWS\System32\mswsock.dll
0x76EE0000 - 0x76F07000       C:\WINDOWS\system32\DNSAPI.dll
0x76F70000 - 0x76F78000       C:\WINDOWS\System32\winrnr.dll
0x76F20000 - 0x76F4D000       C:\WINDOWS\system32\WLDAP32.dll
0x76F80000 - 0x76F86000       C:\WINDOWS\system32\rasadhlp.dll
0x66710000 - 0x66769000       C:\WINDOWS\system32\hnetcfg.dll
0x719F0000 - 0x719F8000       C:\WINDOWS\System32\wshtcpip.dll
0x6D240000 - 0x6D245000       C:\Programme\Java\j2re1.4.1_03\bin\jawt.dll
0x58250000 - 0x582B1000       D:\Entwicklung\AVM32\bin\jogl.dll
0x5F0D0000 - 0x5F19C000       C:\WINDOWS\system32\OPENGL32.dll
0x68FC0000 - 0x68FE0000       C:\WINDOWS\system32\GLU32.dll
0x69500000 - 0x698C2000       C:\WINDOWS\system32\nvoglnt.dll
0x76C50000 - 0x76C78000       C:\WINDOWS\system32\imagehlp.dll
0x59DD0000 - 0x59E71000       C:\WINDOWS\system32\DBGHELP.dll

Local Time = Wed Feb 02 14:47:57 2005
Elapsed Time = 20
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)
#

I’m a little bit confused with this one, if any one has any idea of what could be happening I’ll be grateful for ever :slight_smile:

By the way, the users seems to have the problem with Dell desktop computers (I have not a Dell at hand to test so I can’t be sure of that)

Try the following in order: 1. specify -Dsun.java2d.noddraw=true on the command line (this should be specified for all JOGL applications). 2. Specify -DATI_WORKAROUND=true on the command line. 3. Upgrade the drivers to NVidia’s latest release.