Project: SWT
Bug 82739 EXCEPTION_ACCESS_VIOLATION hovering over check in table with SWT.CHECK style
Reported: 2005-01-13 05:19:27 | Status: resolved fixed

Version: 3.1.0 Build id: I20050112-1200 When i hover over the check mark of a table that was created with the SWT.CHECK style bit and have no text in the first column i get an EXCEPTION_ACCESS_VIOLATION. Will attach a snippet to reproduce. An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x773D4933 Function=Ordinal155+0x58 Library=C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\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:1499) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:172) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3103) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3376) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1575) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2452) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.tigris.subversion.subclipse.ui.actions.CommitAction.confirmCommit(CommitAction.java:188) at org.tigris.subversion.subclipse.ui.actions.CommitAction$1.run(CommitAction.java:82) at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:366) at org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.java:228) at org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.java:237) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:234) at org.tigris.subversion.subclipse.ui.actions.CommitAction.execute(CommitAction.java:101) at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:58) at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:234) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:419) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2809) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2454) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1577) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1543) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:287) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:274) 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:255) at org.eclipse.core.launcher.Main.run(Main.java:811) at org.eclipse.core.launcher.Main.main(Main.java:795) Dynamic libraries: 0x00400000 - 0x00407000 C:\j2sdk1.4.2\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 - 0x08136000 C:\j2sdk1.4.2\jre\bin\client\jvm.dll 0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll 0x10000000 - 0x10007000 C:\j2sdk1.4.2\jre\bin\hpi.dll 0x00840000 - 0x0084E000 C:\j2sdk1.4.2\jre\bin\verify.dll 0x00850000 - 0x00868000 C:\j2sdk1.4.2\jre\bin\java.dll 0x00870000 - 0x0087D000 C:\j2sdk1.4.2\jre\bin\zip.dll 0x00940000 - 0x0094F000 C:\j2sdk1.4.2\jre\bin\net.dll 0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\WS2_32.dll 0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll 0x03000000 - 0x03008000 C:\j2sdk1.4.2\jre\bin\nio.dll 0x03420000 - 0x0346F000 D:\eclipse-SDK-I20050112-1200-win32\plugins\org.eclipse.swt.win32_3.1.0\os\win32\x86\swt-win32-3119.dll 0x774E0000 - 0x7761C000 C:\WINDOWS\system32\ole32.dll 0x773D0000 - 0x774D2000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll 0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll 0x763B0000 - 0x763F9000 C:\WINDOWS\system32\comdlg32.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 0x035B0000 - 0x035B7000 C:\Program Files\Logitech\MouseWare\System\LgWndHk.dll 0x035F0000 - 0x035F8000 D:\eclipse-SDK-I20050112-1200-win32\plugins\org.eclipse.core.resources.win32_3.0.0\os\win32\x86\core_3_1_0.dll 0x03750000 - 0x03761000 C:\WINDOWS\system32\ctagent.dll 0x73F10000 - 0x73F6C000 C:\WINDOWS\system32\DSOUND.dll 0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll 0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll 0x74C80000 - 0x74CAC000 C:\WINDOWS\system32\oleacc.dll 0x76080000 - 0x760E5000 C:\WINDOWS\system32\MSVCP60.dll 0x03830000 - 0x03AF5000 C:\WINDOWS\system32\xpsp2res.dll 0x77B40000 - 0x77B62000 C:\WINDOWS\system32\Apphelp.dll 0x76FD0000 - 0x7704F000 C:\WINDOWS\system32\CLBCATQ.DLL 0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll 0x75CF0000 - 0x75D81000 C:\WINDOWS\System32\mlang.dll 0x6EEC0000 - 0x6EEEA000 D:\data\eclipse\workspace\javahl-win32\libapr.dll 0x71A50000 - 0x71A8F000 C:\WINDOWS\system32\MSWSOCK.dll 0x6EE50000 - 0x6EE59000 D:\data\eclipse\workspace\javahl-win32\libapriconv.dll 0x04470000 - 0x04569000 D:\data\eclipse\workspace\javahl-win32\libeay32.dll 0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll 0x04570000 - 0x0460E000 D:\data\eclipse\workspace\javahl-win32\libdb42.dll 0x04610000 - 0x04640000 D:\data\eclipse\workspace\javahl-win32\ssleay32.dll 0x6EE60000 - 0x6EE99000 D:\data\eclipse\workspace\javahl-win32\libaprutil.dll 0x03C50000 - 0x03C60000 C:\Program Files\Subversion\bin\intl.dll 0x04640000 - 0x0470C000 D:\data\eclipse\workspace\javahl-win32\libsvnjavahl-1.dll 0x76780000 - 0x76789000 C:\WINDOWS\system32\SHFOLDER.dll 0x76380000 - 0x76385000 C:\WINDOWS\system32\msimg32.dll 0x037E0000 - 0x037EB000 C:\Program Files\Common Files\Logitech\Scrolling\LgMsgHk.dll 0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll 0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll 0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL Heap at VM Abort: Heap def new generation total 9152K, used 1888K [0x10010000, 0x109f0000, 0x113e0000) eden space 8192K, 20% used [0x10010000, 0x101b0ab8, 0x10810000) from space 960K, 23% used [0x10900000, 0x10937648, 0x109f0000) to space 960K, 0% used [0x10810000, 0x10810000, 0x10900000) tenured generation total 121024K, used 77731K [0x113e0000, 0x18a10000, 0x20210000) the space 121024K, 64% used [0x113e0000, 0x15fc8da8, 0x15fc8e00, 0x18a10000) compacting perm gen total 28672K, used 28508K [0x20210000, 0x21e10000, 0x24210000) the space 28672K, 99% used [0x20210000, 0x21de72d8, 0x21de7400, 0x21e10000)

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java