Bug 149 : size() won't load OpenGL
Last modified: 2005-09-14 04:24




Status:
RESOLVED
Resolution:
WORKSFORME -
Priority:
P5
Severity:
normal

 

Reporter:
destanley
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-09-09 08:34
// When I run the size function:

void setup()
{
size(800, 600, OPENGL);
}

// I get the following error

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_INT_DIVIDE_BY_ZERO (0xc0000094) occurred at
PC=0x692854CA
Function=atiPS+0xCD71A
Library=C:\WINDOWS\system32\atioglxx.dll

Current Java thread:
at net.java.games.jogl.impl.windows.WGL.SetPixelFormat0(Native Method)
at net.java.games.jogl.impl.windows.WGL.SetPixelFormat(WGL.java:148)
at
net.java.games.jogl.impl.windows.WindowsGLContextFactory.checkForDummyContext(WindowsGLContextFactory.java:201)
at
net.java.games.jogl.impl.windows.WindowsGLContextFactory.getDummyGL(WindowsGLContextFactory.java:166)
at
net.java.games.jogl.impl.windows.WindowsGLContext.choosePixelFormatAndCreateContext(WindowsGLContext.java:288)
at
net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.create(WindowsOnscreenGLContext.java:230)
at
net.java.games.jogl.impl.windows.WindowsGLContext.makeCurrent(WindowsGLContext.java:136)
- locked <0x100908e8> (a
net.java.games.jogl.impl.windows.WindowsOnscreenGLContext)
at
net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.makeCurrent(WindowsOnscreenGLContext.java:129)
- locked <0x100908e8> (a
net.java.games.jogl.impl.windows.WindowsOnscreenGLContext)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:246)
- locked <0x100908e8> (a
net.java.games.jogl.impl.windows.WindowsOnscreenGLContext)
at
net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.invokeGL(WindowsOnscreenGLContext.java:76)
- locked <0x1050b0f8> (a java.awt.Component$AWTTreeLock)
at
net.java.games.jogl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:258)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Dynamic libraries:
0x00400000 - 0x0040B000 C:\Program Files\processing-0091\java\bin\java.exe
0x7C910000 - 0x7C9C7000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C904000 C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E4C000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E50000 - 0x77EE1000 C:\WINDOWS\system32\RPCRT4.dll
0x77BE0000 - 0x77C38000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\Program
Files\processing-0091\java\bin\client\jvm.dll
0x77D10000 - 0x77DA0000 C:\WINDOWS\system32\USER32.dll
0x77EF0000 - 0x77F36000 C:\WINDOWS\system32\GDI32.dll
0x76AE0000 - 0x76B0F000 C:\WINDOWS\system32\WINMM.dll
0x76320000 - 0x7633D000 C:\WINDOWS\system32\IMM32.DLL
0x62DC0000 - 0x62DC9000 C:\WINDOWS\system32\LPK.DLL
0x753C0000 - 0x7542B000 C:\WINDOWS\system32\USP10.dll
0x6BC00000 - 0x6BC17000 C:\WINDOWS\system32\DrvTrNTm.dll
0x6BC20000 - 0x6BC40000 C:\WINDOWS\system32\DrvTrNTl.dll
0x10000000 - 0x10007000 C:\Program Files\processing-0091\java\bin\hpi.dll
0x003C0000 - 0x003CE000 C:\Program Files\processing-0091\java\bin\verify.dll
0x003D0000 - 0x003E9000 C:\Program Files\processing-0091\java\bin\java.dll
0x003F0000 - 0x003FE000 C:\Program Files\processing-0091\java\bin\zip.dll
0x03080000 - 0x03192000 C:\Program Files\processing-0091\java\bin\awt.dll
0x72F50000 - 0x72F76000 C:\WINDOWS\system32\WINSPOOL.DRV
0x774A0000 - 0x775DD000 C:\WINDOWS\system32\ole32.dll
0x5B090000 - 0x5B0C8000 C:\WINDOWS\system32\uxtheme.dll
0x03210000 - 0x03261000 C:\Program
Files\processing-0091\java\bin\fontmanager.dll
0x736B0000 - 0x736F9000 C:\WINDOWS\system32\ddraw.dll
0x73B10000 - 0x73B16000 C:\WINDOWS\system32\DCIMAN32.dll
0x73890000 - 0x73960000 C:\WINDOWS\system32\D3DIM700.DLL
0x75140000 - 0x7516E000 C:\WINDOWS\system32\msctfime.ime
0x07380000 - 0x07385000 C:\Program Files\processing-0091\java\bin\jawt.dll
0x07390000 - 0x073F0000 C:\Program
Files\processing-0091\libraries\opengl\library\jogl.dll
0x5F070000 - 0x5F13C000 C:\WINDOWS\system32\OPENGL32.dll
0x6CEF0000 - 0x6CF11000 C:\WINDOWS\system32\GLU32.dll
0x69000000 - 0x693CB000 C:\WINDOWS\system32\atioglxx.dll
0x76C40000 - 0x76C68000 C:\WINDOWS\system32\imagehlp.dll
0x5D3F0000 - 0x5D491000 C:\WINDOWS\system32\DBGHELP.dll
0x77BD0000 - 0x77BD8000 C:\WINDOWS\system32\VERSION.dll
0x76BA0000 - 0x76BAB000 C:\WINDOWS\system32\PSAPI.DLL

Heap at VM Abort:
Heap
def new generation total 576K, used 283K [0x10010000, 0x100b0000,
0x104f0000)
eden space 512K, 51% used [0x10010000, 0x10052298, 0x10090000)
from space 64K, 29% used [0x10090000, 0x10094c98, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 1408K, used 1198K [0x104f0000, 0x10650000,
0x14010000)
the space 1408K, 85% used [0x104f0000, 0x1061b808, 0x1061ba00, 0x10650000)
compacting perm gen total 5888K, used 5686K [0x14010000, 0x145d0000,
0x18010000)
the space 5888K, 96% used [0x14010000, 0x1459db18, 0x1459dc00, 0x145d0000)

Local Time = Fri Sep 09 17:20:50 2005
Elapsed Time = 1
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
#
# An error report file has been saved as hs_err_pid1956.log.
# Please refer to the file for further information.
#
Additional Comment #1 From fry 2005-09-12 10:36
this looks like a problem with your graphics driver installation. are you
using strange versions (i.e. not the ones shipped from the manufacturer) of
the ATI drivers on your machine?

we're also using an older version of jogl in the current version of
processing that's available, so this may be fixed once rev 93 is released.
Additional Comment #2 From destanley 2005-09-14 04:24
Ok. After jumping through Windows/ATI hoops I've got it working after
removing/updating drivers. Now I've got other display problems, but at
least OpenGL works in Processing.