Modify

Opened 2 years ago

Closed 2 years ago

Last modified 18 months ago

#14821 closed defect (duplicate)

JVM crash on Windows 10 Creators Update when opening a file chooser

Reported by: osmbiker Owned by: team
Priority: critical Milestone:
Component: Core Version: tested
Keywords: template_report javabug windows Cc:

Description

What steps will reproduce the problem?

  1. Start Josm (Independent of using josm.jnlp or josm-tested.jar)
  2. Press the button 'File|Open' (Datei|öffnen)
  3. Josm ends

What is the expected result?

Show file open Dialog.

What happens instead?

Josm ends

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-05-02 23:28:33 +0200 (Tue, 02 May 2017)
Build-Date:2017-05-02 21:34:40
Revision:12039
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12039 de) Windows 10 64-Bit
Memory Usage: 313 MB / 880 MB (173 MB allocated, but free)
Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1200
Maximum Screen Size: 1920x1200
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\Desktop\josm.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=50405, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Last errors/warnings:
- W: extended font config - overriding 'allfonts.symbol=Symbol' with 'Segoe UI Symbol'

Attachments (1)

hs_err_pid12516.log (36.9 KB) - added by anonymous 2 years ago.

Download all attachments as: .zip

Change History (11)

Changed 2 years ago by anonymous

Attachment: hs_err_pid12516.log added

comment:1 Changed 2 years ago by bastiK

Resolution: othersoftware
Status: newclosed

A Java bug JDK-8180379, fixed in upcoming version 8u152. (You can install early access Java versions here, at your own risk.)

comment:2 Changed 2 years ago by bastiK

Milestone: 17.05

comment:3 Changed 2 years ago by Don-vip

Keywords: javabug windows added
Resolution: othersoftwareduplicate

See #14795 - JavaBugs.

comment:4 Changed 2 years ago by Don-vip

Milestone: 17.05

comment:5 Changed 2 years ago by Don-vip

Maybe a workaround is possible as it seems doable to detect in advance if the bug will occur:

If GodMode is enabled in Windows 10 (v1703), JFileChooser program will crash. 
Note: GodMode is a dedicated folder that lets you see all control panels in one place 

Checked this for JDK 8u121, 8u131, 8u152, and 9 ea and could confirm the report. 

''Steps to reproduce: 
- Ensure that Windows 10 system is running version 1703 
1. Create a new folder on the desktop. 
2. Rename the folder exactly as given below: 
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} 
3. Run the attached test case (Test.java) with specific JDK version. 
8u121 b13: FAIL 
8u131 b11: FAIL 
8u152 ea b02: FAIL 
9 ea b166: FAIL'' 

And Oracle has also mentioned a workaround:

WORKAROUND 

By default in Windows LAF "useSystemExtensionHiding" is set to true. 
Setting this property to false solves this issue. 

UIManager.put("FileChooser.useSystemExtensionHiding", false);

comment:6 Changed 2 years ago by Don-vip

@osmbiker: Did you enable Windows 10 GodMode?

comment:7 Changed 2 years ago by Don-vip

Priority: normalcritical

comment:8 Changed 2 years ago by Don-vip

Summary: Absturz bei "Datei|öffnen"JVM crash on Windows 10 Creators Update when opening a file chooser

comment:9 Changed 2 years ago by Don-vip

In 12217/josm:

see #14821 - workaround for JDK-8180379/JDK-8179014 : prevent JVM crash when opening a file chooser on Windows 10 Creators Update with Windows look & feel + add information about OS build number for Windows & macOS + add utilities to get Java update/build version numbers

comment:10 Changed 2 years ago by Don-vip

In 12278/josm:

see #14821 - update java version numbers

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.