Solved

EXCEPTION_ACCESS_VIOLATION (0xc0000005) RDC causes java (star team) to crash

Posted on 2011-02-24
4
1,090 Views
Last Modified: 2012-05-11
Hi I've got a user with an issue where whenever he remotes into his machine using RDC it crashes a program called Star Team.

If star team is closed and he remotes in and then opens it or even opens it after its crashed it works fine.

It seems to be the action of remoting in that causes the crash.

I've tried updating java to the latest version 6 update 24, to no effect.

I don't want to re-install star team if I can help it as it never seems to come out cleanly, and can cause more problems than it solves

I've had a google round the web, and there seem to be lots of instances of this but no real solution,
and as its effectivly java crashing rather than star team every instance on the web is slightly different depending on the program being run.

Machine specs
Windows 7 Pro x64
Intel Xeon CPU E5503 @ 2.00GHz
4GB Ram

Below is the java crash log:


# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0eab86, pid=9052, tid=3264
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode)
# Problematic frame:
# C  [awt.dll+0xeab86]
#

---------------  T H R E A D  ---------------

Current thread (0x026997a8):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3264]

siginfo: ExceptionCode=0xc0000005, reading address 0x01868004

Registers:
EAX=0x0526fdac, EBX=0x304bb7f8, ECX=0x01868000, EDX=0x02699868
ESP=0x0526f758, EBP=0x0526f7a8, ESI=0x024a0042, EDI=0x026997a8
EIP=0x6d0eab86, EFLAGS=0x00010202

Top of Stack: (sp=0x0526f758)
0x0526f758:   026997a8 304bb7f8 304bb7f8 6d6c6c00
0x0526f768:   0526f7d4 6d793232 01b412d0 02232cc0
0x0526f778:   01b412d0 6d7932a4 6d7bf3ac 0526f7d4
0x0526f788:   6d7941f5 026997a8 022b4b78 6d7bf3fd
0x0526f798:   0526f758 0526fdac 6d0f696b ffffffff
0x0526f7a8:   0526f7ec 6d0ec202 02699868 00000001
0x0526f7b8:   304bb7f8 02b4832f 02699868 0526f804
0x0526f7c8:   00000001 00000001 0526f7d0 00000000 

Instructions: (pc=0x6d0eab86)
0x6d0eab76:   00 00 83 ec 38 53 56 8b f1 57 89 65 f0 8b 4e 04
0x6d0eab86:   8b 41 04 83 f8 18 75 29 8b 45 08 68 ac f6 12 6d 


