JDK-8006095 : C1: SIGSEGV w/ -XX:+LogCompilation
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-01-11
  • Updated: 2013-06-26
  • Resolved: 2013-01-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
#  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)

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