Hotspot segfaulting on Linux SPARC

Thomas Stüfe thomas.stuefe at gmail.com
Mon Apr 16 09:56:53 UTC 2018


Hi,

just curious, I lost track in this thread... Is this the same issue:

https://bugs.openjdk.java.net/browse/JDK-8200288

?

Thanks, Thomas



On Mon, Apr 9, 2018 at 11:15 PM, John Paul Adrian Glaubitz
<glaubitz at physik.fu-berlin.de> wrote:
> On 04/09/2018 11:11 PM, David Holmes wrote:
>>> (gdb) bt
>>> #0  0xffff8001080d7f68 in ?? ()
>>> #1  0xffff800101c88a34 in SafeFetch32 (errValue=2748, adr=0xabc0000000000abc) at /srv/openjdk/hs/src/hotspot/share/runtime/stubRoutines.hpp:460
>>
>> This isn't the assertion failure stack.
>
> You're right. Somehow gdb tricked me.
>
> I think this looks better:
>
> (gdb) bt
> #0  0xffff8001006afb9c in __libc_signal_restore_set (set=0xffff80012df915b8) at ../sysdeps/unix/sysv/linux/nptl-signals.h:80
> #1  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:48
> #2  0xffff8001006b1144 in __GI_abort () at abort.c:79
> #3  0xffff800101af17ac in os::abort (dump_core=<optimized out>, siginfo=0x0, context=0x0) at /srv/openjdk/hs/src/hotspot/os/linux/os_linux.cpp:1423
> #4  0xffff800101f0d45c in VMError::report_and_die (id=id at entry=-536870912, message=message at entry=0xffff800101fef9a0 "assert(!(is_cti(prev) && is_cti(insn)))
> failed",
>     detail_fmt=detail_fmt at entry=0xffff800101fef988 "CTI-CTI not allowed.", detail_args=detail_args at entry=0xffff80012df91d10,
> thread=thread at entry=0xffff8001042cf000,
>     pc=pc at entry=0x0, siginfo=0x0, context=0x0, filename=0xffff800101fef948 "/srv/openjdk/hs/src/hotspot/cpu/sparc/assembler_sparc.cpp", lineno=52, size=0)
>     at /srv/openjdk/hs/src/hotspot/share/utilities/vmError.cpp:1504
> #5  0xffff800101f0e298 in VMError::report_and_die (thread=0xffff8001042cf000, context=context at entry=0x0,
>     filename=filename at entry=0xffff800101fef948 "/srv/openjdk/hs/src/hotspot/cpu/sparc/assembler_sparc.cpp", lineno=lineno at entry=52,
>     message=message at entry=0xffff800101fef9a0 "assert(!(is_cti(prev) && is_cti(insn))) failed", detail_fmt=detail_fmt at entry=0xffff800101fef988 "CTI-CTI not
> allowed.",
>     detail_args=<optimized out>) at /srv/openjdk/hs/src/hotspot/share/utilities/vmError.cpp:1244
> #6  0xffff80010117cdec in report_vm_error (file=0xffff800101fef948 "/srv/openjdk/hs/src/hotspot/cpu/sparc/assembler_sparc.cpp", line=line at entry=52,
>     error_msg=0xffff800101fef9a0 "assert(!(is_cti(prev) && is_cti(insn))) failed", detail_fmt=0xffff800101fef988 "CTI-CTI not allowed.")
>     at /srv/openjdk/hs/src/hotspot/share/utilities/debug.cpp:230
> #7  0xffff800100c92e70 in Assembler::validate_no_pipeline_hazards (this=this at entry=0xffff800180029510) at
> /srv/openjdk/hs/src/hotspot/cpu/sparc/assembler_sparc.cpp:52
> #8  0xffff800100d220ec in Assembler::flush (this=0xffff800180029510) at /srv/openjdk/hs/src/hotspot/cpu/sparc/assembler_sparc.hpp:786
> #9  Compilation::emit_code_epilog (assembler=0xffff80012df91df8, this=0xffff80012df92310) at /srv/openjdk/hs/src/hotspot/share/c1/c1_Compilation.cpp:319
> #10 Compilation::emit_code_body (this=this at entry=0xffff80012df92310) at /srv/openjdk/hs/src/hotspot/share/c1/c1_Compilation.cpp:355
> #11 0xffff800100d228e0 in Compilation::compile_java_method (this=this at entry=0xffff80012df92310) at /srv/openjdk/hs/src/hotspot/share/c1/c1_Compilation.cpp:404
> #12 0xffff800100d23960 in Compilation::compile_method (this=this at entry=0xffff80012df92310) at /srv/openjdk/hs/src/hotspot/share/c1/c1_Compilation.cpp:460
> #13 0xffff800100d24754 in Compilation::Compilation (this=0xffff80012df92310, compiler=<optimized out>, env=<optimized out>, method=0xffff800180010ee0,
>     osr_bci=<optimized out>, buffer_blob=<optimized out>, directive=0xffff8001041f7980) at /srv/openjdk/hs/src/hotspot/share/c1/c1_Compilation.cpp:584
> #14 0xffff800100d2717c in Compiler::compile_method (this=0xffff80010429f8a0, env=0xffff80012df92828, method=0xffff800180010ee0, entry_bci=<optimized out>,
>     directive=<optimized out>) at /srv/openjdk/hs/src/hotspot/share/c1/c1_Compiler.cpp:249
> #15 0xffff8001010da944 in CompileBroker::invoke_compiler_on_method (task=task at entry=0xffff8001042c9650)
>     at /srv/openjdk/hs/src/hotspot/share/compiler/compileBroker.cpp:1915
> #16 0xffff8001010dcf14 in CompileBroker::compiler_thread_loop () at /srv/openjdk/hs/src/hotspot/share/compiler/compileBroker.cpp:1620
> #17 0xffff800101e3d21c in JavaThread::thread_main_inner (this=this at entry=0xffff8001042cf000) at /srv/openjdk/hs/src/hotspot/share/runtime/thread.cpp:1797
> #18 0xffff800101e3d810 in JavaThread::run (this=0xffff8001042cf000) at /srv/openjdk/hs/src/hotspot/share/runtime/thread.cpp:1777
> #19 0xffff800101afb5c8 in thread_native_entry (thread=0xffff8001042cf000) at /srv/openjdk/hs/src/hotspot/os/linux/os_linux.cpp:710
> #20 0xffff800100347874 in start_thread (arg=0xffff80012df93910) at pthread_create.c:463
> #21 0xffff800100763140 in __thread_start () at ../sysdeps/unix/sysv/linux/sparc/sparc64/clone.S:78
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> (gdb)
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz at debian.org
> `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the hotspot-dev mailing list