[go: up one dir, main page]

Menu

#69 Occasional access violation on win32 crashes Eclipse IDE

colorer-take5
closed-fixed
5
2005-06-10
2004-12-07
Matt Fozard
No

JNI code appears to cause access violation, which then
causes Eclipse IDE to terminate unexpectedly. Problem
looks to be inside
net.sf.colorer.impl.BaseEditorNative.idleJob. 1
example below, 1 attached.

An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION
(0xc0000005) occurred at PC=0x7C910F29
Function=wcsncpy+0x49A
Library=C:\WINDOWS\system32\ntdll.dll

Current Java thread:
at net.sf.colorer.impl.BaseEditorNative.idleJob(Native
Method)
at
net.sf.colorer.impl.BaseEditorNative.idleJob(BaseEditorNative.java:154)
at
net.sf.colorer.swt.TextColorer$3.run(TextColorer.java:119)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
- locked <0x118536b8> (a
org.eclipse.swt.widgets.RunnableLock)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)

Dynamic libraries:
0x00400000 - 0x00407000 C:\Sun\AppServer\jdk\bin\javaw.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F56000 C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000
C:\Sun\AppServer\jdk\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x6BC00000 - 0x6BC14000 C:\WINDOWS\system32\DrvTrNTm.dll
0x6BC20000 - 0x6BC45000 C:\WINDOWS\system32\DrvTrNTl.dll
0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll
0x10000000 - 0x10007000
C:\Sun\AppServer\jdk\jre\bin\hpi.dll
0x00A80000 - 0x00A8E000
C:\Sun\AppServer\jdk\jre\bin\verify.dll
0x00A90000 - 0x00AA9000
C:\Sun\AppServer\jdk\jre\bin\java.dll
0x00AB0000 - 0x00ABD000
C:\Sun\AppServer\jdk\jre\bin\zip.dll
0x03140000 - 0x0314F000
C:\Sun\AppServer\jdk\jre\bin\net.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\WS2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x03190000 - 0x03198000
C:\Sun\AppServer\jdk\jre\bin\nio.dll
0x035A0000 - 0x035EE000 C:\Program
Files\Eclipse\eclipse\plugins\org.eclipse.swt.win32_3.0.1\os\win32\x86\swt-win32-3063.dll
0x774E0000 - 0x7761C000 C:\WINDOWS\system32\ole32.dll
0x5D090000 - 0x5D127000 C:\WINDOWS\system32\COMCTL32.dll
0x763B0000 - 0x763F9000 C:\WINDOWS\system32\comdlg32.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x7C9C0000 - 0x7D1D4000 C:\WINDOWS\system32\SHELL32.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x76390000 - 0x763AD000 C:\WINDOWS\system32\IMM32.dll
0x74D90000 - 0x74DFB000 C:\WINDOWS\system32\USP10.dll
0x773D0000 - 0x774D2000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x03760000 - 0x03768000 C:\Program
Files\Eclipse\eclipse\plugins\org.eclipse.core.resources.win32_3.0.0\os\win32\x86\core_2_1_0b.dll
0x74C80000 - 0x74CAC000 C:\WINDOWS\system32\oleacc.dll
0x76080000 - 0x760E5000 C:\WINDOWS\system32\MSVCP60.dll
0x20000000 - 0x202C5000 C:\WINDOWS\system32\xpsp2res.dll
0x76380000 - 0x76385000 C:\WINDOWS\system32\msimg32.dll
0x03B00000 - 0x03B5D000 C:\Program
Files\Eclipse\eclipse\plugins\net.sf.colorer_0.6.0\os\win32\x86\net_sf_colorer.dll
0x771B0000 - 0x77256000 C:\WINDOWS\system32\WININET.dll
0x77A80000 - 0x77B14000 C:\WINDOWS\system32\CRYPT32.dll
0x77B20000 - 0x77B32000 C:\WINDOWS\system32\MSASN1.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\netapi32.dll
0x77920000 - 0x77A13000 C:\WINDOWS\system32\SETUPAPI.dll
0x76FD0000 - 0x7704F000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
0x77260000 - 0x772FE000 C:\WINDOWS\system32\urlmon.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x76C30000 - 0x76C5E000 C:\WINDOWS\system32\WINTRUST.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x0FFD0000 - 0x0FFF8000 C:\WINDOWS\system32\rsaenh.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL

Heap at VM Abort:
Heap
def new generation total 2624K, used 3K [0x10010000,
0x102e0000, 0x104f0000)
eden space 2368K, 0% used [0x10010000, 0x10010eb8,
0x10260000)
from space 256K, 0% used [0x10260000, 0x10260000,
0x102a0000)
to space 256K, 0% used [0x102a0000, 0x102a0000,
0x102e0000)
tenured generation total 33520K, used 20109K
[0x104f0000, 0x125ac000, 0x14010000)
the space 33520K, 59% used [0x104f0000, 0x118936a0,
0x11893800, 0x125ac000)
compacting perm gen total 25088K, used 24845K
[0x14010000, 0x15890000, 0x18010000)
the space 25088K, 99% used [0x14010000, 0x15853730,
0x15853800, 0x15890000)

Local Time = Tue Dec 07 15:34:47 2004
Elapsed Time = 22662
#
# The exception above was detected in native code
outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b04
mixed mode)
#

Discussion

  • Matt Fozard

    Matt Fozard - 2004-12-07

    Eclipse crash log

     
  • Igor Russkih

    Igor Russkih - 2005-04-28
    • assigned_to: nobody --> lomecb
    • status: open --> open-accepted
     
  • Igor Russkih

    Igor Russkih - 2005-04-28

    Logged In: YES
    user_id=313042

    The problem is observed occasionally and seems to be a
    consequence of possible parallel parsing in multiple editors.

     
  • Igor Russkih

    Igor Russkih - 2005-06-10
    • status: open-accepted --> closed-fixed
     
  • Igor Russkih

    Igor Russkih - 2005-06-10

    Logged In: YES
    user_id=313042

    Latest release contains some potential native faults fixes,
    should be tested. For now closing the issue.

     

Log in to post a comment.