Suspected bug in jdk8u runtime or JIT
Simon Nash
simon at cjnash.com
Sun Oct 23 17:24:22 UTC 2016
I have built the current code in the aarch32 jdk8u project and I have been
testing the compact3 JRE with my application. I recently encountered an
error as shown below. I also have a core dump file. Does this look like
a possible bug in the jdk8u runtime or JIT? If so, should I create a formal
bug report and what is the procedure for doing this?
Simon
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb6e7f5d8, pid=13302, tid=0xb5300470
#
# JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-pi_2016_10_17_21_38-b00)
# Java VM: OpenJDK Client VM (25.71-b00 mixed mode linux-aarch32 )
# Problematic frame:
# C [libc.so.6+0x795d8] memcpy+0x48
#
# Core dump written. Default location: /mnt/system/config/Apps/minimserver/data/core or core.13302
#
# 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.
#
--------------- T H R E A D ---------------
Current thread (0xb5106c00): JavaThread "main" [_thread_in_native, id=13413, stack(0xb52b1000,0xb5301000)]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0xb6fd7000
Registers:
R0=0xa2233de0
R1=0xb6fd6fe8
R2=0x0000368c
R3=0x00000000
R4=0x00000000
R5=0x00000000
R6=0x00000000
R7=0x00000000
R8=0x00000000
R9=0xa2378f28
R10=0x00006148
R11=0xb52fef9c
R12=0x00000000
R13=0xb52fef1c
R14=0x00000000
R15=0xb6e7f5d8
Top of Stack: (sp=0xb52fef1c)
0xb52fef1c: a0a441f0 b51e4aa0 0000656c a2230f80
0xb52fef2c: a2230f80 b6fc7ba4 b5216db0 b6dfef20
0xb52fef3c: a2c826f8 b52fefe0 a2b2c9f0 b52fef9c
0xb52fef4c: b5756134 00000000 00000000 6d616572
0xb52fef5c: 00000000 6d616572 7373616c 0000656c
0xb52fef6c: 00000000 74532472 00000000 00000020
0xb52fef7c: 00000010 b51e4ce8 e848b5ee 00000020
0xb52fef8c: b52fefdc b52feffc b51e4aa0 b52fefcc
Instructions: (pc=0xb6e7f5d8)
0xb6e7f5b8: 0c 00 00 ba 00 f0 d1 f5 60 20 52 e2 1c f0 d1 f5
0xb6e7f5c8: 02 00 00 ba 3c f0 d1 f5 5c f0 d1 f5 7c f0 d1 f5
0xb6e7f5d8: f8 51 b1 e8 20 20 52 e2 f8 51 a0 e8 fa ff ff aa
0xb6e7f5e8: 60 00 72 e3 f9 ff ff aa 1c c0 12 e2 20 c0 6c e2
Register to memory mapping:
R0=0xa2233de0 is an unknown value
R1=0xb6fd6fe8 is an unknown value
R2=0x0000368c is an unknown value
R3=0x00000000 is an unknown value
R4=0x00000000 is an unknown value
R5=0x00000000 is an unknown value
R6=0x00000000 is an unknown value
R7=0x00000000 is an unknown value
R8=0x00000000 is an unknown value
R9=0xa2378f28 is an unknown value
R10=0x00006148 is an unknown value
R11=0xb52fef9c is pointing into the stack for thread: 0xb5106c00
R12=0x00000000 is an unknown value
R13=0xb52fef1c is pointing into the stack for thread: 0xb5106c00
R14=0x00000000 is an unknown value
R15=0xb6e7f5d8: memcpy+0x48 in /lib/libc.so.6 at 0xb6e06000
Stack: [0xb52b1000,0xb5301000], sp=0xb52fef1c, free space=311k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x795d8] memcpy+0x48
C [libzip.so+0x119c4] ZIP_GetEntry2+0xc8
C [libzip.so+0x33d0] Java_java_util_zip_ZipFile_getEntry+0xe8
J 240 java.util.zip.ZipFile.getEntry(J[BZ)J (0 bytes) @ 0xb327800c [0xb3277f80+0x8c]
C 0x00000000
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 240 java.util.zip.ZipFile.getEntry(J[BZ)J (0 bytes) @ 0xb3277fdc [0xb3277f80+0x5c]
j java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;+38
j java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;+2
J 225 C1 sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; (85 bytes) @ 0xb3273b3c [0xb3273a40+0xfc]
j sun.misc.URLClassPath$JarLoader.findResource(Ljava/lang/String;Z)Ljava/net/URL;+3
j sun.misc.URLClassPath.findResource(Ljava/lang/String;Z)Ljava/net/URL;+26
j java.net.URLClassLoader$2.run()Ljava/net/URL;+12
j java.net.URLClassLoader$2.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findResource(Ljava/lang/String;)Ljava/net/URL;+13
j java.lang.ClassLoader.getResource(Ljava/lang/String;)Ljava/net/URL;+30
j org.jminim.launch.Launcher.getLauncherDir(Ljava/lang/Class;)Ljava/io/File;+35
j
org.jminim.launch.Launcher.doLaunch([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;Lorg/jminim/launch/Launcher$ConsoleReader;Ljava/io/PrintStream;[Ljava/lang/StringBuilder;)Z+111
j org.jminim.launch.Launcher.launch([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;Ljava/io/InputStream;Ljava/io/PrintStream;)V+237
j com.minimserver.launch.LaunchServer.main([Ljava/lang/String;)V+61
v ~StubRoutines::call_stub
More information about the aarch32-port-dev
mailing list