Core dumps generated but unable to find them in the specified location.

Bysani, Keerthana bysanik at amazon.com
Thu Aug 3 23:59:16 UTC 2017


Hi,

So I ran my JTreg tests and whichever ones failed with a SEGV, generated this message:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7b9c30b8e1, pid=26526, tid=26542
#
# JRE version: OpenJDK Runtime Environment (9.0) (slowdebug build 9-internal+0-adhoc.test.openjdk9-2017-07-27)
# Java VM: OpenJDK 64-Bit Server VM (slowdebug 9-internal+0-adhoc.test.openjdk9-2017-07-27, mixed mode, rt gc, linux-amd64)
# Problematic frame:
#   java.lang.invoke.MethodType.parameterCount()I+0 java.base at 9-internal
#
# Core dump will be written. Default location: /home/test/OpenJDKTrees/openjdk9-2017-07-27/build/jtreg/RTGCWork/scratch/core.%p
#
# An error report file with more information is saved as:
# /home/test/OpenJDKTrees/openjdk9-2017-07-27/build/jtreg/RTGCWork/scratch/hs_err_pid26526.log
Compiled method (c2)    2670    3             java.lang.Object::<init> (1 bytes)
 total in heap  [0x00007f7b9c4c1190,0x00007f7b9c4c1458] = 712
 relocation     [0x00007f7b9c4c1318,0x00007f7b9c4c1328] = 16
 main code      [0x00007f7b9c4c1340,0x00007f7b9c4c13a0] = 96
 stub code      [0x00007f7b9c4c13a0,0x00007f7b9c4c13b8] = 24
 metadata       [0x00007f7b9c4c13b8,0x00007f7b9c4c13c0] = 8
 scopes data    [0x00007f7b9c4c13c0,0x00007f7b9c4c13d8] = 24
 scopes pcs     [0x00007f7b9c4c13d8,0x00007f7b9c4c1438] = 96
 dependencies   [0x00007f7b9c4c1438,0x00007f7b9c4c1440] = 8
 handler table  [0x00007f7b9c4c1440,0x00007f7b9c4c1458] = 24
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 26542
Dumping core ...
STDERR:

But when I go search in the default directory to examine the core file, there is nothing there. There are no core files being dumped there. Could someone guide me as to where they could possibly be stored?
Default location :/home/test/OpenJDKTrees/openjdk9-2017-07-27/build/jtreg/RTGCWork/scratch/core.%p

Or will the core and log files be dumped only after the test suite has completed executing?

The above result is  partial result of one of the tests in the test suite.

Thanks and Regards,
Keerthana



More information about the jtreg-dev mailing list