Bug 13748 - gp - EXCEPTION_ACCESS_VIOLATION in COMCTL32.dll
Summary: gp - EXCEPTION_ACCESS_VIOLATION in COMCTL32.dll
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 39225 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-13 17:35 EDT by Brian Larson CLA
Modified: 2004-03-08 09:27 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Larson CLA 2002-04-13 17:35:09 EDT
I did a New...Class through the menu and entered the information and presssed 
finish.  Eclipse dissappeared with no error message.  Of course, all unsaved 
changes were lost.  I cannot reproduce the problem.
I found a file named hs_err_pid1456.log in the eclipse root directory (see 
contents below).
I am using Eclipse build 20020321 on Windows 2000 SP2.
C:\WINNT\system32\COMCTL32.dll is version 5.81.4522.1800 (dated October 20, 
2000).
See bottom for VM info.

hs_err_pid1456.log contents:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x71713220
Function name=Ordinal382
Library=C:\WINNT\system32\COMCTL32.dll

Current Java thread:
	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1138)
	at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:145)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:2712)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:1807)
	at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:1674)
	at org.eclipse.swt.widgets.Tree.getItems(Tree.java:456)
	at org.eclipse.jface.viewers.TreeViewer.getChildren(TreeViewer.java:101)
	at org.eclipse.jface.viewers.AbstractTreeViewer.doFindItem
(AbstractTreeViewer.java:306)
	at org.eclipse.jface.viewers.StructuredViewer.findItem
(StructuredViewer.java:259)
	at org.eclipse.jface.viewers.StructuredViewer.update
(StructuredViewer.java:954)
	at org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged
(StructuredViewer.java:447)
	at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged
(ContentViewer.java:70)
	at org.eclipse.ui.internal.DecoratorManager.fireListeners
(DecoratorManager.java:87)
	at org.eclipse.ui.internal.DecoratorManager.labelProviderChanged
(DecoratorManager.java:373)
	at org.eclipse.jface.viewers.LabelProvider.fireLabelProviderChanged
(LabelProvider.java:55)
	at org.eclipse.team.internal.ccvs.ui.CVSDecorator.access$1
(CVSDecorator.java:1)
	at org.eclipse.team.internal.ccvs.ui.CVSDecorator$2.run
(CVSDecorator.java:364)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:29)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:93)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1397)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1211)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:722)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:705)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:777)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:196)
	at org.eclipse.core.launcher.Main.run(Main.java:555)
	at org.eclipse.core.launcher.Main.main(Main.java:396)

Dynamic libraries:
0x00400000 - 0x00405000 	C:\WINNT\system32\javaw.exe
0x77F80000 - 0x77FFB000 	C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0B000 	C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000 	C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DB0000 	C:\WINNT\system32\RPCRT4.DLL
0x77E10000 - 0x77E74000 	C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 	C:\WINNT\system32\GDI32.DLL
0x78000000 - 0x78046000 	C:\WINNT\system32\MSVCRT.dll
0x6D420000 - 0x6D4EF000 	C:\Program Files\JavaSoft\JRE\1.3.1
\bin\hotspot\jvm.dll
0x77570000 - 0x775A0000 	C:\WINNT\system32\WINMM.dll
0x6D220000 - 0x6D227000 	C:\Program Files\JavaSoft\JRE\1.3.1\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 	C:\Program Files\JavaSoft\JRE\1.3.1
\bin\verify.dll
0x6D250000 - 0x6D266000 	C:\Program Files\JavaSoft\JRE\1.3.1\bin\java.dll
0x6D3C0000 - 0x6D3CD000 	C:\Program Files\JavaSoft\JRE\1.3.1\bin\zip.dll
0x10000000 - 0x10007000 
	D:\Projects\eclipse\plugins\org.eclipse.core.resources\os\win32
\core_2_0_5.dll
0x08EA0000 - 0x08EE4000 
	D:\Projects\eclipse\plugins\org.eclipse.swt\os\win32\x86\swt-win32-
