Modify

Opened 8 years ago

Closed 8 years ago

Last modified 7 years 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 8 years ago.

Download all attachments as: .zip

Change History (11)

by anonymous, 8 years ago

Attachment: hs_err_pid12516.log added

comment:1 by bastiK, 8 years ago

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 by bastiK, 8 years ago

Milestone: 17.05

comment:3 by Don-vip, 8 years ago

Keywords: javabug windows added
Resolution: othersoftwareduplicate

See #14795 - JavaBugs.

comment:4 by Don-vip, 8 years ago

Milestone: 17.05

comment:5 by Don-vip, 8 years ago

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 by Don-vip, 8 years ago

@osmbiker: Did you enable Windows 10 GodMode?

comment:7 by Don-vip, 8 years ago

Priority: normalcritical

comment:8 by Don-vip, 8 years ago

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

comment:9 by Don-vip, 8 years ago

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 by Don-vip, 7 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.