Modify

Opened 3 months ago

Closed 3 months ago

#15913 closed defect (invalid)

JOSM 1.5 failed with java-9-openjdk-amd64

Reported by: Cyrille37 Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: java9 Cc:

Description (last modified by Cyrille37)

Hi,

JOSM 1.5 (13367 fr) works fine on Ubuntu 16.04 LTS with java-8-openjdk-amd64 but it fails with java-9-openjdk-amd64.

Using /usr/lib/jvm/java-9-openjdk-amd64/bin/java to execute josm.
2018-02-13 00:01:10.357 INFOS: Le niveau de journalisation est à INFOS (INFO, 800)
2018-02-13 00:01:10.387 INFO: Invalid or unmappable UTF-8 sequence detected. Switching encoding from UTF-8 to ISO-8859-1
OpenGL pipeline enabled for default config on screen 0
OpenGL pipeline enabled for default config on screen 1
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f0b0c044009, pid=4861, tid=4927
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libjava.so+0x1d009] JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/cyrille/core.4861)
#
# An error report file with more information is saved as:
# /home/cyrille/hs_err_pid4861.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f0b0c044009, pid=4861, tid=4927
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libjava.so+0x1d009] JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/cyrille/core.4861)
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


Command Line: -Djosm.restart=true -Djava.net.useSystemProxies=true -Xmx2048m -Dsun.java2d.opengl=True /usr/share/josm/josm.jar

Host: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz, 8 cores, 7G, Ubuntu 16.04.3 LTS
Time: Tue Feb 13 00:01:16 2018 CET elapsed time: 6 seconds (0d 0h 0m 6s)


Current thread (0x00007f0b08cc1000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4927, stack(0x00007f0a36b48000,0x00007f0a36c49000)]

Stack: [0x00007f0a36b48000,0x00007f0a36c49000], sp=0x00007f0a36c440e0, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libjava.so+0x1d009] JNU_GetEnv+0x19
C [libfontmanager.so+0x33f8e]
C [libfreetype.so.6+0x14d2b] FT_Stream_Seek+0x1b

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.font.FreetypeFontScaler.initNativeScaler(Lsun/font/Font2D;IIZI)J+0 java.desktop@9-internal
j sun.font.FreetypeFontScaler.<init>(Lsun/font/Font2D;IZI)V+26 java.desktop@9-internal
v ~StubRoutines::call_stub
j sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@9-internal
j sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+85 java.base@9-internal
J 1452 C1 java.base@9-internal9-internal (9 bytes) @ 0x00007f0af186941c [0x00007f0af1869320+0x00000000000000fc]
J 1451 C1 java.base@9-internal9-internal (73 bytes) @ 0x00007f0af1867f64 [0x00007f0af1867c00+0x0000000000000364]
j sun.font.FontScaler.getScaler(Lsun/font/Font2D;IZI)Lsun/font/FontScaler;+39 java.desktop@9-internal
j sun.font.TrueTypeFont.getScaler()Lsun/font/FontScaler;+21 java.desktop@9-internal
j sun.font.FileFontStrike.<init>(Lsun/font/FileFont;Lsun/font/FontStrikeDesc;)V+204 java.desktop@9-internal
j sun.font.FileFont.createStrike(Lsun/font/FontStrikeDesc;)Lsun/font/FontStrike;+18 java.desktop@9-internal

Attachments (1)

hs_err_pid4861.log (93.6 KB) - added by Cyrille37 3 months ago.
the core dump

Download all attachments as: .zip

Change History (3)

Changed 3 months ago by Cyrille37

Attachment: hs_err_pid4861.log added

the core dump

comment:1 Changed 3 months ago by Cyrille37

Description: modified (diff)

comment:2 Changed 3 months ago by Don-vip

Keywords: java9 added; java jdk-9 removed
Resolution: invalid
Status: newclosed

You're using a very old development version of Java 9. Please update to latest production version.

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.