2031.dll
0x77A50000 - 0x77B46000 	C:\WINNT\system32\ole32.dll
0x71700000 - 0x7178A000 	C:\WINNT\system32\COMCTL32.dll
0x76B30000 - 0x76B6E000 	C:\WINNT\system32\comdlg32.dll
0x70BD0000 - 0x70C1C000 	C:\WINNT\system32\SHLWAPI.DLL
0x782F0000 - 0x78532000 	C:\WINNT\system32\SHELL32.DLL
0x779B0000 - 0x77A4B000 	C:\WINNT\system32\OLEAUT32.dll
0x75E60000 - 0x75E7A000 	C:\WINNT\system32\IMM32.dll
0x61210000 - 0x6121C000 	C:\Program Files\Microsoft 
Hardware\Mouse\POINT32.dll
0x69640000 - 0x6965F000 	C:\WINNT\system32\oleacc.dll
0x6B2C0000 - 0x6B2C5000 	C:\WINNT\system32\msimg32.dll
0x61220000 - 0x6122E000 	C:\Program Files\Microsoft 
Hardware\Mouse\MSH_ZWF.dll
0x6D340000 - 0x6D348000 	C:\Program Files\JavaSoft\JRE\1.3.1\bin\net.dll
0x75050000 - 0x75058000 	C:\WINNT\system32\WSOCK32.dll
0x75030000 - 0x75043000 	C:\WINNT\system32\WS2_32.DLL
0x75020000 - 0x75028000 	C:\WINNT\system32\WS2HELP.DLL
0x785C0000 - 0x785CC000 	C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 	C:\WINNT\system32\DNSAPI.DLL
0x77340000 - 0x77353000 	C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000 	C:\WINNT\system32\ICMP.DLL
0x77320000 - 0x77337000 	C:\WINNT\system32\MPRAPI.DLL
0x75150000 - 0x75160000 	C:\WINNT\system32\SAMLIB.DLL
0x75170000 - 0x751BF000 	C:\WINNT\system32\NETAPI32.DLL
0x77BE0000 - 0x77BEF000 	C:\WINNT\system32\SECUR32.DLL
0x751C0000 - 0x751C6000 	C:\WINNT\system32\NETRAP.DLL
0x77950000 - 0x77979000 	C:\WINNT\system32\WLDAP32.DLL
0x773B0000 - 0x773DE000 	C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A2000 	C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000 	C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790D000 	C:\WINNT\system32\SETUPAPI.DLL
0x77C10000 - 0x77C6D000 	C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77512000 	C:\WINNT\system32\RASAPI32.DLL
0x774C0000 - 0x774D1000 	C:\WINNT\system32\RASMAN.DLL
0x77530000 - 0x77552000 	C:\WINNT\system32\TAPI32.DLL
0x77360000 - 0x77379000 	C:\WINNT\system32\DHCPCSVC.DLL
0x775A0000 - 0x77625000 	C:\WINNT\system32\CLBCATQ.DLL
0x777E0000 - 0x777E8000 	C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 	C:\WINNT\system32\rasadhlp.dll
0x74FD0000 - 0x74FEF000 	C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 	C:\WINNT\System32\wshtcpip.dll
0x71110000 - 0x711D9000 	C:\WINNT\System32\browseui.dll
0x71500000 - 0x7161B000 	C:\WINNT\System32\SHDOCVW.dll
0x77840000 - 0x7787C000 	C:\WINNT\system32\cscui.dll
0x770C0000 - 0x770E3000 	C:\WINNT\system32\CSCDLL.DLL
0x75090000 - 0x750A0000 	C:\WINNT\system32\MPR.DLL
0x75160000 - 0x7516C000 	C:\WINNT\System32\ntlanman.dll
0x75210000 - 0x75225000 	C:\WINNT\System32\NETUI0.DLL
0x751D0000 - 0x75208000 	C:\WINNT\System32\NETUI1.DLL
0x77920000 - 0x77943000 	C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 	C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 	C:\WINNT\system32\PSAPI.DLL

