Bug 552265 - [Windows 10] Nondeterministic JVM Crash in PropertiesView
Summary: [Windows 10] Nondeterministic JVM Crash in PropertiesView
Status: CLOSED DUPLICATE of bug 551067
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.9   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-21 03:52 EDT by Stefan Dirix CLA
Modified: 2019-10-21 04:07 EDT (History)
1 user (show)

See Also:


Attachments
Crashlog AdoptOpenJDK (80.58 KB, text/x-log)
2019-10-21 03:52 EDT, Stefan Dirix CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Dirix CLA 2019-10-21 03:52:08 EDT
Created attachment 280356 [details]
Crashlog AdoptOpenJDK

Eclipse crashes nondeterministically on Windows 10 during normal use cases involving the PropertiesView. A quick look into the crash logs indicates a SWT problem.

Eclipse arbitrarily crashes when editing in PropertiesView. For example when:
 1. Adding a class in "Sample Reflective Ecore Model Editor" (which in turn focuses on name in PropertiesView)
 2. Pressing Enter to get into editing mode
 3. "When lucky" Eclipse crashes. Sometimes on the first try, sometimes after many attempts.

Steps to reproduce pretty quickly:
 - Open a 2019-09 Eclipse variant
 - Navigate to an editable PropertiesView (for example open the "Dynamic Working Set Preferences" editor and click on a Working set)
 - Select an editable field and smash your keyboard keys, pressing regular chars and a whole lot of enter. For me it crashes within 1-60 seconds of doing that.

Other data points:
 - Reproduced with 2019-09 Eclipse Installer Java developer version of Eclipse and Modeling Tools 2019-09 packaged version
 - Reproduced with AdoptOpenJDK 11 (Hotspot) as well as Oracle Java 8.
 - Reproduced with Windows 10, Version 1809 (OS Build 17763.805 & OS Build 17763.195)

I was not able to reproduce the issue with Eclipse 2019-06!
Comment 1 Andrey Loskutov CLA 2019-10-21 04:07:02 EDT
Please try with 4.14 M1, it should contain the fix.

J 2533  org.eclipse.swt.internal.win32.OS.CallWindowProc(JJIJJ)J (0 bytes) @ 0x000000000bc21436 [0x000000000bc213e0+0x0000000000000056]
J 5935 c1 org.eclipse.swt.widgets.Text.callWindowProc(JIJJ)J (1170 bytes) @ 0x000000000bc61794 [0x000000000bc60f60+0x0000000000000834]
J 2320 c1 org.eclipse.swt.widgets.Control.windowProc(JIJJ)J (1980 bytes) @ 0x000000000bbad8bc [0x000000000bbab8f0+0x0000000000001fcc]
J 5934 c1 org.eclipse.swt.widgets.Text.windowProc(JIJJ)J (465 bytes) @ 0x000000000bc5dcd4 [0x000000000bc5d890+0x0000000000000444]
J 2296 c1 org.eclipse.swt.widgets.Display.windowProc(JJJJ)J (108 bytes) @ 0x000000000bba35c4 [0x000000000bba3490+0x0000000000000134]
v  ~StubRoutines::call_stub
J 2533  org.eclipse.swt.internal.win32.OS.CallWindowProc(JJIJJ)J (0 bytes) @ 0x000000000bc21436 [0x000000000bc213e0+0x0000000000000056]
J 5935 c1 org.eclipse.swt.widgets.Text.callWindowProc(JIJJ)J (1170 bytes) @ 0x000000000bc61794 [0x000000000bc60f60+0x0000000000000834]
j  org.eclipse.swt.widgets.Widget.wmSetFocus(JJJ)Lorg/eclipse/swt/internal/win32/LRESULT;+7
j  org.eclipse.swt.widgets.Control.WM_SETFOCUS(JJ)Lorg/eclipse/swt/internal/win32/LRESULT;+7
J 2320 c1 org.eclipse.swt.widgets.Control.windowProc(JIJJ)J (1980 bytes) @ 0x000000000bbad6e4 [0x000000000bbab8f0+0x0000000000001df4]
J 5934 c1 org.eclipse.swt.widgets.Text.windowProc(JIJJ)J (465 bytes) @ 0x000000000bc5dcd4 [0x000000000bc5d890+0x0000000000000444]
J 2296 c1 org.eclipse.swt.widgets.Display.windowProc(JJJJ)J (108 bytes) @ 0x000000000bba35ec [0x000000000bba3490+0x000000000000015c]
v  ~StubRoutines::call_stub
j  org.eclipse.swt.internal.win32.OS.SetFocus(J)J+0
j  org.eclipse.swt.widgets.Control.forceFocus()Z+69
j  org.eclipse.swt.widgets.Control.setFocus()Z+18
j  org.eclipse.jface.viewers.TextCellEditor.doSetFocus()V+18
j  org.eclipse.jface.viewers.CellEditor.setFocus()V+1

*** This bug has been marked as a duplicate of bug 551067 ***