United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8006095 : C1: SIGSEGV w/ -XX:+LogCompilation

Details
Type:
Bug
Submit Date:
2013-01-11
Status:
Resolved
Updated Date:
2013-04-30
Project Name:
JDK
Resolved Date:
2013-01-14
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
Fixed Versions:
hs25 (b16)

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
#  SIGSEGV (0xb) at pc=0x00007fff82d89e21, pid=19133, tid=21507
#
# JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-ea-lambda-nightly-h2364-20121217-b69-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.0-b16-internal-fastdebug mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libSystem.B.dylib+0x18e21]  strchr+0x6

C  [libSystem.B.dylib+0x18e21]  strchr+0x6
V  [libjvm.dylib+0x9fae2]  outputStream::do_vsnprintf(char*, unsigned long, char const*, __va_list_tag*, bool, unsigned long&)+0x3a
V  [libjvm.dylib+0x9fc14]  outputStream::vprint(char const*, __va_list_tag*)+0x40
V  [libjvm.dylib+0x1077cf]  xmlStream::text(char const*, ...)+0x7f
V  [libjvm.dylib+0x35b41d]  CompileLog::inline_fail(char const*)+0x2b
V  [libjvm.dylib+0x25dc47]  GraphBuilder::print_inlining(ciMethod*, char const*, bool)+0x55
V  [libjvm.dylib+0x26788a]  GraphBuilder::try_inline(ciMethod*, bool, Bytecodes::Code, Instruction*)+0x48
V  [libjvm.dylib+0x268819]  GraphBuilder::invoke(Bytecodes::Code)+0x947
V  [libjvm.dylib+0x26a8f5]  GraphBuilder::iterate_bytecodes_for_block(int)+0x1e4d
V  [libjvm.dylib+0x2677f7]  GraphBuilder::iterate_all_blocks(bool)+0x63
V  [libjvm.dylib+0x26b9fa]  GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x2fe
V  [libjvm.dylib+0x273a53]  IRScope::build_graph(Compilation*, int)+0x1b
V  [libjvm.dylib+0x273cc4]  IRScope::IRScope(Compilation*, IRScope*, int, ciMethod*, int, bool)+0x17c
V  [libjvm.dylib+0x273d6e]  IR::IR(Compilation*, ciMethod*, int)+0x8c
V  [libjvm.dylib+0x258e80]  Compilation::build_hir()+0x9e
V  [libjvm.dylib+0x259251]  Compilation::compile_java_method()+0xb5
V  [libjvm.dylib+0x259507]  Compilation::compile_method()+0x81
V  [libjvm.dylib+0x2597ac]  Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*)+0x230
V  [libjvm.dylib+0x25a203]  Compiler::compile_method(ciEnv*, ciMethod*, int)+0x91
V  [libjvm.dylib+0x358eee]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x5d2
V  [libjvm.dylib+0x35aa25]  CompileBroker::compiler_thread_loop()+0x37f
V  [libjvm.dylib+0x77789b]  JavaThread::thread_main_inner()+0x115
V  [libjvm.dylib+0x779602]  JavaThread::run()+0x1c8
V  [libjvm.dylib+0x683884]  java_start(Thread*)+0xbc
C  [libSystem.B.dylib+0x39fd6]  _pthread_start+0x14b
C  [libSystem.B.dylib+0x39e89]  thread_start+0xd


Current CompileTask:
C1:   1234   94 % !   3       com.amd.aparapi.sample.mandel.Main::doIt @ 123 (289 bytes)

                                    

Comments
URL:   http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/d92fa52a5d03
User:  amurillo
Date:  2013-01-18 16:07:01 +0000

                                     
2013-01-18
URL:   http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/d92fa52a5d03
User:  vlivanov
Date:  2013-01-14 21:24:31 +0000

                                     
2013-01-14
Tom Deneau (tom.deneau@amd.com) wrote:

Program should run.  It does run if LogCompilation is not used.  It also runs with LogCompilation if -XX:-TieredCompilation is used.

mandel.jar file and the accompanying source code if needed can be seen at

http://cr.openjdk.java.net/~tdeneau/bug-20130110

The jar file can be built by
     cd mandel-nonaparapi
     ant build

                                     
2013-01-11



Hardware and Software, Engineered to Work Together