Local Time = Sat Apr 13 15:23:02 2002
Elapsed Time = 104848
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 mixed mode)
#
Comment 1 Erich Gamma CLA 2002-04-13 19:06:18 EDT
moving to SWT for investigation
Comment 2 Steve Northover CLA 2002-07-04 16:44:50 EDT
Can't recreate it.  Feel free to reopen this PR if it happens again.
Comment 3 viktor levine CLA 2002-08-09 10:39:22 EDT
I can second this with slightly different stacktrace. Additionally, I have Win 
NT4, 256 Mb, with msie 4.0.4.72.3612.1713.

I can reproduce with 100% - always.

The stacktrace produced as a result of attempted run of this program :

public class main {
	public static void main(String[] args) {
		System.err.println("Hello, world");
	}
}

Stacktrace follows:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x7105be77
Function name=ImageList_Remove
Library=C:\WINNT\system32\COMCTL32.dll

Current Java thread:
	at org.eclipse.swt.internal.win32.OS.DestroyWindow(Native Method)
	at org.eclipse.swt.widgets.Control.destroyWidget(Control.java:493)
	at org.eclipse.swt.widgets.Widget.dispose(Widget.java:358)
	at org.eclipse.swt.widgets.Shell.dispose(Shell.java:451)
	at org.eclipse.jface.window.Window.close(Window.java:220)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.clo
se(LaunchConfigurationDialog.java:561)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.han
dleLaunchPressed(LaunchConfigurationDialog.java:2239)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.but
tonPressed(LaunchConfigurationDialog.java:427)
	at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:398)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:87)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:557)
	at org.eclipse.jface.window.Window.open(Window.java:537)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.doL
astLaunchedConfig(LaunchConfigurationDialog.java:617)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.ope
n(LaunchConfigurationDialog.java:578)
	at 
org.eclipse.debug.internal.ui.actions.OpenLaunchConfigurationsAction.run
(OpenLaunchConfigurationsAction.java:132)
	at 
org.eclipse.debug.internal.ui.actions.OpenLaunchConfigurationsAction.run
(OpenLaunchConfigurationsAction.java:101)
	at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:210)
	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent
(WWinPluginAction.java:175)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:775)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
	at org.eclipse.core.launcher.Main.run(Main.java:698)
	at org.eclipse.core.launcher.Main.main(Main.java:534)

