Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350718 - Ever more frequent crashes
Summary: Ever more frequent crashes
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 11:34 EDT by Beads Land-Trujillo CLA
Modified: 2019-11-27 07:30 EST (History)
3 users (show)

See Also:


Attachments
Crash reports over several days (121.34 KB, application/x-zip-compressed)
2011-06-29 11:37 EDT, Beads Land-Trujillo CLA
no flags Details
JVM error log (42.32 KB, application/octet-stream)
2014-11-18 09:35 EST, Dennis Wagelaar CLA
no flags Details
Eclipse configuration (827.52 KB, text/plain)
2014-11-18 09:37 EST, Dennis Wagelaar CLA
no flags Details
Eclipse error log (837.30 KB, text/plain)
2014-11-18 09:41 EST, Dennis Wagelaar CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Beads Land-Trujillo CLA 2011-06-29 11:34:35 EDT
Build Identifier: Build id: 20110218-0911

I've completely reinstalled Eclipse, this problem nonetheless continues, and now seems to be getting worse.  Previously opened ticket was closed, with suggestion that it was an Erlide issue.  Have uninstalled Erlide.  Issue continues unabated.

Stack: [0x05e70000,0x05f70000],  sp=0x05f6f364,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ole32.dll+0x2d7f1]  CoGetTreatAsClass+0x30c2
C  [ole32.dll+0x1b697]  CoInitialize+0x61
C  [ole32.dll+0x1b87c]  CoInitialize+0x246
C  [propsys.dll+0x16cf7]  PropVariantToUInt32WithDefault+0x6262
C  [propsys.dll+0x16cb4]  PropVariantToUInt32WithDefault+0x621f
C  [propsys.dll+0xb577]  InitPropVariantFromCLSID+0xd8
C  [propsys.dll+0xb542]  InitPropVariantFromCLSID+0xa3
C  [propsys.dll+0x486b]  DllCanUnloadNow+0x11d6
C  [propsys.dll+0x4b13]  DllCanUnloadNow+0x147e
C  [propsys.dll+0x4b95]  PSGetPropertyDescription+0x25
C  [propsys.dll+0x8f15]  PSCoerceToCanonicalValue+0x27
C  [SHELL32.dll+0x2c2a8]  SHGetNameFromIDList+0x1858
C  [SHELL32.dll+0x1a444]  IsLFNDriveW+0x1d8
C  [SHELL32.dll+0x1a3bb]  IsLFNDriveW+0x14f
C  [SHELL32.dll+0x641f1]  SHEvaluateSystemCommandTemplate+0x281
C  [SHLWAPI.dll+0x155b]  AssocQueryStringW+0x64
C  [swt-win32-3659.dll+0x21e7]  Java_org_eclipse_swt_internal_win32_OS_AssocQueryStringW+0xd4
j  org.eclipse.swt.internal.win32.OS.AssocQueryStringW(II[C[C[C[I)I+0
j  org.eclipse.swt.internal.win32.OS.AssocQueryString(IILorg/eclipse/swt/internal/win32/TCHAR;Lorg/eclipse/swt/internal/win32/TCHAR;Lorg/eclipse/swt/internal/win32/TCHAR;[I)I+60
j  org.eclipse.swt.program.Program.assocQueryString(ILorg/eclipse/swt/internal/win32/TCHAR;Z)Ljava/lang/String;+38

Reproducible: Always

Steps to Reproduce:
1. Use Eclipse for any length of time.  Sometimes crashes after an hour or more, sometimes crashes within a minute of restarting.  Always same stack trace.
2.
3.
Comment 1 Beads Land-Trujillo CLA 2011-06-29 11:37:06 EDT
Created attachment 198839 [details]
Crash reports over several days
Comment 2 Beads Land-Trujillo CLA 2011-06-29 12:01:42 EDT
Most often crashes occur when Eclipse isn't even the application with focus.  I don't even know anything is wrong until I try to go back to Eclipse and find it is no longer on the Windows task bar.  However, also happens when saving files in Eclipse, and when actually typing in Eclipse editors.
Comment 3 Felipe Heidrich CLA 2011-06-29 14:14:44 EDT
do you have number of the old ticket around ?
what is Erlide ?
Comment 4 Beads Land-Trujillo CLA 2011-06-29 15:18:50 EDT
(In reply to comment #3)
> do you have number of the old ticket around ?
> what is Erlide ?

Erlide has been uninstalled.  If anything, crashes have gotten worse since Erlide was removed.

Old ticket was:  [Bug 349753]

Have had over half a dozen more crashes since posting this bug.
Comment 5 Felipe Heidrich CLA 2011-06-29 15:37:57 EDT
Do you have anything installed on top of Eclipse ?

Let last call to a SWT API was Program#findProgram:
j  org.eclipse.swt.program.Program.findProgram(Ljava/lang/String;)Lorg/eclipse/swt/program/Program;+173
j  org.eclipse.ui.internal.registry.EditorRegistry.getSystemExternalEditorImageDescriptor(Ljava/lang/String;)Lorg/eclipse/jface/resource/ImageDescriptor;+18
j  org.eclipse.ui.internal.registry.EditorRegistry.getImageDescriptor(Ljava/lang/String;Lorg/eclipse/core/runtime/content/IContentType;)Lorg/eclipse/jface/resource/ImageDescriptor;+207
j  org.eclipse.ui.internal.ide.ContentTypeDecorator.decorate(Ljava/lang/Object;Lorg/eclipse/jface/viewers/IDecoration;)V+130
J  org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(Ljava/lang/Object;Lorg/eclipse/jface/viewers/IDecoration;)V


can put a println to find out what extension is being passed to Program.findProgram when the crash occurs ?

Sorry, but unable to reproduce the problem on my machine makes it quite hard to investigate the problem.
Comment 6 Beads Land-Trujillo CLA 2011-06-29 16:11:25 EDT
Put a println where?  In org.eclipse.swt.program.Program?  If you'd be kind enough to walk me through the process of importing that component to tinker with it, I'd be happy to do so.

Installs include Webtools, Amazon EC2, and Projectcards plugins.  As mentioned earlier, Erlide has been removed to eliminate that as a problem source.  I suppose I can start stripping out other components, but I'd like to try the println diagnostic first.

- Beads


(In reply to comment #5)
> Do you have anything installed on top of Eclipse ?
> 
> Let last call to a SWT API was Program#findProgram:
> j 
> org.eclipse.swt.program.Program.findProgram(Ljava/lang/String;)Lorg/eclipse/swt/program/Program;+173
> j 
> org.eclipse.ui.internal.registry.EditorRegistry.getSystemExternalEditorImageDescriptor(Ljava/lang/String;)Lorg/eclipse/jface/resource/ImageDescriptor;+18
> j 
> org.eclipse.ui.internal.registry.EditorRegistry.getImageDescriptor(Ljava/lang/String;Lorg/eclipse/core/runtime/content/IContentType;)Lorg/eclipse/jface/resource/ImageDescriptor;+207
> j 
> org.eclipse.ui.internal.ide.ContentTypeDecorator.decorate(Ljava/lang/Object;Lorg/eclipse/jface/viewers/IDecoration;)V+130
> J 
> org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(Ljava/lang/Object;Lorg/eclipse/jface/viewers/IDecoration;)V
> 
> 
> can put a println to find out what extension is being passed to
> Program.findProgram when the crash occurs ?
> 
> Sorry, but unable to reproduce the problem on my machine makes it quite hard to
> investigate the problem.
Comment 7 Beads Land-Trujillo CLA 2011-06-29 21:41:46 EDT
(In reply to comment #3)
> do you have number of the old ticket around ?
> what is Erlide ?

Apologies.  Misread your question before.  Erlide is plugin for Erlang programming language development under Eclipse IDE.
Comment 8 Felipe Heidrich CLA 2011-07-05 11:13:41 EDT
(In reply to comment #6)
> Put a println where?  In org.eclipse.swt.program.Program?  If you'd be kind
> enough to walk me through the process of importing that component to tinker
> with it, I'd be happy to do so.

First get SWT from CVS
http://eclipse.org/swt/cvs.php

Add println (or a breakpoint) to Program#findProgram.

Run (or Debug) as Eclipse application, 
(make sure the second Eclipse is running the code in your workspace by using printlns in the code or breakpoints) .

Follow the steps to reproduce the bug.

You should be able to see what parameters are being passed to Program#findProgram.
Comment 9 Dennis Wagelaar CLA 2014-11-18 09:35:43 EST
Created attachment 248722 [details]
JVM error log

This bug happens very rarely for me. JVM error log attached.
Comment 10 Dennis Wagelaar CLA 2014-11-18 09:37:32 EST
Created attachment 248723 [details]
Eclipse configuration

Added eclipse configuration as attachment (eclipse.buildId=4.4.1.M20140925-0400)
Comment 11 Dennis Wagelaar CLA 2014-11-18 09:41:37 EST
Created attachment 248724 [details]
Eclipse error log

Added eclipse error log as an attachment (JPA plugin was removed manually due to unacceptable performance - http://stackoverflow.com/questions/19649847/eclipse-kepler-jpa-project-change-event-handler-waiting).
Comment 12 Lars Vogel CLA 2019-11-27 07:30:33 EST
This bug hasn't had any activity in quite some time. Maybe the problem got
resolved, was a duplicate of something else, or became less pressing for some
reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it.
The information can be, for example, that the problem still occurs, that you
still want the feature, that more information is needed, or that the bug is
(for whatever reason) no longer relevant.

If the bug is still relevant, please remove the stalebug whiteboard tag.