Stack: [0x05230000,0x05270000),  sp=0x0526f758,  free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [awt.dll+0xeab86]
C  [awt.dll+0xec202]
j  sun.awt.Win32GraphicsDevice.getDynamicColorModel()Ljava/awt/image/ColorModel;+14
j  sun.awt.Win32GraphicsConfig.getDeviceColorModel()Ljava/awt/image/ColorModel;+4
j  sun.awt.windows.WComponentPeer.getDeviceColorModel()Ljava/awt/image/ColorModel;+13
j  sun.awt.windows.Win32SurfaceData.createData(Lsun/awt/windows/WComponentPeer;I)Lsun/awt/windows/Win32SurfaceData;+1
j  sun.awt.Win32GraphicsConfig.createSurfaceData(Lsun/awt/windows/WComponentPeer;I)Lsun/java2d/SurfaceData;+2
j  sun.awt.windows.WComponentPeer.replaceSurfaceData(I)V+59
j  sun.awt.windows.WComponentPeer.replaceSurfaceData()V+5
j  sun.awt.windows.WComponentPeer.displayChanged()V+1
J  sun.awt.windows.WPanelPeer.recursiveDisplayChanged(Ljava/awt/Component;)V
J  sun.awt.windows.WPanelPeer.recursiveDisplayChanged(Ljava/awt/Component;)V
J  sun.awt.windows.WPanelPeer.recursiveDisplayChanged(Ljava/awt/Component;)V
J  sun.awt.windows.WPanelPeer.recursiveDisplayChanged(Ljava/awt/Component;)V
j  sun.awt.windows.WPanelPeer.displayChanged()V+27
j  sun.awt.windows.WWindowPeer.displayChanged()V+5
j  sun.awt.SunDisplayChanger.notifyListeners()V+65
j  sun.awt.Win32GraphicsDevice.displayChanged()V+19
j  sun.awt.Win32GraphicsEnvironment.displayChanged()V+31
j  sun.awt.windows.WToolkit$4.run()V+6
J  java.awt.event.InvocationEvent.dispatch()V
J  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
J  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub
V  [jvm.dll+0x86e84]
V  [jvm.dll+0xddead]
V  [jvm.dll+0x86d55]
V  [jvm.dll+0x86ab2]
V  [jvm.dll+0xa16b2]
V  [jvm.dll+0x10f4ac]
V  [jvm.dll+0x10f47a]
C  [msvcrt.dll+0x11287]
C  [msvcrt.dll+0x11328]
C  [kernel32.dll+0x13677]
C  [ntdll.dll+0x39d42]
C  [ntdll.dll+0x39d15]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.awt.Win32GraphicsDevice.makeColorModel(IZ)Ljava/awt/image/ColorModel;+0
j  sun.awt.Win32GraphicsDevice.getDynamicColorModel()Ljava/awt/image/ColorModel;+14
j  sun.awt.Win32GraphicsConfig.getDeviceColorModel()Ljava/awt/image/ColorModel;+4
j  sun.awt.windows.WComponentPeer.getDeviceColorModel()Ljava/awt/image/ColorModel;+13
j  sun.awt.windows.Win32SurfaceData.createData(Lsun/awt/windows/WComponentPeer;I)Lsun/awt/windows/Win32SurfaceData;+1
j  sun.awt.Win32GraphicsConfig.createSurfaceData(Lsun/awt/windows/WComponentPeer;I)Lsun/java2d/SurfaceData;+2
j  sun.awt.windows.WComponentPeer.replaceSurfaceData(I)V+59
j  sun.awt.windows.WComponentPeer.replaceSurfaceData()V+5
j  sun.awt.windows.WComponentPeer.displayChanged()V+1
J  sun.awt.windows.WPanelPeer.recursiveDisplayChanged(Ljava/awt/Component;)V
J  sun.awt.windows.WPanelPeer.recursiveDisplayChanged(Ljava/awt/Component;)V
J  sun.awt.windows.WPanelPeer.recursiveDisplayChanged(Ljava/awt/Component;)V
J  sun.awt.windows.WPanelPeer.recursiveDisplayChanged(Ljava/awt/Component;)V
j  sun.awt.windows.WPanelPeer.displayChanged()V+27
j  sun.awt.windows.WWindowPeer.displayChanged()V+5
j  sun.awt.SunDisplayChanger.notifyListeners()V+65
j  sun.awt.Win32GraphicsDevice.displayChanged()V+19
j  sun.awt.Win32GraphicsEnvironment.displayChanged()V+31
j  sun.awt.windows.WToolkit$4.run()V+6
J  java.awt.event.InvocationEvent.dispatch()V
J  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
J  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x022aa650 JavaThread "AEM worker" daemon [_thread_blocked, id=8996]
  0x022aa4c8 JavaThread "AEM0" daemon [_thread_blocked, id=7592]
  0x0242a8a0 JavaThread "Thread-3" daemon [_thread_blocked, id=8536]
  0x025ee008 JavaThread "File Status Thread" daemon [_thread_blocked, id=3440]
  0x028109c0 JavaThread "Thread-2" daemon [_thread_blocked, id=2156]
  0x001987e0 JavaThread "DestroyJavaVM" [_thread_blocked, id=1372]
  0x02731d20 JavaThread "StarTeam Auto Refresh" [_thread_blocked, id=8548]
  0x0243a960 JavaThread "TimerQueue" daemon [_thread_blocked, id=7264]
=>0x026997a8 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3264]
  0x02629008 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6584]
  0x025fd490 JavaThread "AWT-Shutdown" [_thread_blocked, id=8264]
  0x025fd308 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5908]
  0x025b6938 JavaThread "SingleInstanceApp.handleSocket" daemon [_thread_in_native, id=4532]
  0x01c0dcd8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7880]
  0x01c0d098 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1248]
  0x01c0c710 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1920]
  0x01c01948 JavaThread "Finalizer" daemon [_thread_blocked, id=5572]
  0x01c00370 JavaThread "Reference Handler" daemon [_thread_blocked, id=8556]

