-
Bug
-
Resolution: Fixed
-
P4
-
8u45
-
b78
-
x86_64
-
linux_suse_sles_11
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136080 | emb-9 | Brian Burkhalter | P4 | Resolved | Fixed | team |
JDK-8140911 | 8u91 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8136377 | 8u72 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8147243 | emb-8u91 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8136380 | 7u95 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
FULL OS VERSION :
Linux s3p0096 3.0.101-0.46-default #1 SMP Wed Dec 17 11:04:10 UTC 2014 (8356111) x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
We are using Apache Camel 2.15 watching more than one directory for changes. Apache Camel calls Files.probeContentType(path) during polling from several threads. The class ProbeContentTypeCrashes we provide seperates the scenario by creating several threads which are calling probeContentType(path). Calling probeContentType from one thread only, does not leads to a VM crash.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java ProbeContentTypeCrashes 2
EXPECTED VERSUS ACTUAL BEHAVIOR :
No crash of VM
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb4825a35dd, pid=16970, tid=140413261244160
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libgio-2.0.so.0+0x6a5dd]
#
# Core dump written. Default location: /home/schrota/core or core.16970 (max size 1 kB). To ensure a full core dump, try "ulimit -c unlimited" before starting Java again
#
# 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 (0x0000000000792000): JavaThread "thread-2" [_thread_in_native, id=16984, stack(0x00007fb4827ee000,0x00007fb4828ef000)]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000018
Registers:
RAX=0x00000000007957b0, RBX=0x0000000000000000, RCX=0x0000000000000001, RDX=0x0000000000000000
RSP=0x00007fb4828ed350, RBP=0x00007fb4828ed3a0, RSI=0x0000000000794234, RDI=0x00000000007957b0
R8 =0x3239323139786966, R9 =0x3638303131303536, R10=0x6a2e313539373131, R11=0x00007fb499329af0
R12=0x0000000000794210, R13=0x00007fb48467df40, R14=0x00000000007921f8, R15=0x0000000000792000
RIP=0x00007fb4825a35dd, EFLAGS=0x0000000000010216, CSGSFS=0x0000000000000033, ERR=0x0000000000000006
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007fb4828ed350)
0x00007fb4828ed350: 0000000000000000 0000000000000000
0x00007fb4828ed360: 0000000000000000 00007fb482d715ea
0x00007fb4828ed370: 0000000000000000 00007fb48467df40
0x00007fb4828ed380: 0000000000000000 00007fb48467df40
0x00007fb4828ed390: 00007fb4828ed428 0000000000792000
0x00007fb4828ed3a0: 00007fb4828ed400 00007fb488821794
0x00007fb4828ed3b0: 00007fb4828ed410 00007fb4888159d0
0x00007fb4828ed3c0: 00007fb4828ed3c0 0000000000000000
0x00007fb4828ed3d0: 00007fb4828ed428 00007fb48467e540
0x00007fb4828ed3e0: 0000000000000000 00007fb48467df40
0x00007fb4828ed3f0: 0000000000000000 00007fb4828ed420
0x00007fb4828ed400: 00007fb4828ed470 00007fb4888159d0
0x00007fb4828ed410: 00000000e0ef1428 00007fb48881d57b
0x00007fb4828ed420: 0000000000794210 00000000e1061808
0x00007fb4828ed430: 00007fb4828ed430 00007fb48467dd7d
0x00007fb4828ed440: 00007fb4828ed4b8 00007fb48467e540
0x00007fb4828ed450: 0000000000000000 00007fb48467de20
0x00007fb4828ed460: 00007fb4828ed420 00007fb4828ed4b0
0x00007fb4828ed470: 00007fb4828ed500 00007fb4888159d0
0x00007fb4828ed480: 0000000000000000 0000000000000000
0x00007fb4828ed490: 0000000000000000 0000000000000000
0x00007fb4828ed4a0: 00000000e1061808 00000000e0e1db98
0x00007fb4828ed4b0: 00000000e0e1db98 00000000e0ef1a60
0x00007fb4828ed4c0: 00007fb4828ed4c0 00007fb484681252
0x00007fb4828ed4d0: 00007fb4828ed540 00007fb4846812f0
0x00007fb4828ed4e0: 0000000000000000 00007fb484681280
0x00007fb4828ed4f0: 00007fb4828ed4b0 00007fb4828ed538
0x00007fb4828ed500: 00007fb4828ed588 00007fb4888159d0
0x00007fb4828ed510: 0000000000000000 00000000e0ef1a60
0x00007fb4828ed520: 0000000000000000 0000000000000004
0x00007fb4828ed530: 00000000e0ef1408 00000000e0e1db98
0x00007fb4828ed540: 00000000e0ef21d0 00007fb4828ed548
Instructions: (pc=0x00007fb4825a35dd)
0x00007fb4825a35bd: 18 49 89 fc e8 2a ff ff ff 31 f6 48 89 c7 31 c0
0x00007fb4825a35cd: e8 7e f5 fa ff 4c 89 e7 48 89 c3 e8 a3 f7 ff ff
0x00007fb4825a35dd: 48 89 43 18 48 89 d8 4c 8b 64 24 10 48 8b 5c 24
0x00007fb4825a35ed: 08 48 83 c4 18 c3 66 66 66 66 2e 0f 1f 84 00 00
Register to memory mapping:
RAX=0x00000000007957b0 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x0000000000000001 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x00007fb4828ed350 is pointing into the stack for thread: 0x0000000000792000
RBP=0x00007fb4828ed3a0 is pointing into the stack for thread: 0x0000000000792000
RSI=0x0000000000794234 is an unknown value
RDI=0x00000000007957b0 is an unknown value
R8 =0x3239323139786966 is an unknown value
R9 =0x3638303131303536 is an unknown value
R10=0x6a2e313539373131 is an unknown value
R11=0x00007fb499329af0: cfree+0 in /lib64/libc.so.6 at 0x00007fb4992ae000
R12=0x0000000000794210 is an unknown value
R13={method} {0x00007fb48467df40} 'probeUsingGio' '(J)[B' in 'sun/nio/fs/GnomeFileTypeDetector'
R14=0x00000000007921f8 is an unknown value
R15=0x0000000000792000 is a thread
Stack: [0x00007fb4827ee000,0x00007fb4828ef000], sp=0x00007fb4828ed350, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libgio-2.0.so.0+0x6a5dd]
j sun.nio.fs.GnomeFileTypeDetector.probeUsingGio(J)[B+0
j sun.nio.fs.GnomeFileTypeDetector.implProbeContentType(Ljava/nio/file/Path;)Ljava/lang/String;+53
j sun.nio.fs.UnixFileSystemProvider$2.implProbeContentType(Ljava/nio/file/Path;)Ljava/lang/String;+26
j sun.nio.fs.AbstractFileTypeDetector.probeContentType(Ljava/nio/file/Path;)Ljava/lang/String;+16
j java.nio.file.Files.probeContentType(Ljava/nio/file/Path;)Ljava/lang/String;+47
j ProbeContentTypeCrashes$1.run()V+37
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x681a26] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1056
V [libjvm.so+0x681f31] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x321
V [libjvm.so+0x6823d7] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x47
V [libjvm.so+0x718280] thread_entry(JavaThread*, Thread*)+0xa0
V [libjvm.so+0xa5c86f] JavaThread::thread_main_inner()+0xdf
V [libjvm.so+0xa5c99c] JavaThread::run()+0x11c
V [libjvm.so+0x910de8] java_start(Thread*)+0x108
C [libpthread.so.0+0x7806] start_thread+0xe6
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.nio.fs.GnomeFileTypeDetector.probeUsingGio(J)[B+0
j sun.nio.fs.GnomeFileTypeDetector.implProbeContentType(Ljava/nio/file/Path;)Ljava/lang/String;+53
j sun.nio.fs.UnixFileSystemProvider$2.implProbeContentType(Ljava/nio/file/Path;)Ljava/lang/String;+26
j sun.nio.fs.AbstractFileTypeDetector.probeContentType(Ljava/nio/file/Path;)Ljava/lang/String;+16
j java.nio.file.Files.probeContentType(Ljava/nio/file/Path;)Ljava/lang/String;+47
j ProbeContentTypeCrashes$1.run()V+37
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x000000000060a000 JavaThread "DestroyJavaVM" [_thread_blocked, id=16971, stack(0x00007fb499d69000,0x00007fb499e6a000)]
=>0x0000000000792000 JavaThread "thread-2" [_thread_in_native, id=16984, stack(0x00007fb4827ee000,0x00007fb4828ef000)]
0x0000000000790000 JavaThread "thread-1" [_thread_in_native, id=16983, stack(0x00007fb4828ef000,0x00007fb4829f0000)]
0x000000000078e800 JavaThread "thread-0" [_thread_in_native, id=16982, stack(0x00007fb4829f0000,0x00007fb482af1000)]
0x0000000000709000 JavaThread "Service Thread" daemon [_thread_blocked, id=16980, stack(0x00007fb48307b000,0x00007fb48317c000)]
0x00000000006b5800 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=16979, stack(0x00007fb48317c000,0x00007fb48327d000)]
0x00000000006b2800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=16978, stack(0x00007fb48327d000,0x00007fb48337e000)]
0x00000000006b0800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=16977, stack(0x00007fb48337e000,0x00007fb48347f000)]
0x000000000067b000 JavaThread "Finalizer" daemon [_thread_blocked, id=16976, stack(0x00007fb48347f000,0x00007fb483580000)]
0x0000000000679000 JavaThread "Reference Handler" daemon [_thread_blocked, id=16975, stack(0x00007fb483580000,0x00007fb483681000)]
Other Threads:
0x0000000000673800 VMThread [stack: 0x00007fb483681000,0x00007fb483782000] [id=16974]
0x0000000000716800 WatcherThread [stack: 0x00007fb482f7a000,0x00007fb48307b000] [id=16981]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 28160K, used 3441K [0x00000000e0d80000, 0x00000000e2c80000, 0x0000000100000000)
eden space 24576K, 14% used [0x00000000e0d80000,0x00000000e10dc558,0x00000000e2580000)
from space 3584K, 0% used [0x00000000e2900000,0x00000000e2900000,0x00000000e2c80000)
to space 3584K, 0% used [0x00000000e2580000,0x00000000e2580000,0x00000000e2900000)
ParOldGen total 64512K, used 0K [0x00000000a2800000, 0x00000000a6700000, 0x00000000e0d80000)
object space 64512K, 0% used [0x00000000a2800000,0x00000000a2800000,0x00000000a6700000)
Metaspace used 3254K, capacity 4490K, committed 4864K, reserved 1056768K
class space used 370K, capacity 386K, committed 512K, reserved 1048576K
Card table byte_map: [0x00007fb488161000,0x00007fb48844e000] byte_map_base: 0x00007fb487c4d000
Marking Bits: (ParMarkBitMap*) 0x00007fb499283760
Begin Bits: [0x00007fb484eac000, 0x00007fb48660c000)
End Bits: [0x00007fb48660c000, 0x00007fb487d6c000)
Polling page: 0x00007fb499e7a000
CodeCache: size=245760Kb used=1184Kb max_used=1188Kb free=244575Kb
bounds [0x00007fb48880e000, 0x00007fb488a7e000, 0x00007fb49780e000]
total_blobs=336 nmethods=70 adapters=181
compilation: enabled
Compilation events (10 events):
Event: 0,267 Thread 0x00000000006b5800 44 1 sun.nio.cs.SingleByte$Decoder::decode (11 bytes)
Event: 0,267 Thread 0x00000000006b5800 nmethod 44 0x00007fb48892c390 code [0x00007fb48892c4e0, 0x00007fb48892c610]
Event: 0,268 Thread 0x00000000006b5800 45 3 java.lang.String::lastIndexOf (52 bytes)
Event: 0,268 Thread 0x00000000006b5800 nmethod 45 0x00007fb48892c6d0 code [0x00007fb48892c860, 0x00007fb48892cbe8]
Event: 0,268 Thread 0x00000000006b5800 46 3 java.lang.String::substring (56 bytes)
Event: 0,269 Thread 0x00000000006b5800 nmethod 46 0x00007fb48892cd50 code [0x00007fb48892cf00, 0x00007fb48892d2a8]
Event: 0,270 Thread 0x00000000006b5800 48 1 java.io.File::getPath (5 bytes)
Event: 0,271 Thread 0x00000000006b5800 nmethod 48 0x00007fb48892d7d0 code [0x00007fb48892d920, 0x00007fb48892da30]
Event: 0,271 Thread 0x00000000006b5800 49 3 java.lang.AbstractStringBuilder::expandCapacity (50 bytes)
Event: 0,271 Thread 0x00000000006b5800 nmethod 49 0x00007fb48892da90 code [0x00007fb48892dc40, 0x00007fb48892e178]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (6 events):
Event: 0,039 Thread 0x000000000060a000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x00000000e0d92a48) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/sha
Event: 0,039 Thread 0x000000000060a000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x00000000e0d92cd8) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/prims/jni.cp
Event: 0,270 Thread 0x000000000078e800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0f035b8) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/prims/jvm.cpp, line 1382]
Event: 0,270 Thread 0x000000000078e800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0f03770) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/prims/jvm.cpp, line 1382]
Event: 0,271 Thread 0x000000000078e800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0f05b70) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/prims/jvm.cpp, line 1382]
Event: 0,271 Thread 0x000000000078e800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0f05d28) thrown at [/RE-WORK/workspace/8-2-build-linux-amd64/jdk8u45/3457/hotspot/src/share/vm/prims/jvm.cpp, line 1382]
Events (10 events):
Event: 0,270 loading class sun/misc/FileURLMapper
Event: 0,270 loading class sun/misc/FileURLMapper done
Event: 0,270 loading class java/io/FileNotFoundException
Event: 0,270 loading class java/io/FileNotFoundException done
Event: 0,270 loading class java/security/PrivilegedActionException
Event: 0,270 loading class java/security/PrivilegedActionException done
Event: 0,271 loading class java/net/URLClassLoader$3$1
Event: 0,271 loading class java/net/URLClassLoader$3$1 done
Event: 0,271 loading class java/util/ArrayList$Itr
Event: 0,271 loading class java/util/ArrayList$Itr done
Dynamic libraries:
00400000-00401000 r-xp 00000000 08:07 923927 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/bin/java
00600000-00601000 rw-p 00000000 08:07 923927 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/bin/java
00601000-00827000 rw-p 00000000 00:00 0 [heap]
a2800000-a6700000 rw-p 00000000 00:00 0
a6700000-e0d80000 ---p 00000000 00:00 0
e0d80000-e2c80000 rw-p 00000000 00:00 0
e2c80000-100000000 ---p 00000000 00:00 0
100000000-100080000 rw-p 00000000 00:00 0
100080000-140000000 ---p 00000000 00:00 0
7fb474000000-7fb474021000 rw-p 00000000 00:00 0
7fb474021000-7fb478000000 ---p 00000000 00:00 0
7fb47c000000-7fb47c021000 rw-p 00000000 00:00 0
7fb47c021000-7fb480000000 ---p 00000000 00:00 0
7fb480f14000-7fb481198000 rw-p 00000000 00:00 0
7fb481198000-7fb48119a000 r-xp 00000000 08:07 771206 /usr/lib64/gconv/ISO8859-15.so
7fb48119a000-7fb481399000 ---p 00002000 08:07 771206 /usr/lib64/gconv/ISO8859-15.so
7fb481399000-7fb48139a000 r--p 00001000 08:07 771206 /usr/lib64/gconv/ISO8859-15.so
7fb48139a000-7fb48139b000 rw-p 00002000 08:07 771206 /usr/lib64/gconv/ISO8859-15.so
7fb48139b000-7fb4813b0000 r-xp 00000000 08:07 915777 /lib64/libz.so.1.2.7
7fb4813b0000-7fb4815af000 ---p 00015000 08:07 915777 /lib64/libz.so.1.2.7
7fb4815af000-7fb4815b0000 r--p 00014000 08:07 915777 /lib64/libz.so.1.2.7
7fb4815b0000-7fb4815b1000 rw-p 00015000 08:07 915777 /lib64/libz.so.1.2.7
7fb4815b1000-7fb4815c5000 r-xp 00000000 08:07 746990 /usr/lib64/libmagic.so.1.0.0
7fb4815c5000-7fb4817c4000 ---p 00014000 08:07 746990 /usr/lib64/libmagic.so.1.0.0
7fb4817c4000-7fb4817c5000 r--p 00013000 08:07 746990 /usr/lib64/libmagic.so.1.0.0
7fb4817c5000-7fb4817c6000 rw-p 00014000 08:07 746990 /usr/lib64/libmagic.so.1.0.0
7fb4817c6000-7fb4817e2000 r-xp 00000000 08:07 915801 /lib64/libselinux.so.1
7fb4817e2000-7fb4819e1000 ---p 0001c000 08:07 915801 /lib64/libselinux.so.1
7fb4819e1000-7fb4819e2000 r--p 0001b000 08:07 915801 /lib64/libselinux.so.1
7fb4819e2000-7fb4819e3000 rw-p 0001c000 08:07 915801 /lib64/libselinux.so.1
7fb4819e3000-7fb4819e4000 rw-p 00000000 00:00 0
7fb4819e4000-7fb4819f7000 r-xp 00000000 08:07 915885 /lib64/libresolv-2.11.3.so
7fb4819f7000-7fb481bf7000 ---p 00013000 08:07 915885 /lib64/libresolv-2.11.3.so
7fb481bf7000-7fb481bf8000 r--p 00013000 08:07 915885 /lib64/libresolv-2.11.3.so
7fb481bf8000-7fb481bf9000 rw-p 00014000 08:07 915885 /lib64/libresolv-2.11.3.so
7fb481bf9000-7fb481bfb000 rw-p 00000000 00:00 0
7fb481bfb000-7fb481c2a000 r-xp 00000000 08:07 749151 /usr/lib64/libpcre.so.0.0.1
7fb481c2a000-7fb481e29000 ---p 0002f000 08:07 749151 /usr/lib64/libpcre.so.0.0.1
7fb481e29000-7fb481e2a000 r--p 0002e000 08:07 749151 /usr/lib64/libpcre.so.0.0.1
7fb481e2a000-7fb481e2b000 rw-p 0002f000 08:07 749151 /usr/lib64/libpcre.so.0.0.1
7fb481e2b000-7fb481eef000 r-xp 00000000 08:07 751590 /usr/lib64/libglib-2.0.so.0.2200.5
7fb481eef000-7fb4820ee000 ---p 000c4000 08:07 751590 /usr/lib64/libglib-2.0.so.0.2200.5
7fb4820ee000-7fb4820ef000 r--p 000c3000 08:07 751590 /usr/lib64/libglib-2.0.so.0.2200.5
7fb4820ef000-7fb4820f0000 rw-p 000c4000 08:07 751590 /usr/lib64/libglib-2.0.so.0.2200.5
7fb4820f0000-7fb4820f1000 rw-p 00000000 00:00 0
7fb4820f1000-7fb4820f4000 r-xp 00000000 08:07 751802 /usr/lib64/libgmodule-2.0.so.0.2200.5
7fb4820f4000-7fb4822f3000 ---p 00003000 08:07 751802 /usr/lib64/libgmodule-2.0.so.0.2200.5
7fb4822f3000-7fb4822f4000 r--p 00002000 08:07 751802 /usr/lib64/libgmodule-2.0.so.0.2200.5
7fb4822f4000-7fb4822f5000 rw-p 00003000 08:07 751802 /usr/lib64/libgmodule-2.0.so.0.2200.5
7fb4822f5000-7fb482336000 r-xp 00000000 08:07 751800 /usr/lib64/libgobject-2.0.so.0.2200.5
7fb482336000-7fb482536000 ---p 00041000 08:07 751800 /usr/lib64/libgobject-2.0.so.0.2200.5
7fb482536000-7fb482537000 r--p 00041000 08:07 751800 /usr/lib64/libgobject-2.0.so.0.2200.5
7fb482537000-7fb482538000 rw-p 00042000 08:07 751800 /usr/lib64/libgobject-2.0.so.0.2200.5
7fb482538000-7fb482539000 rw-p 00000000 00:00 0
7fb482539000-7fb4825de000 r-xp 00000000 08:07 748718 /usr/lib64/libgio-2.0.so.0.2200.5
7fb4825de000-7fb4827dd000 ---p 000a5000 08:07 748718 /usr/lib64/libgio-2.0.so.0.2200.5
7fb4827dd000-7fb4827df000 r--p 000a4000 08:07 748718 /usr/lib64/libgio-2.0.so.0.2200.5
7fb4827df000-7fb4827e0000 rw-p 000a6000 08:07 748718 /usr/lib64/libgio-2.0.so.0.2200.5
7fb4827e0000-7fb4827e1000 rw-p 00000000 00:00 0
7fb4827e5000-7fb4827e7000 rw-p 00000000 00:00 0
7fb4827e7000-7fb4827ee000 r--s 00000000 08:07 771030 /usr/lib64/gconv/gconv-modules.cache
7fb4827ee000-7fb4827f1000 ---p 00000000 00:00 0
7fb4827f1000-7fb4828ef000 rw-p 00000000 00:00 0
7fb4828ef000-7fb4828f2000 ---p 00000000 00:00 0
7fb4828f2000-7fb4829f0000 rw-p 00000000 00:00 0
7fb4829f0000-7fb4829f3000 ---p 00000000 00:00 0
7fb4829f3000-7fb482b52000 rw-p 00000000 00:00 0
7fb482b52000-7fb482b68000 r-xp 00000000 08:07 899458 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libnet.so
7fb482b68000-7fb482d68000 ---p 00016000 08:07 899458 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libnet.so
7fb482d68000-7fb482d69000 rw-p 00016000 08:07 899458 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libnet.so
7fb482d69000-7fb482d7a000 r-xp 00000000 08:07 899459 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libnio.so
7fb482d7a000-7fb482f79000 ---p 00011000 08:07 899459 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libnio.so
7fb482f79000-7fb482f7a000 rw-p 00010000 08:07 899459 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libnio.so
7fb482f7a000-7fb482f7b000 ---p 00000000 00:00 0
7fb482f7b000-7fb48307b000 rw-p 00000000 00:00 0
7fb48307b000-7fb48307e000 ---p 00000000 00:00 0
7fb48307e000-7fb48317c000 rw-p 00000000 00:00 0
7fb48317c000-7fb48317f000 ---p 00000000 00:00 0
7fb48317f000-7fb48327d000 rw-p 00000000 00:00 0
7fb48327d000-7fb483280000 ---p 00000000 00:00 0
7fb483280000-7fb48337e000 rw-p 00000000 00:00 0
7fb48337e000-7fb483381000 ---p 00000000 00:00 0
7fb483381000-7fb48347f000 rw-p 00000000 00:00 0
7fb48347f000-7fb483482000 ---p 00000000 00:00 0
7fb483482000-7fb483580000 rw-p 00000000 00:00 0
7fb483580000-7fb483583000 ---p 00000000 00:00 0
7fb483583000-7fb483681000 rw-p 00000000 00:00 0
7fb483681000-7fb483682000 ---p 00000000 00:00 0
7fb483682000-7fb4840ee000 rw-p 00000000 00:00 0
7fb4840ee000-7fb4842c7000 r--s 03d09000 08:07 899560 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/rt.jar
7fb4842c7000-7fb484800000 rw-p 00000000 00:00 0
7fb484800000-7fb484bc0000 ---p 00000000 00:00 0
7fb484bc0000-7fb487d6c000 rw-p 00000000 00:00 0
7fb487d6c000-7fb487d6d000 ---p 00000000 00:00 0
7fb487d6d000-7fb487e6d000 rw-p 00000000 00:00 0
7fb487e6d000-7fb487e6e000 ---p 00000000 00:00 0
7fb487e6e000-7fb487f8e000 rw-p 00000000 00:00 0
7fb487f8e000-7fb488161000 ---p 00000000 00:00 0
7fb488161000-7fb488181000 rw-p 00000000 00:00 0
7fb488181000-7fb488353000 ---p 00000000 00:00 0
7fb488353000-7fb488364000 rw-p 00000000 00:00 0
7fb488364000-7fb48844d000 ---p 00000000 00:00 0
7fb48844d000-7fb488458000 rw-p 00000000 00:00 0
7fb488458000-7fb48880e000 ---p 00000000 00:00 0
7fb48880e000-7fb488a7e000 rwxp 00000000 00:00 0
7fb488a7e000-7fb49780e000 ---p 00000000 00:00 0
7fb49780e000-7fb497828000 r-xp 00000000 08:07 899469 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libzip.so
7fb497828000-7fb497a28000 ---p 0001a000 08:07 899469 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libzip.so
7fb497a28000-7fb497a29000 rw-p 0001a000 08:07 899469 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libzip.so
7fb497a29000-7fb497a53000 r-xp 00000000 08:07 899443 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libjava.so
7fb497a53000-7fb497c53000 ---p 0002a000 08:07 899443 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libjava.so
7fb497c53000-7fb497c55000 rw-p 0002a000 08:07 899443 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libjava.so
7fb497c55000-7fb497c62000 r-xp 00000000 08:07 899468 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libverify.so
7fb497c62000-7fb497e62000 ---p 0000d000 08:07 899468 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libverify.so
7fb497e62000-7fb497e64000 rw-p 0000d000 08:07 899468 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/libverify.so
7fb497e64000-7fb497e6c000 r-xp 00000000 08:07 915892 /lib64/librt-2.11.3.so
7fb497e6c000-7fb49806b000 ---p 00008000 08:07 915892 /lib64/librt-2.11.3.so
7fb49806b000-7fb49806c000 r--p 00007000 08:07 915892 /lib64/librt-2.11.3.so
7fb49806c000-7fb49806d000 rw-p 00008000 08:07 915892 /lib64/librt-2.11.3.so
7fb49806d000-7fb4980c8000 r-xp 00000000 08:07 915824 /lib64/libm-2.11.3.so
7fb4980c8000-7fb4982c7000 ---p 0005b000 08:07 915824 /lib64/libm-2.11.3.so
7fb4982c7000-7fb4982c8000 r--p 0005a000 08:07 915824 /lib64/libm-2.11.3.so
7fb4982c8000-7fb4982e6000 rw-p 0005b000 08:07 915824 /lib64/libm-2.11.3.so
7fb4982e6000-7fb498f94000 r-xp 00000000 08:07 899474 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/server/libjvm.so
7fb498f94000-7fb499193000 ---p 00cae000 08:07 899474 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/server/libjvm.so
7fb499193000-7fb49926a000 rw-p 00cad000 08:07 899474 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/amd64/server/libjvm.so
7fb49926a000-7fb4992ae000 rw-p 00000000 00:00 0
7fb4992ae000-7fb49941e000 r-xp 00000000 08:07 915718 /lib64/libc-2.11.3.so
7fb49941e000-7fb49961d000 ---p 00170000 08:07 915718 /lib64/libc-2.11.3.so
7fb49961d000-7fb499621000 r--p 0016f000 08:07 915718 /lib64/libc-2.11.3.so
7fb499621000-7fb499622000 rw-p 00173000 08:07 915718 /lib64/libc-2.11.3.so
7fb499622000-7fb499627000 rw-p 00000000 00:00 0
7fb499627000-7fb499629000 r-xp 00000000 08:07 915807 /lib64/libdl-2.11.3.so
7fb499629000-7fb499829000 ---p 00002000 08:07 915807 /lib64/libdl-2.11.3.so
7fb499829000-7fb49982a000 r--p 00002000 08:07 915807 /lib64/libdl-2.11.3.so
7fb49982a000-7fb49982b000 rw-p 00003000 08:07 915807 /lib64/libdl-2.11.3.so
7fb49982b000-7fb499840000 r-xp 00000000 08:07 923973 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/lib/amd64/jli/libjli.so
7fb499840000-7fb499a40000 ---p 00015000 08:07 923973 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/lib/amd64/jli/libjli.so
7fb499a40000-7fb499a41000 rw-p 00015000 08:07 923973 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/lib/amd64/jli/libjli.so
7fb499a41000-7fb499a58000 r-xp 00000000 08:07 915879 /lib64/libpthread-2.11.3.so
7fb499a58000-7fb499c58000 ---p 00017000 08:07 915879 /lib64/libpthread-2.11.3.so
7fb499c58000-7fb499c59000 r--p 00017000 08:07 915879 /lib64/libpthread-2.11.3.so
7fb499c59000-7fb499c5a000 rw-p 00018000 08:07 915879 /lib64/libpthread-2.11.3.so
7fb499c5a000-7fb499c5e000 rw-p 00000000 00:00 0
7fb499c5e000-7fb499c7d000 r-xp 00000000 08:07 915778 /lib64/ld-2.11.3.so
7fb499c7d000-7fb499c7e000 rw-p 00000000 00:00 0
7fb499c7e000-7fb499c83000 r--s 00094000 08:07 899540 /usr/lib/jvm/java-1.8.0-sun-1.8.0.45/jre/lib/jsse.jar
7fb499c83000-7fb499cba000 r--p 00000000 08:07 835670 /usr/lib/locale/de_DE@euro/LC_CTYPE
7fb499cba000-7fb499cbb000 r--p 00000000 08:07 835664 /usr/lib/locale/de_DE@euro/LC_NUMERIC
7fb499cbb000-7fb499cbc000 r--p 00000000 08:07 835807 /usr/lib/locale/de_DE@euro/LC_TIME
7fb499cbc000-7fb499cc2000 r--p 00000000 08:07 844396 /usr/lib/locale/de_DE@euro/LC_COLLATE
7fb499cc2000-7fb499cc3000 r--p 00000000 08:07 843751 /usr/lib/locale/de_DE@euro/LC_MONETARY
7fb499cc3000-7fb499cc4000 r--p 00000000 08:07 843352 /usr/lib/locale/de_DE@euro/LC_MESSAGES/SYS_LC_MESSAGES
7fb499cc4000-7fb499cc5000 r--p 00000000 08:07 843400 /usr/lib/locale/de_DE@euro/LC_PAPER
7fb499cc5000-7fb499cc6000 r--p 00000000 08:07 835788 /usr/lib/locale/de_DE@euro/LC_NAME
7fb499cc6000-7fb499cc7000 r--p 00000000 08:07 834413 /usr/lib/locale/de_DE@euro/LC_ADDRESS
7fb499cc7000-7fb499d34000 rw-p 00000000 00:00 0
7fb499d34000-7fb499d69000 r--s 00000000 08:06 192053 /var/run/nscd/passwd
7fb499d69000-7fb499d6c000 ---p 00000000 00:00 0
7fb499d6c000-7fb499e6e000 rw-p 00000000 00:00 0
7fb499e6e000-7fb499e6f000 r--p 00000000 08:07 835806 /usr/lib/locale/de_DE@euro/LC_TELEPHONE
7fb499e6f000-7fb499e70000 r--p 00000000 08:07 843756 /usr/lib/locale/de_DE@euro/LC_MEASUREMENT
7fb499e70000-7fb499e71000 r--p 00000000 08:07 835759 /usr/lib/locale/de_DE@euro/LC_IDENTIFICATION
7fb499e71000-7fb499e79000 rw-s 00000000 08:07 851514 /tmp/hsperfdata_schrota/16970
7fb499e79000-7fb499e7a000 rw-p 00000000 00:00 0
7fb499e7a000-7fb499e7b000 r--p 00000000 00:00 0
7fb499e7b000-7fb499e7c000 rw-p 00000000 00:00 0
7fb499e7c000-7fb499e7d000 r--p 0001e000 08:07 915778 /lib64/ld-2.11.3.so
7fb499e7d000-7fb499e7e000 rw-p 0001f000 08:07 915778 /lib64/ld-2.11.3.so
7fb499e7e000-7fb499e7f000 rw-p 00000000 00:00 0
7fff7b310000-7fff7b331000 rw-p 00000000 00:00 0 [stack]
7fff7b3ff000-7fff7b400000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
VM Arguments:
java_command: ProbeContentTypeCrashes 3
java_class_path (initial): /home/schrota
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/lib/jvm/java
JRE_HOME=/usr/lib/jvm/java/jre
PATH=/home/schrota/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/opt/nsr
SHELL=/bin/bash
HOSTTYPE=x86_64
OSTYPE=linux
MACHTYPE=x86_64-suse-linux
Signal Handlers:
SIGSEGV: [libjvm.so+0xaad1e0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0xaad1e0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x90b450], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x90b450], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x90b450], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x90b450], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x90ca90], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: [libjvm.so+0x90dde0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGINT: [libjvm.so+0x90dde0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGTERM: [libjvm.so+0x90dde0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGQUIT: [libjvm.so+0x90dde0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
--------------- S Y S T E M ---------------
OS:SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
uname:Linux 3.0.101-0.46-default #1 SMP Wed Dec 17 11:04:10 UTC 2014 (8356111) x86_64
libc:glibc 2.11.3 NPTL 2.11.3
rlimit: STACK 8192k, CORE 1k, NPROC 47765, NOFILE 8192, AS 8261200k
load average:1,05 0,97 0,93
/proc/meminfo:
MemTotal: 6125540 kB
MemFree: 317684 kB
Buffers: 28844 kB
Cached: 518372 kB
SwapCached: 119560 kB
Active: 4225924 kB
Inactive: 1305608 kB
Active(anon): 3919292 kB
Inactive(anon): 1065156 kB
Active(file): 306632 kB
Inactive(file): 240452 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 4200960 kB
SwapFree: 3279152 kB
Dirty: 588 kB
Writeback: 0 kB
AnonPages: 4945112 kB
Mapped: 36860 kB
Shmem: 148 kB
Slab: 154500 kB
SReclaimable: 111536 kB
SUnreclaim: 42964 kB
KernelStack: 6896 kB
PageTables: 26720 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 7263728 kB
Committed_AS: 6880164 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 294652 kB
VmallocChunk: 34359440300 kB
HardwareCorrupted: 0 kB
AnonHugePages: 1191936 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 45056 kB
DirectMap2M: 6246400 kB
CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 26 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, tsc, tscinvbit, tscinv
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz
stepping : 4
microcode : 54
cpu MHz : 2128.000
cache size : 24576 KB
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm ida arat epb dtherm
bogomips : 4256.00
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz
stepping : 4
microcode : 54
cpu MHz : 2128.000
cache size : 24576 KB
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm ida arat epb dtherm
bogomips : 4256.00
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
Memory: 4k page, physical 6125540k(317684k free), swap 4200960k(3279152k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.45-b02) for linux-amd64 JRE (1.8.0_45-b14), built on Apr 10 2015 10:07:45 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
time: Mon May 11 16:56:51 2015
elapsed time: 0 seconds (0d 0h 0m 0s)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
public class ProbeContentTypeCrashes {
private int threads = 0;
private static final int REPEATS = 1000;
public ProbeContentTypeCrashes(int threads) {
this.threads = threads;
System.out.println("Using <" + threads + "> threads.");
}
public void start() throws IOException {
for (int i = 0; i < threads; i++) {
final Path p = createTmpFile();
Runnable r = createRunnable(p);
new Thread(r, "thread-" + i).start();
}
}
private Runnable createRunnable(final Path p) {
Runnable r = new Runnable() {
public void run() {
for (int i = 0; i < REPEATS; i++) {
try {
System.out.println(Thread.currentThread().getName() + " -> " + Files.probeContentType(p));
} catch (IOException ioException) {
ioException.printStackTrace();
}
}
}
};
return r;
}
private Path createTmpFile() throws IOException {
final Path p = Files.createTempFile("prefix", ".json");
Files.write(p, "{\"test\"}".getBytes());
System.out.println("Write test file <" + p + ">");
return p;
}
public static void main(String[] args) throws Exception {
if (args != null && args.length != 1) {
new ProbeContentTypeCrashes(1).start();
} else {
new ProbeContentTypeCrashes(Integer.parseInt(args[0])).start();
}
}
}
---------- END SOURCE ----------
- backported by
-
JDK-8136080 (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
- Resolved
-
JDK-8136377 (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
- Resolved
-
JDK-8136380 (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
- Resolved
-
JDK-8140911 (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
- Resolved
-
JDK-8147243 (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
- Resolved
- duplicates
-
JDK-8133010 (fs) Create test for parallel access to Files.probeContentType()
- Closed
- relates to
-
JDK-8133207 [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115
- Closed
-
JDK-8133010 (fs) Create test for parallel access to Files.probeContentType()
- Closed
-
JDK-8133987 (fs) Rename GnomeFileTypeDetector to GioFileTypeFileDetector
- Closed