Dynamic libraries:
0x00400000 - 0x00405000 	C:\WINNT\system32\javaw.exe
0x77F60000 - 0x77FBC000 	C:\WINNT\System32\ntdll.dll
0x77DC0000 - 0x77DFF000 	C:\WINNT\system32\ADVAPI32.dll
0x77F00000 - 0x77F5E000 	C:\WINNT\system32\KERNEL32.dll
0x77E70000 - 0x77EC4000 	C:\WINNT\system32\USER32.dll
0x77ED0000 - 0x77EFC000 	C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E67000 	C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78040000 	C:\WINNT\system32\MSVCRT.dll
0x6D420000 - 0x6D4F0000 	C:\Program Files\JavaSoft\JRE\1.3.1_02
\bin\hotspot\jvm.dll
0x77FD0000 - 0x77FFA000 	C:\WINNT\system32\WINMM.dll
0x6BC00000 - 0x6BC11000 	C:\WINNT\system32\SMNT40.dll
0x69F00000 - 0x69FBA000 	C:\WINNT\system32\adisynth.dll
0x6D220000 - 0x6D227000 	C:\Program Files\JavaSoft\JRE\1.3.1_02
\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 	C:\Program Files\JavaSoft\JRE\1.3.1_02
\bin\verify.dll
0x6D250000 - 0x6D266000 	C:\Program Files\JavaSoft\JRE\1.3.1_02
\bin\java.dll
0x6D3C0000 - 0x6D3CD000 	C:\Program Files\JavaSoft\JRE\1.3.1_02
\bin\zip.dll
0x10000000 - 0x10007000 	C:
\eclipse\plugins\org.eclipse.core.resources.win32_2.0.0\os\win32\x86
\core_2_0_5.dll
0x09420000 - 0x09465000 	C:\eclipse\plugins\org.eclipse.swt.win32_2.0.0
\os\win32\x86\swt-win32-2047.dll
0x77B20000 - 0x77BD5000 	C:\WINNT\system32\ole32.dll
0x71040000 - 0x710B5000 	C:\WINNT\system32\COMCTL32.dll
0x77D80000 - 0x77DB2000 	C:\WINNT\system32\comdlg32.dll
0x77C40000 - 0x77D7C000 	C:\WINNT\system32\SHELL32.dll
0x65340000 - 0x653D2000 	C:\WINNT\system32\OLEAUT32.dll
0x76AB0000 - 0x76AB5000 	C:\WINNT\system32\IMM32.dll
0x77780000 - 0x77786000 	C:\WINNT\System32\msidle.dll
0x6D340000 - 0x6D348000 	C:\Program Files\JavaSoft\JRE\1.3.1_02
\bin\net.dll
0x776D0000 - 0x776D8000 	C:\WINNT\system32\WSOCK32.dll
0x776B0000 - 0x776C4000 	C:\WINNT\system32\WS2_32.dll
0x776A0000 - 0x776A7000 	C:\WINNT\system32\WS2HELP.dll
0x74FF0000 - 0x74FFD000 	C:\WINNT\System32\rnr20.dll
0x77BF0000 - 0x77BF7000 	C:\WINNT\system32\rpcltc1.dll
0x76AC0000 - 0x76ADD000 	C:\WINNT\system32\imagehlp.dll
0x73A10000 - 0x73A22000 	C:\WINNT\system32\PSAPI.DLL

Local Time = Fri Aug 09 15:42:19 2002
Elapsed Time = 94
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
#
Comment 4 Steve Northover CLA 2002-08-09 15:11:53 EDT
Try updating IE.  This will give you a free new version of comctl32.dll and 
this will probably fix the problem.  It think it says somewhere that Eclipse 
requires at least IE 5.0.

Can you let me know if this fixes it?
Comment 5 viktor levine CLA 2002-08-10 18:45:27 EDT
Thanks, I thought that would be the 3rd party fault. I have noticed that some
3rd party software is generally unreliable. 
I wish that my current client, though, was quicker in appreciating the issue. As
it goes, this is the kit I stuck with...
Brgrds.
Comment 6 Steve Northover CLA 2002-08-12 09:52:19 EDT
Hmmm ... I can't close this PR until I know that the problem is an old version 
of IE.  Generally, IE 6.0 is pretty reliable.  Any suggestions?
Comment 7 viktor levine CLA 2002-08-13 11:36:08 EDT
Well, I can confirm that it is not reproducible with a newer version (post 4) 
of ie (What is new?). I could not, however, upgrade my current boxen due to the 
client's whim...

Anyway, it is probably me not examining the minimum system requirements... If I 
only saw that ie5 is the minimum for windose... I might suggest posting a link 
to the list of requirements, but it is down to the developer to find out about 
it at the end of the day! Or is it?

Brgrds
Comment 8 Steve Northover CLA 2002-08-13 12:24:33 EDT
I'm going to close this based on the fact that you can't reproduce it an IE 
greater than 4.0 (and neither can we).  It's a problem we can't work around.  
Thanks.
Comment 9 O. S. CLA 2003-06-24 02:58:27 EDT
*** Bug 39225 has been marked as a duplicate of this bug. ***
Comment 10 Martin Lippert CLA 2004-03-06 12:37:48 EST
I know that this is not a problem of Eclipse but just as a short notice for the
people working in this area:

I got the same crash running on winxp using IE 6.0 and Eclipse 3.0M7.

Unfortunately I cannot reproduce it. But I can provide the error log if needed.
Comment 11 Steve Northover CLA 2004-03-08 09:27:55 EST
Can you attach the .log? Thanks.