Other Threads:
  0x01bfc370 VMThread [id=284]
  0x01ba8d10 WatcherThread [id=8292]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 5184K, used 1455K [0x10010000, 0x105a0000, 0x12770000)
  eden space 4672K,  30% used [0x10010000, 0x1016fef0, 0x104a0000)
  from space 512K,   9% used [0x104a0000, 0x104abdb0, 0x10520000)
  to   space 512K,   0% used [0x10520000, 0x10520000, 0x105a0000)
 tenured generation   total 67752K, used 50537K [0x12770000, 0x1699a000, 0x30010000)
   the space 67752K,  74% used [0x12770000, 0x158ca450, 0x158ca600, 0x1699a000)
 compacting perm gen  total 30720K, used 30600K [0x30010000, 0x31e10000, 0x34010000)
   the space 30720K,  99% used [0x30010000, 0x31df20b0, 0x31df2200, 0x31e10000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040d000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\javaw.exe
0x7de70000 - 0x7dff0000 	C:\Windows\SysWOW64\ntdll.dll
0x7dd60000 - 0x7de60000 	C:\Windows\syswow64\kernel32.dll
0x7d850000 - 0x7d896000 	C:\Windows\syswow64\KERNELBASE.dll
0x77c60000 - 0x77d00000 	C:\Windows\syswow64\ADVAPI32.dll
0x6ff50000 - 0x6fffc000 	C:\Windows\syswow64\msvcrt.dll
0x02b20000 - 0x02b39000 	C:\Windows\SysWOW64\sechost.dll
0x7db50000 - 0x7dc40000 	C:\Windows\syswow64\RPCRT4.dll
0x7d8a0000 - 0x7d900000 	C:\Windows\syswow64\SspiCli.dll
0x10000000 - 0x1000c000 	C:\Windows\syswow64\CRYPTBASE.dll
0x7dc50000 - 0x7dd50000 	C:\Windows\syswow64\USER32.dll
0x7dab0000 - 0x7db40000 	C:\Windows\syswow64\GDI32.dll
0x7d620000 - 0x7d62a000 	C:\Windows\syswow64\LPK.dll
0x6f8e0000 - 0x6f97d000 	C:\Windows\syswow64\USP10.dll
0x7d910000 - 0x7d970000 	C:\Windows\system32\IMM32.DLL
0x70990000 - 0x70a5c000 	C:\Windows\syswow64\MSCTF.dll
0x6fa00000 - 0x6fa3c000 	C:\PROGRA~2\Sophos\SOPHOS~1\SOPHOS~1.DLL
0x7daa0000 - 0x7daa5000 	C:\Windows\syswow64\PSAPI.DLL
0x6d6c0000 - 0x6d85b000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\client\jvm.dll
0x41b00000 - 0x41b32000 	C:\Windows\system32\WINMM.dll
0x6f000000 - 0x6f04b000 	C:\Windows\system32\apphelp.dll
0x6d280000 - 0x6d288000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\hpi.dll
0x6d690000 - 0x6d69c000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\verify.dll
0x6d300000 - 0x6d31d000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\java.dll
0x6d6b0000 - 0x6d6bf000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\zip.dll
0x002d0000 - 0x002d7000 	C:\Program Files (x86)\Borland\StarTeam SDK 9.3\Lib\Borland.StarTeam.FileAccess.dll
0x71890000 - 0x719ac000 	C:\Windows\system32\MFC42.DLL
0x72540000 - 0x7269c000 	C:\Windows\syswow64\ole32.dll
0x6fc30000 - 0x6fcbf000 	C:\Windows\syswow64\OLEAUT32.dll
0x6f4a0000 - 0x6f52a000 	C:\Windows\system32\ODBC32.dll
0x02830000 - 0x02868000 	C:\Windows\system32\odbcint.dll
0x028f0000 - 0x02916000 	C:\Program Files (x86)\Borland\StarTeam SDK 9.3\Lib\Borland.StarTeam.Profile.dll
0x3ff50000 - 0x3ff55000 	C:\Windows\system32\SHFOLDER.dll
0x73800000 - 0x74449000 	C:\Windows\syswow64\SHELL32.dll
0x6de20000 - 0x6de77000 	C:\Windows\syswow64\SHLWAPI.dll
0x01c40000 - 0x01c4b000 	C:\Windows\system32\profapi.dll
0x6d4c0000 - 0x6d4d3000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\net.dll
0x41ac0000 - 0x41af5000 	C:\Windows\syswow64\WS2_32.dll
0x40160000 - 0x40166000 	C:\Windows\syswow64\NSI.dll
0x6c880000 - 0x6c8bc000 	C:\Windows\system32\mswsock.dll
0x3fd50000 - 0x3fd56000 	C:\Windows\System32\wship6.dll
0x3fd20000 - 0x3fd25000 	C:\Windows\System32\wshtcpip.dll
0x6d000000 - 0x6d169000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\awt.dll
0x6d930000 - 0x6d981000 	C:\Windows\system32\WINSPOOL.DRV
0x7d980000 - 0x7da00000 	C:\Windows\system32\uxtheme.dll
0x6d240000 - 0x6d27f000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\fontmanager.dll
0x40e50000 - 0x40e63000 	C:\Windows\system32\dwmapi.dll
0x6d4e0000 - 0x6d4e9000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\nio.dll
0x6f770000 - 0x6f7f4000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16661_none_ebfb56996c72aefc\comctl32.dll
0x6ec80000 - 0x6ecf6000 	C:\Windows\system32\RICHED20.DLL
0x75c00000 - 0x75d9e000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\comctl32.DLL
0x6d1c0000 - 0x6d1e3000 	C:\Program Files (x86)\Borland\Java\Sun1.5.0_09\bin\dcpr.dll
0x40aa0000 - 0x40ab0000 	C:\Windows\system32\NLAapi.dll
0x6dc00000 - 0x6dc44000 	C:\Windows\system32\DNSAPI.dll
0x3fd80000 - 0x3fd88000 	C:\Windows\System32\winrnr.dll
0x02af0000 - 0x02b00000 	C:\Windows\system32\napinsp.dll
0x409a0000 - 0x409b2000 	C:\Windows\system32\pnrpnsp.dll
0x40c90000 - 0x40cac000 	C:\Windows\system32\IPHLPAPI.DLL
0x3fd90000 - 0x3fd97000 	C:\Windows\system32\WINNSI.DLL
0x40040000 - 0x40046000 	C:\Windows\system32\rasadhlp.dll
0x6ca80000 - 0x6cab8000 	C:\Windows\System32\fwpuclnt.dll
0x734b0000 - 0x7364d000 	C:\Windows\syswow64\SETUPAPI.dll
0x05600000 - 0x05627000 	C:\Windows\syswow64\CFGMGR32.dll
0x050c0000 - 0x050d2000 	C:\Windows\syswow64\DEVOBJ.dll
0x05890000 - 0x05a28000 	C:\Windows\system32\NetworkExplorer.dll
0x05a30000 - 0x05b25000 	C:\Windows\system32\PROPSYS.dll
0x05b60000 - 0x05c5b000 	C:\Windows\system32\WindowsCodecs.dll
0x6f850000 - 0x6f8d3000 	C:\Windows\syswow64\CLBCatQ.DLL
0x0c080000 - 0x0c0b1000 	C:\Windows\system32\EhStorShell.dll
0x6ed80000 - 0x6edef000 	C:\Windows\system32\ntshrui.dll
0x05d90000 - 0x05da9000 	C:\Windows\system32\srvcli.dll
0x05700000 - 0x0570b000 	C:\Windows\system32\cscapi.dll
0x3fef0000 - 0x3fefa000 	C:\Windows\system32\slc.dll
0x41500000 - 0x41521000 	C:\Windows\system32\ntmarta.dll
0x6cd80000 - 0x6cdc5000 	C:\Windows\syswow64\WLDAP32.dll

VM Arguments:
jvm_args: -Djava.library.path=C:\Program Files (x86)\Borland\StarTeam Cross-Platform Client 2006 R2;C:\Program Files (x86)\Borland\StarTeam SDK 9.3\bin;C:\Program Files (x86)\Borland\StarTeam SDK 9.3\lib;C:\Program Files (x86)\Borland\Java -Xmx512m -Donwin32=y
java_command: com.starbase.starteam.gui.Main
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files (x86)\Java\jre6\bin;
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ZANTAZ\EAS Client\;C:\Program Files (x86)\Borland\StarTeam SDK 9.3\Lib;C:\Program Files (x86)\Borland\StarTeam SDK 9.3\Bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\Program Files (x86)\Java\jre6\bin
USERNAME=msatterthwaite
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows NT 6.1 Build 7600 

CPU:total 2 (cores per cpu 8, threads per core 2) family 6 model 10 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 4191800k(2224812k free), swap 4194303k(4173060k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_09-b03) for windows-x86, built on Oct 12 2006 01:20:10 by "java_re" with MS VC++ 6.0

Open in new window


Thanks for any help.
0
Comment
Question by:xyratex
  • 3
4 Comments
 
LVL 23

Expert Comment

by:gecko_au2003
ID: 34977611
Option 1 :

Remove all versions of Java from add / remove programs, reboot, install the latest version and test again

Option 2 :

http://realfixes.blogspot.com/2011/01/jvm-crash-problematic-frame-awtdll.html

0
 

Author Comment

by:xyratex
ID: 34978465
option 1 already tried,

I'll have a go at 2 today.
0
 

Accepted Solution

by:
xyratex earned 0 total points
ID: 34996570
Option 2 didn't seem to help, however user is remoting from multiple machines all with slightly different config etc so updating drivers on everything will be a nightmare...and as its this seperate program star team launching its own slightly custom version of java I don't want to fiddle with how it or normal java launches.

Some machines he is not reporting it doesn't happen on.

He has said he'll just live with it.
Thanks for the help anyway.
0
 

Author Closing Comment

by:xyratex
ID: 35042389
user will live with problem.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now