Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353224 - Eclipse crash due to GPF in comctl32
Summary: Eclipse crash due to GPF in comctl32
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 11:26 EDT by Szymon Ptaszkiewicz CLA
Modified: 2011-09-26 05:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Ptaszkiewicz CLA 2011-07-27 11:26:08 EDT
Eclipse sometimes crashes because of GPF. No steps to reproduce at will, it happens after Eclipse has not been used for some time.

"main" J9VMThread:0x00B11F00, j9thread_t:0x00015004, java/lang/Thread:0x0121E7E8, state:R, prio=6
	 (native thread ID:0x51C, native priority:0x6, native policy:UNKNOWN)
	Java callstack:
          at org/eclipse/swt/internal/win32/OS.CallWindowProcW(Native Method)
          at org/eclipse/swt/internal/win32/OS.CallWindowProc(Bytecode PC:12(Compiled Code))
          at org/eclipse/swt/widgets/ToolBar.callWindowProc(Bytecode PC:33(Compiled Code))
          at org/eclipse/swt/widgets/Control.windowProc(Bytecode PC:1798(Compiled Code))
          at org/eclipse/swt/widgets/Display.windowProc(Bytecode PC:346(Compiled Code))
          at org/eclipse/swt/internal/win32/OS.DispatchMessageW(Native Method)
          at org/eclipse/swt/internal/win32/OS.DispatchMessage(Bytecode PC:7(Compiled Code))
          at org/eclipse/swt/widgets/Display.readAndDispatch(Bytecode PC:64(Compiled Code))
          at org/eclipse/ui/internal/Workbench.runEventLoop(Bytecode PC:64(Compiled Code))
          at org/eclipse/ui/internal/Workbench.runUI(Bytecode PC:555)
          at org/eclipse/ui/internal/Workbench.access$4(Bytecode PC:1)
          at org/eclipse/ui/internal/Workbench$7.run(Bytecode PC:55)
          at org/eclipse/core/databinding/observable/Realm.runWithDefault(Bytecode PC:14)
          at org/eclipse/ui/internal/Workbench.createAndRunWorkbench(Bytecode PC:18)
          at org/eclipse/ui/PlatformUI.createAndRunWorkbench(Bytecode PC:2)
          at org/eclipse/ui/internal/ide/application/IDEApplication.start(Bytecode PC:99)
          at org/eclipse/equinox/internal/app/EclipseAppHandle.run(Bytecode PC:137)
          at org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.runApplication(Bytecode PC:105)
          at org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.start(Bytecode PC:29)
          at org/eclipse/core/runtime/adaptor/EclipseStarter.run(Bytecode PC:149)
          at org/eclipse/core/runtime/adaptor/EclipseStarter.run(Bytecode PC:183)
          at sun/reflect/NativeMethodAccessorImpl.invoke0(Native Method)
          at sun/reflect/NativeMethodAccessorImpl.invoke(Bytecode PC:83)
          at sun/reflect/DelegatingMethodAccessorImpl.invoke(Bytecode PC:6)
          at java/lang/reflect/Method.invoke(Bytecode PC:163)
          at org/eclipse/equinox/launcher/Main.invokeFramework(Bytecode PC:211)
          at org/eclipse/equinox/launcher/Main.basicRun(Bytecode PC:126)
          at org/eclipse/equinox/launcher/Main.run(Bytecode PC:4)
          at org/eclipse/equinox/launcher/Main.main(Bytecode PC:10)
	Native callstack:
          Ordinal384+0x5348e (0x771CF349 [comctl32+0x6f349])
          Ordinal384+0x57f4a (0x771D3E05 [comctl32+0x73e05])
          CreateToolbar+0x1302 (0x771D5EC1 [comctl32+0x75ec1])
          GetDC+0x6d (0x77CF8734 [USER32+0x8734])
          GetDC+0x14f (0x77CF8816 [USER32+0x8816])
          IsWindowUnicode+0xa1 (0x77D0A013 [USER32+0x1a013])
          CallWindowProcW+0x1b (0x77D0A039 [USER32+0x1a039])
          _Java_org_eclipse_swt_internal_win32_OS_CallWindowProcW@28+0x18 (0x43F825FB [swt-win32-3655+0x25fb])
          Ordinal389+0x28df (0x771DE0F3 [comctl32+0x7e0f3])
          callVirtualIntMethodV+0x26 (jnicgen.c:101, 0x7FF06466 [j9vm24+0x16466])
          _Java_org_eclipse_swt_internal_Callback_reset@8+0x1a8 (0x43F8122F [swt-win32-3655+0x122f])
          GetDC+0x6d (0x77CF8734 [USER32+0x8734])
          GetDC+0x14f (0x77CF8816 [USER32+0x8816])
          GetWindowLongW+0x127 (0x77CF89CD [USER32+0x89cd])
          DispatchMessageW+0xf (0x77CF8A10 [USER32+0x8a10])
          _Java_org_eclipse_swt_internal_win32_OS_DispatchMessageW@12+0x31 (0x43F839B7 [swt-win32-3655+0x39b7])
          (0x4A8E22C5)
          JVM_InvokeMethod+0x50 (jvm.c:3969, 0x7FBD4560 [jvm+0x4560])
          Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x15 (nativeaccessors.c:16, 0x7F3F667F [java+0x667f])
          hashTableFindNode+0x29 (hashtable.c:597, 0x7FF36E09 [j9vm24+0x46e09])
          loadNonArrayClass+0x45 (classsupport.c:696, 0x7FEF6D35 [j9vm24+0x6d35])
          signalProtectAndRunGlue+0xa (jnicsup.c:1840, 0x7FF07EDA [j9vm24+0x17eda])
          gpProtectAndRun+0x38 (jnicsup.c:410, 0x7FF08728 [j9vm24+0x18728])
          gpCheckCallin+0x3a (jnicsup.c:558, 0x7FF087DA [j9vm24+0x187da])
          callStaticVoidMethod+0x44 (jnicgen.c:303, 0x7FF06E34 [j9vm24+0x16e34])
          (0x0040372B [javaw+0x372b])
          (0x00409A2E [javaw+0x9a2e])
          GetModuleFileNameA+0x1ba (0x7C7DB729 [kernel32+0xb729])
Comment 1 Felipe Heidrich CLA 2011-07-27 11:50:27 EDT
if we don't know how to reproduce the problem there is no much we can do here.
Comment 2 Szymon Ptaszkiewicz CLA 2011-07-27 12:29:19 EDT
(In reply to comment #1)
> if we don't know how to reproduce the problem there is no much we can do here.

Are there any tracing options that we could enable to get some more details when the crash occurs next time?
Comment 3 Szymon Ptaszkiewicz CLA 2011-09-26 05:15:42 EDT
No longer reproducible.