Posted by
Sandhase on
Dec 21, 2011; 11:06am
URL: https://forum.jogamp.org/JOGL-Application-crashes-on-Windows-7-but-runs-fine-in-Eclipse-tp3600585p3603742.html
Hey,
okay this problem I could fix. Some debugging showed me that I need some more calls to animator.start() and animator.stop().
Now, I start the application out of eclipse and I can drag and drop data in the opengl window and it does not crash (yet).
So it seems that all works well and the new jogl version is correct adapted.
So the original problem remains the same.
I deployed the application ones more, did a restart of my pc (to be sure all is clean and there are no effects of a running eclipse) and the deployed application crashes as soon as I want to open the opengl window.
Then I just start eclipse (project is in workspace), start the deployed application again and the openfl window raises and can be displayed...
Are there any settings eclipse applies to the java environment when it starts? I cannot explain this phaenomene because in eclipse it works and deployed it does not. Although the deployed application can load the libraries (i guess..they appear in the memory and there are no FileNotFound or UnsatisifiedLink Exceptions....) so what could be the problem?
Another question: If i read the memory and the address of the problematic frame correct, there is no library (listet here) that uses this address? The only one with 7fef06 is DICMAN32 but the addressed area does not contain the problematic frame.?
The error report seems to be the same as before.
Here's the report again:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fef06f8990, pid=620, tid=3156
#
# JRE version: 6.0_29-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.4-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x000007fef06f8990
#
# If you would like to submit a bug report, please visit:
#
http://java.sun.com/webapps/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x0000000007f8d800): JavaThread "AWT-EventQueue-0-SharedResourceRunner" daemon [_thread_in_native, id=3156, stack(0x000000000af30000,0x000000000b030000)]
siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x0000000000000008 0x000007fef06f8990
Registers:
RAX=0x0000000000663e10, RBX=0x0000000000000000, RCX=0x000000001001069b, RDX=0x0000000000000000
RSP=0x000000000b02f048, RBP=0x0000000000008261, RSI=0x0000000000000002, RDI=0x0000000000000004
R8 =0x0000000000000002, R9 =0x0000000000000001, R10=0x0000000000000001, R11=0x0000000000000000
R12=0x0000000000000000, R13=0x0000000000000000, R14=0x0000000000000000, R15=0x0000000000000000
RIP=0x000007fef06f8990, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000000b02f048)
0x000000000b02f048: 00000000093a7363 0000000000000000
0x000000000b02f058: 0000000000000000 0000000000000000
0x000000000b02f068: 0000000000000000 0000000000000000
0x000000000b02f078: 0000000000000000 0000000000000000
0x000000000b02f088: 0000000007020000 000000000b02efa0
0x000000000b02f098: 0000000000000000 0000000000000000
0x000000000b02f0a8: 00000000031f0620 0000000000000400
0x000000000b02f0b8: 000000000b02f0c8 000000010000000a
0x000000000b02f0c8: 0000000000000002 0000000000008261
0x000000000b02f0d8: 0000000000000000 0000000000000000
0x000000000b02f0e8: 0000000000000000 00000000093a4860
0x000000000b02f0f8: 0000000000000000 000000001001069b
0x000000000b02f108: 000000000b02f298 00000000eda57208
0x000000000b02f118: 0000000064558377 000000001001069b
0x000000000b02f128: 0000000007f8d9d0 000000000b02f298
0x000000000b02f138: 000000000b02f070 000000000b02f258
Instructions: (pc=0x000007fef06f8990)
0x000007fef06f8970:
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
Register to memory mapping:
RAX=0x0000000000663e10 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x000000001001069b is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x000000000b02f048 is pointing into the stack for thread: 0x0000000007f8d800
RBP=0x0000000000008261 is an unknown value
RSI=0x0000000000000002 is an unknown value
RDI=0x0000000000000004 is an unknown value
R8 =0x0000000000000002 is an unknown value
R9 =0x0000000000000001 is an unknown value
R10=0x0000000000000001 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x0000000000000000 is an unknown value
R15=0x0000000000000000 is an unknown value
Stack: [0x000000000af30000,0x000000000b030000], sp=0x000000000b02f048, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x000007fef06f8990
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j jogamp.opengl.windows.wgl.WGLExtImpl.dispatch_wglCreateContextAttribsARB1(JJLjava/lang/Object;IZJ)J+0
j jogamp.opengl.windows.wgl.WGLExtImpl.wglCreateContextAttribsARB(JJ[II)J+98
j jogamp.opengl.windows.wgl.WindowsWGLContext.createContextARBImpl(JZIII)J+323
j jogamp.opengl.GLContextImpl.createContextARBVersions(JZIIIII[I[I)J+147
j jogamp.opengl.GLContextImpl.createContextARBMapVersionsAvailable(IZ)V+119
j jogamp.opengl.GLContextImpl.mapGLVersions(Ljavax/media/nativewindow/AbstractGraphicsDevice;)V+9
j jogamp.opengl.GLContextImpl.createContextARB(JZ)J+123
j jogamp.opengl.windows.wgl.WindowsWGLContext.createImpl(Ljogamp/opengl/GLContextImpl;)Z+342
j jogamp.opengl.GLContextImpl.makeCurrentLocking()I+114
j jogamp.opengl.GLContextImpl.makeCurrent()I+120
j jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory$SharedResourceImplementation.createSharedResource(Ljava/lang/String;)Ljogamp/opengl/SharedResourceRunner$Resource;+192
j jogamp.opengl.SharedResourceRunner.run()V+270
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x0000000007f8d800 JavaThread "AWT-EventQueue-0-SharedResourceRunner" daemon [_thread_in_native, id=3156, stack(0x000000000af30000,0x000000000b030000)]
0x000000000b43a800 JavaThread "TimerQueue" daemon [_thread_blocked, id=908, stack(0x0000000002450000,0x0000000002550000)]
0x00000000001f6000 JavaThread "DestroyJavaVM" [_thread_blocked, id=396, stack(0x00000000026b0000,0x00000000027b0000)]
0x0000000007e79800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3636, stack(0x000000000ad30000,0x000000000ae30000)]
0x0000000007e79000 JavaThread "AWT-Shutdown" [_thread_blocked, id=3852, stack(0x00000000081b0000,0x00000000082b0000)]
0x0000000007ce9800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3888, stack(0x00000000082b0000,0x00000000083b0000)]
0x0000000007d43000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3892, stack(0x00000000080b0000,0x00000000081b0000)]
0x0000000006dbd000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2140, stack(0x0000000007360000,0x0000000007460000)]
0x00000000002ce800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3784, stack(0x0000000007260000,0x0000000007360000)]
0x00000000002c7000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=3236, stack(0x0000000007160000,0x0000000007260000)]
0x00000000002c5800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3240, stack(0x0000000007060000,0x0000000007160000)]
0x00000000002c4800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3280, stack(0x0000000006f60000,0x0000000007060000)]
0x00000000002b3000 JavaThread "Finalizer" daemon [_thread_blocked, id=3284, stack(0x0000000006c60000,0x0000000006d60000)]
0x00000000002aa000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3328, stack(0x0000000006b60000,0x0000000006c60000)]
Other Threads:
0x00000000002a3800 VMThread [stack: 0x0000000006a60000,0x0000000006b60000] [id=3332]
0x0000000006dc6000 WatcherThread [stack: 0x0000000007460000,0x0000000007560000] [id=3876]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 152896K, used 50215K [0x00000000eaab0000, 0x00000000f5550000, 0x0000000100000000)
eden space 131072K, 38% used [0x00000000eaab0000,0x00000000edbb9dc0,0x00000000f2ab0000)
from space 21824K, 0% used [0x00000000f4000000,0x00000000f4000000,0x00000000f5550000)
to space 21824K, 0% used [0x00000000f2ab0000,0x00000000f2ab0000,0x00000000f4000000)
PSOldGen total 349568K, used 0K [0x00000000c0000000, 0x00000000d5560000, 0x00000000eaab0000)
object space 349568K, 0% used [0x00000000c0000000,0x00000000c0000000,0x00000000d5560000)
PSPermGen total 22400K, used 22243K [0x00000000bae00000, 0x00000000bc3e0000, 0x00000000c0000000)
object space 22400K, 99% used [0x00000000bae00000,0x00000000bc3b8cf0,0x00000000bc3e0000)
Code Cache [0x00000000031a0000, 0x0000000003410000, 0x00000000061a0000)
total_blobs=713 nmethods=57 adapters=609 free_code_cache=49513792 largest_free_block=11968
Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\java.exe
0x0000000077a70000 - 0x0000000077c19000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000077850000 - 0x000000007796f000 C:\Windows\system32\kernel32.dll
0x000007fefdce0000 - 0x000007fefdd4c000 C:\Windows\system32\KERNELBASE.dll
0x000007fefe540000 - 0x000007fefe61b000 C:\Windows\system32\ADVAPI32.dll
0x000007fefe620000 - 0x000007fefe6bf000 C:\Windows\system32\msvcrt.dll
0x000007feffa20000 - 0x000007feffa3f000 C:\Windows\SYSTEM32\sechost.dll
0x000007feff450000 - 0x000007feff57d000 C:\Windows\system32\RPCRT4.dll
0x000000006d890000 - 0x000000006e048000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\server\jvm.dll
0x0000000077970000 - 0x0000000077a6a000 C:\Windows\system32\USER32.dll
0x000007fefdd90000 - 0x000007fefddf7000 C:\Windows\system32\GDI32.dll
0x000007fefde50000 - 0x000007fefde5e000 C:\Windows\system32\LPK.dll
0x000007fefe1e0000 - 0x000007fefe2a9000 C:\Windows\system32\USP10.dll
0x000007fefa9e0000 - 0x000007fefaa1b000 C:\Windows\system32\WINMM.dll
0x000007fefdf90000 - 0x000007fefdfbe000 C:\Windows\system32\IMM32.DLL
0x000007feff710000 - 0x000007feff819000 C:\Windows\system32\MSCTF.dll
0x000000006d750000 - 0x000000006d77a000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\splashscreen.dll
0x000007fefc500000 - 0x000007fefc556000 C:\Windows\system32\uxtheme.dll
0x000000006d800000 - 0x000000006d80e000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\verify.dll
0x000000006d450000 - 0x000000006d477000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\java.dll
0x000007fefe2b0000 - 0x000007fefe4b3000 C:\Windows\system32\ole32.dll
0x000007fefd8f0000 - 0x000007fefd8ff000 C:\Windows\system32\CRYPTBASE.dll
0x000007feff580000 - 0x000007feff619000 C:\Windows\system32\CLBCatQ.DLL
0x000007feffca0000 - 0x000007feffd77000 C:\Windows\system32\OLEAUT32.dll
0x000000006d850000 - 0x000000006d862000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\zip.dll
0x000000006d0a0000 - 0x000000006d263000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\awt.dll
0x000007fef9850000 - 0x000007fef98c1000 C:\Windows\system32\WINSPOOL.DRV
0x000007fefe6c0000 - 0x000007feff448000 C:\Windows\system32\SHELL32.dll
0x000007fefe4c0000 - 0x000007fefe531000 C:\Windows\system32\SHLWAPI.dll
0x000007fefc560000 - 0x000007fefc754000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefcc60000 - 0x000007fefcc78000 C:\Windows\system32\DWMAPI.DLL
0x000000006d340000 - 0x000000006d3a6000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\fontmanager.dll
0x000000006d6a0000 - 0x000000006d6b7000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\net.dll
0x000007fefde00000 - 0x000007fefde4d000 C:\Windows\system32\WS2_32.dll
0x000007feff700000 - 0x000007feff708000 C:\Windows\system32\NSI.dll
0x000007fefd230000 - 0x000007fefd285000 C:\Windows\system32\mswsock.dll
0x000007fefd220000 - 0x000007fefd227000 C:\Windows\System32\wship6.dll
0x000007fefb5c0000 - 0x000007fefb5d5000 C:\Windows\system32\NLAapi.dll
0x000007fef7820000 - 0x000007fef7835000 C:\Windows\system32\napinsp.dll
0x000007fef7840000 - 0x000007fef7859000 C:\Windows\system32\pnrpnsp.dll
0x000007fefd0b0000 - 0x000007fefd10b000 C:\Windows\system32\DNSAPI.dll
0x000007fef7810000 - 0x000007fef781b000 C:\Windows\System32\winrnr.dll
0x000007fef7800000 - 0x000007fef7810000 C:\Windows\system32\wshbth.dll
0x000007fefcb50000 - 0x000007fefcb57000 C:\Windows\System32\wshtcpip.dll
0x000007fef97d0000 - 0x000007fef97f7000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fef97c0000 - 0x000007fef97cb000 C:\Windows\system32\WINNSI.DLL
0x000007fef7bf0000 - 0x000007fef7bf8000 C:\Windows\system32\rasadhlp.dll
0x000007fef9670000 - 0x000007fef96c3000 C:\Windows\System32\fwpuclnt.dll
0x000007fef09a0000 - 0x000007fef0a91000 C:\Windows\system32\DDRAW.dll
0x000007fef06c0000 - 0x000007fef06c8000 C:\Windows\system32\DCIMAN32.dll
0x000007feff820000 - 0x000007feff9f7000 C:\Windows\system32\SETUPAPI.dll
0x000007fefda70000 - 0x000007fefdaa6000 C:\Windows\system32\CFGMGR32.dll
0x000007fefdb50000 - 0x000007fefdb6a000 C:\Windows\system32\DEVOBJ.dll
0x0000000008b20000 - 0x000000000a2e9000 C:\Windows\system32\nvoglv64.DLL
0x000007fefca80000 - 0x000007fefca8c000 C:\Windows\system32\VERSION.dll
0x000007fefdd50000 - 0x000007fefdd8a000 C:\Windows\system32\WINTRUST.dll
0x000007fefdb70000 - 0x000007fefdcd7000 C:\Windows\system32\CRYPT32.dll
0x000007fefda60000 - 0x000007fefda6f000 C:\Windows\system32\MSASN1.dll
0x000000006d6c0000 - 0x000000006d6cb000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\nio.dll
0x000007fefd290000 - 0x000007fefd2a7000 C:\Windows\system32\CRYPTSP.dll
0x000007fefcf90000 - 0x000007fefcfd7000 C:\Windows\system32\rsaenh.dll
0x000007fefccf0000 - 0x000007fefcd0e000 C:\Windows\system32\USERENV.dll
0x000007fefd9c0000 - 0x000007fefd9cf000 C:\Windows\system32\profapi.dll
0x00000000637c0000 - 0x00000000637ca000 C:\Users\buch_ra\AppData\Local\Temp\jogamp.tmp.cache_000000\jln6758422881115413065\jln2255265404244397003\gluegen-rt.dll
0x000000006d490000 - 0x000000006d497000 C:\Program Files\Java\jdk1.6.0_29\jre\bin\jawt.dll
0x000000006a440000 - 0x000000006a44b000 C:\Users\buch_ra\AppData\Local\Temp\jogamp.tmp.cache_000000\jln6758422881115413065\jln2255265404244397003\nativewindow_awt.dll
0x000000006c100000 - 0x000000006c10b000 C:\Users\buch_ra\AppData\Local\Temp\jogamp.tmp.cache_000000\jln6758422881115413065\jln2255265404244397003\nativewindow_win32.dll
0x000007fef5f80000 - 0x000007fef609d000 C:\Windows\system32\OpenGL32.dll
0x000007fef6520000 - 0x000007fef654d000 C:\Windows\system32\GLU32.dll
0x0000000064500000 - 0x0000000064589000 C:\Users\buch_ra\AppData\Local\Temp\jogamp.tmp.cache_000000\jln6758422881115413065\jln2255265404244397003\jogl_desktop.dll
0x0000000077c30000 - 0x0000000077c37000 C:\Windows\system32\PSAPI.DLL
VM Arguments:
jvm_args: -Dsun.java2d.noddraw=true -Dsun.java2d.d3d=false -Dsun.java2d.ddoffscreen=false -Dsun.java2d.gdiblit=false -Xms512m -Xmx1024m
java_command: C:\Program Files\Correlation Tool\JOGL2Test\corr_tool_x64_jogl2rc5.jar
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Aladdin\eToken\PKIClient\x32;C:\Program Files\Aladdin\eToken\PKIClient\x64;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.6.0_29\bin;D:\SW-Dev\CorrelationTool\3.1\lib\JOGL\jogl-2.0-windows-amd64\lib
USERNAME=buch_ra
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1
Memory: 4k page, physical 4192220k(3056152k free), swap 8382592k(6651092k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (20.4-b02) for windows-amd64 JRE (1.6.0_29-b11), built on Oct 3 2011 01:06:42 by "java_re" with MS VC++ 8.0 (VS2005)
time: Wed Dec 21 11:58:19 2011
elapsed time: 33 seconds