[vtkusers] Java EXCEPTION_ACCESS_VIOLATION

Denis Barbier bouzim at gmail.com
Wed Oct 28 02:54:17 EDT 2009


I am lost, do you still have error messages in output window, or is
VTK crashing without printing error messages?

Denis

2009/10/27 Divye <zombi2_84 at yahoo.com>
> Hey Denis,
>
> Can you suggest some possible solutions from the error log details?
> I am still stuck here
>
> --- On Sun, 10/25/09, Divye <zombi2_84 at yahoo.com> wrote:
>
> From: Divye <zombi2_84 at yahoo.com>
> Subject: Re: [vtkusers] Java EXCEPTION_ACCESS_VIOLATION
> To: "Denis Barbier" <bouzim at gmail.com>
> Cc: vtkusers at vtk.org
> Date: Sunday, October 25, 2009, 11:57 AM
>
> I'm sorry but I couldn't understand the error details printed in the log file.
> Here are the contents of the log file :
>
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x5a58e7e7, pid=24224, tid=25808
> #
> # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
> # Problematic frame:
> # C  [vtkVolumeRendering.dll+0x4fe7e7]
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> ---------------  T H R E A D  ---------------
>
> Current thread (0x00337800):  JavaThread "main" [_thread_in_native, id=25808]
>
> siginfo: ExceptionCode=0xc00000fd, ExceptionInformation=0x00000000 0x00350000
>
> Registers:
> EAX=0x00350000, EBX=0x0039fa0c, ECX=0x002fee18, EDX=0x0ca52580
> ESP=0x0039efec, EBP=0x0039eff4, ESI=0x0039f000, EDI=0x0039f114
> EIP=0x5a58e7e7, EFLAGS=0x00010206
>
> Top of Stack: (sp=0x0039efec)
> 0x0039efec:   0d1d0040 5a42616d 0039f120 5a41fe34
> 0x0039effc:   0ca52580 bae98072 0039f1a4 0039f130
> 0x0039f00c:   0039fa0c cccccccc cccccccc cccccccc
> 0x0039f01c:   cccccccc cccccccc cccccccc cccccccc
> 0x0039f02c:   cccccccc cccccccc cccccccc cccccccc
> 0x0039f03c:   cccccccc cccccccc cccccccc cccccccc
> 0x0039f04c:   cccccccc cccccccc cccccccc cccccccc
> 0x0039f05c:   00000000 00000000 00000000 00000000
>
> Instructions: (pc=0x5a58e7e7)
> 0x5a58e7d7:   0a 8b c1 59 94 8b 00 89 04 24 c3 2d 00 10 00 00
> 0x5a58e7e7:   85 00 eb e9 cc ff 25 dc 0d 81 5a ff 25 d8 0d 81
>
>
> Stack: [0x00350000,0x003a0000),  sp=0x0039efec,  free space=315k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
> C  [vtkVolumeRendering.dll+0x4fe7e7]
> C  [vtkVolumeRendering.dll+0x38fe34]
> C  [vtkVolumeRendering.dll+0x390817]
> C  [vtkRendering.dll+0x31db7a]
> C  [vtkRendering.dll+0x28d4b2]
> C  [vtkRendering.dll+0x3ad10f]
> C  [vtkRendering.dll+0x28c18e]
> C  [vtkRendering.dll+0x289038]
> C  [vtkRendering.dll+0x29dcbd]
> C  [vtkRendering.dll+0x29db66]
> C  [vtkRendering.dll+0x29d60e]
> C  [vtkRendering.dll+0x29cd37]
> C  [vtkRendering.dll+0x36f191]
> C  [vtkRendering.dll+0x36db43]
> C  [vtkRendering.dll+0x36dbf6]
> C  [vtkRendering.dll+0x3a4c22]
> C  [vtkRendering.dll+0x406297]
> C  [vtkRendering.dll+0x4063c2]
> C  [vtkRendering.dll+0x406495]
> C  [vtkRendering.dll+0x40809d]
> C  [vtkRendering.dll+0x40b34e]
> C  [vtkRenderingJava.dll+0x5d0ae]
> j  vtk.vtkRenderWindowInteractor.Initialize_2()V+0
> j  vtk.vtkRenderWindowInteractor.Initialize()V+1
> j  WrapperVtkRenderVolume.Start()V+4
> j  VolumeRendering.main([Ljava/lang/String;)V+34
> v  ~StubRoutines::call_stub
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j  vtk.vtkRenderWindowInteractor.Initialize_2()V+0
> j  vtk.vtkRenderWindowInteractor.Initialize()V+1
> j  WrapperVtkRenderVolume.Start()V+4
> j  VolumeRendering.main([Ljava/lang/String;)V+34
> v  ~StubRoutines::call_stub
>
> ---------------  P R O C E S S  ---------------
>
> Java Threads: ( => current thread )
>   0x01acd000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=26840]
>   0x01acc400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=24628]
>   0x01ac0400 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=27644]
>   0x01abfc00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=22964]
>   0x01abec00 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=27556]
>   0x01ab1c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=25192]
>   0x01ab1400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=28144]
>   0x01aa4800 JavaThread "Finalizer" daemon [_thread_blocked, id=25184]
>   0x01a98400 JavaThread "Reference Handler" daemon [_thread_blocked, id=23108]
> =>0x00337800 JavaThread "main" [_thread_in_native, id=25808]
>
> Other Threads:
>   0x01a95800 VMThread [id=27404]
>   0x01ace800 WatcherThread [id=28608]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
>  def new generation   total 960K, used 361K [0x04200000, 0x04300000, 0x046e0000)
>   eden space 896K,  33% used [0x04200000, 0x0424a4c8, 0x042e0000)
>   from space 64K, 100% used [0x042f0000, 0x04300000, 0x04300000)
>   to   space 64K,   0% used [0x042e0000, 0x042e0000, 0x042f0000)
>  tenured generation   total 4096K, used 192K [0x046e0000, 0x04ae0000, 0x08200000)
>    the space 4096K,   4% used [0x046e0000, 0x04710288, 0x04710400, 0x04ae0000)
>  compacting perm gen  total 12288K, used 2620K [0x08200000, 0x08e00000, 0x0c200000)
>    the space 12288K,  21% used [0x08200000, 0x0848f310, 0x0848f400, 0x08e00000)
> No shared spaces configured.
>
> Dynamic libraries:
> 0x00400000 - 0x00423000     C:\Program Files\Java\jre1.6.0\bin\javaw.exe
> 0x76f40000 - 0x77067000     C:\Windows\system32\ntdll.dll
> 0x75a70000 - 0x75b4b000     C:\Windows\system32\kernel32.dll
> 0x76d10000 - 0x76dd6000     C:\Windows\system32\ADVAPI32.dll
> 0x76e70000 - 0x76f32000     C:\Windows\system32\RPCRT4.dll
> 0x75db0000 - 0x75e4d000     C:\Windows\system32\USER32.dll
> 0x757b0000 - 0x757fb000     C:\Windows\system32\GDI32.dll
> 0x77090000 - 0x770ae000     C:\Windows\system32\IMM32.DLL
> 0x75fe0000 - 0x760a8000     C:\Windows\system32\MSCTF.dll
> 0x75b50000 - 0x75bfa000     C:\Windows\system32\msvcrt.dll
> 0x77080000 - 0x77089000     C:\Windows\system32\LPK.DLL
> 0x75d30000 - 0x75dad000     C:\Windows\system32\USP10.dll
> 0x7c340000 - 0x7c396000     C:\Program Files\Java\jre1.6.0\bin\msvcr71.dll
> 0x6d7c0000 - 0x6da07000     C:\Program Files\Java\jre1.6.0\bin\client\jvm.dll
> 0x741a0000 - 0x741d2000     C:\Windows\system32\WINMM.dll
> 0x75800000 - 0x75944000     C:\Windows\system32\ole32.dll
> 0x76de0000 - 0x76e6d000     C:\Windows\system32\OLEAUT32.dll
> 0x73f80000 - 0x73fb9000     C:\Windows\system32\OLEACC.dll
> 0x755f0000 - 0x7561c000     C:\Windows\system32\apphelp.dll
> 0x00290000 - 0x002ab000     C:\Program Files\Common Files\Logishrd\LVMVFM\LVPrcInj.dll
> 0x6d310000 - 0x6d318000     C:\Program Files\Java\jre1.6.0\bin\hpi.dll
> 0x77070000 - 0x77077000     C:\Windows\system32\PSAPI.DLL
> 0x6d400000 - 0x6d429000     C:\Program Files\Java\jre1.6.0\bin\jdwp.dll
> 0x6d6c0000 - 0x6d6c6000     C:\Program Files\Java\jre1.6.0\bin\npt.dll
> 0x6d770000 - 0x6d77c000     C:\Program Files\Java\jre1.6.0\bin\verify.dll
> 0x6d3b0000 - 0x6d3cf000     C:\Program Files\Java\jre1.6.0\bin\java.dll
> 0x6d7b0000 - 0x6d7bf000     C:\Program Files\Java\jre1.6.0\bin\zip.dll
> 0x6d280000 - 0x6d287000     C:\Program Files\Java\jre1.6.0\bin\dt_socket.dll
> 0x770b0000 - 0x770dd000     C:\Windows\system32\WS2_32.dll
> 0x770e0000 - 0x770e6000     C:\Windows\system32\NSI.dll
> 0x73da0000 - 0x73daf000     C:\Windows\system32\NLAapi.dll
> 0x75050000 - 0x75069000     C:\Windows\system32\IPHLPAPI.DLL
> 0x75010000 - 0x75045000     C:\Windows\system32\dhcpcsvc.DLL
> 0x755c0000 - 0x755ec000     C:\Windows\system32\DNSAPI.dll
> 0x75650000 - 0x75664000     C:\Windows\system32\Secur32.dll
> 0x75000000 - 0x75007000     C:\Windows\system32\WINNSI.DLL
> 0x74fd0000 - 0x74ff1000     C:\Windows\system32\dhcpcsvc6.DLL
> 0x715a0000 - 0x715af000     C:\Windows\system32\napinsp.dll
> 0x71440000 - 0x71452000     C:\Windows\system32\pnrpnsp.dll
> 0x74df0000 - 0x74e2b000     C:\Windows\System32\mswsock.dll
> 0x71490000 - 0x71498000     C:\Windows\System32\winrnr.dll
> 0x770f0000 - 0x7713a000     C:\Windows\system32\WLDAP32.dll
> 0x716f0000 - 0x716f6000     C:\Windows\system32\rasadhlp.dll
> 0x74aa0000 - 0x74aa5000     C:\Windows\System32\wshtcpip.dll
> 0x646e0000 - 0x64790000     C:\vtk-5.4.2\bin\bin\Debug\vtkCommonJava.dll
> 0x5cf60000 - 0x5d351000     C:\vtk-5.4.2\bin\bin\Debug\vtkCommon.dll
> 0x64550000 - 0x645ef000     C:\vtk-5.4.2\bin\bin\Debug\vtksys.dll
> 0x5e050000 - 0x5e173000     C:\Windows\WinSxS\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\MSVCR90D.dll
> 0x64470000 - 0x64546000     C:\Windows\WinSxS\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\MSVCP90D.dll
> 0x71f20000 - 0x71f27000     C:\Windows\system32\WSOCK32.dll
> 0x5dd40000 - 0x5de54000     C:\vtk-5.4.2\bin\bin\Debug\vtkFilteringJava.dll
> 0x5ca60000 - 0x5cf5a000     C:\vtk-5.4.2\bin\bin\Debug\vtkFiltering.dll
> 0x64140000 - 0x641c9000     C:\vtk-5.4.2\bin\bin\Debug\vtkIOJava.dll
> 0x5c290000 - 0x5ca5c000     C:\vtk-5.4.2\bin\bin\Debug\vtkIO.dll
> 0x65940000 - 0x659ad000     C:\vtk-5.4.2\bin\bin\Debug\vtkDICOMParser.dll
> 0x658a0000 - 0x658f4000     C:\vtk-5.4.2\bin\bin\Debug\vtkNetCDF.dll
> 0x5fc70000 - 0x5fda4000     C:\vtk-5.4.2\bin\bin\Debug\vtkmetaio.dll
> 0x66510000 - 0x66531000     C:\vtk-5.4.2\bin\bin\Debug\vtkzlib.dll
> 0x669f0000 - 0x66a28000     C:\vtk-5.4.2\bin\bin\Debug\vtkpng.dll
> 0x65860000 - 0x65897000     C:\vtk-5.4.2\bin\bin\Debug\vtkjpeg.dll
> 0x65770000 - 0x657ee000     C:\vtk-5.4.2\bin\bin\Debug\vtktiff.dll
> 0x659e0000 - 0x65a17000     C:\vtk-5.4.2\bin\bin\Debug\vtkexpat.dll
> 0x696c0000 - 0x696d9000     C:\Windows\system32\AVIFIL32.dll
> 0x73cf0000 - 0x73d04000     C:\Windows\system32\MSACM32.dll
> 0x6cb70000 - 0x6cb93000     C:\Windows\system32\MSVFW32.dll
> 0x76200000 - 0x76d10000     C:\Windows\system32\SHELL32.dll
> 0x75a10000 - 0x75a68000     C:\Windows\system32\SHLWAPI.dll
> 0x72950000 - 0x729d5000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6001.18000_none_886786f450a74a05\COMCTL32.dll
> 0x74510000 - 0x746ae000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll
> 0x64aa0000 - 0x64b0c000     C:\vtk-5.4.2\bin\bin\Debug\vtkImagingJava.dll
> 0x5bd10000 - 0x5c286000     C:\vtk-5.4.2\bin\bin\Debug\vtkImaging.dll
> 0x5dae0000 - 0x5dc08000     C:\vtk-5.4.2\bin\bin\Debug\vtkGraphicsJava.dll
> 0x5b2b0000 - 0x5bd0f000     C:\vtk-5.4.2\bin\bin\Debug\vtkGraphics.dll
> 0x65430000 - 0x6546e000     C:\vtk-5.4.2\bin\bin\Debug\vtkverdict.dll
> 0x5d680000 - 0x5d75e000     C:\vtk-5.4.2\bin\bin\Debug\vtkRenderingJava.dll
> 0x5ac00000 - 0x5b2ad000     C:\vtk-5.4.2\bin\bin\Debug\vtkRendering.dll
> 0x66480000 - 0x6649a000     C:\vtk-5.4.2\bin\bin\Debug\vtkftgl.dll
> 0x6cd00000 - 0x6cdcb000     C:\Windows\system32\OPENGL32.dll
> 0x74710000 - 0x74733000     C:\Windows\system32\GLU32.dll
> 0x70470000 - 0x70555000     C:\Windows\system32\DDRAW.dll
> 0x71420000 - 0x71426000     C:\Windows\system32\DCIMAN32.dll
> 0x75e50000 - 0x75fda000     C:\Windows\system32\SETUPAPI.dll
> 0x710d0000 - 0x710dc000     C:\Windows\system32\dwmapi.dll
> 0x606b0000 - 0x60756000     C:\vtk-5.4.2\bin\bin\Debug\vtkfreetype.dll
> 0x6d3e0000 - 0x6d3e6000     C:\Program Files\Java\jre1.6.0\bin\jawt.dll
> 0x6d000000 - 0x6d1c3000     C:\Program Files\Java\jre1.6.0\bin\awt.dll
> 0x71b10000 - 0x71b52000     C:\Windows\system32\WINSPOOL.DRV
> 0x64bf0000 - 0x64c25000     C:\vtk-5.4.2\bin\bin\Debug\vtkVolumeRenderingJava.dll
> 0x5a090000 - 0x5a83c000     C:\vtk-5.4.2\bin\bin\Debug\vtkVolumeRendering.dll
> 0x74810000 - 0x7484f000     C:\Windows\system32\uxtheme.dll
> 0x10000000 - 0x1024b000     C:\Windows\system32\ig4icd32.dll
> 0x0d950000 - 0x0dadb000     C:\Windows\system32\ig4dev32.dll
>
> VM Arguments:
> jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:57038 -Dfile.encoding=Cp1252
> java_command: VolumeRendering
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_04
> JRE_HOME=C:\Program Files\Java\jre1.6.0
> CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\vtk-5.4.2\bin\java;C:\vtk-5.4.2\bin\bin;C:\vtk-5.4.2\bin\VolumeRendering\vtkVolumeRenderingJava.dir\Debug
> PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Common Files\Intuit\QBPOSSDKRuntime;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\MATLAB7\bin\win32;C:\msys\1.0\bin;C:\mingw\bin;C:\Program Files\Common Files\DivX Shared\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\;C:\vtk-5.4.2\bin\bin\Debug;C:\Windows\Debug;C:\vtk-5.4.2\bin\VolumeRendering\vtkVolumeRenderingJava.dir\Debug;C:\Program Files\OpenCV\bin;C:\msys\1.0\bin;C:\mingw\bin;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Program Files\Java\jre1.6.0\bin;C:\Program Files\CMake 2.6\bin;C:\vtk-5.4.2\bin\bin\Debug;C:\vtk-5.4.2\bin\VolumeRendering\vtkVolumeRenderingJava.dir\Debug
> USERNAME=admin
> OS=Windows_NT
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
>
>
>
> ---------------  S Y S T E M  ---------------
>
> OS: Windows Vista Build 6001 Service Pack 1
>
> CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
>
> Memory: 4k page, physical 2086596k(591196k free), swap 4194303k(1740676k free)
>
> vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for windows-x86, built on Nov 29 2006 00:48:48 by "java_re" with unknown MS VC++:1310
>
>
>
>
> --- On Sun, 10/25/09, Denis Barbier <bouzim at gmail.com> wrote:
>
> From: Denis Barbier <bouzim at gmail.com>
> Subject: Re: [vtkusers] Java EXCEPTION_ACCESS_VIOLATION
> To: "Divye" <zombi2_84 at yahoo.com>
> Cc: vtkusers at vtk.org
> Date: Sunday, October 25, 2009, 11:40 AM
>
> On 2009/10/25 Divye wrote:
> > Hi All,
> >
> > I am trying to run a program for 3d rendering of DICOM images , using java on win vista 32 - bit using vtk 5.4.2 and am getting the following EXCEPTION_ACCESS_VIOLATION.
> >
> > An unexpected error has been detected by Java Runtime Environment:
> > #
> > #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x59bf3b3f, pid=27652, tid=27836
> > #
> > # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
> > # Problematic frame:
> > # C  [vtkVolumeRendering.dll+0x313b3f]
> > #
> > # An error report file with more information is saved as hs_err_pid27652.log
> > #
> > # If you would like to submit a bug report, please visit:
> > #   http://java.sun.com/webapps/bugreport/crash.jsp
> >
> > Looks like a memory leak somewhere but am not able to figure out where it is.
> [...]
>
> Hi,
>
> Useful informations have been written into hs_err_pid27652.log, please
> check that it does not contain sensible data and send it here.
>
> Denis
>
>



More information about the vtkusers mailing list