Crashes in libjvm.so with jdk8u20-b22 on ppc64le
Alexander Smundak
asmundak at google.com
Sun Jul 13 23:28:06 UTC 2014
Looks like you are building JVM with template interpreter, which is not
working on ppc64le yet. Please configure JDK build to use CPP interpreter:
configure ... --with-jvm-interpreter=cpp
I am working on porting template interpreter to ppc64le.
Sasha
On Jul 12, 2014 8:07 PM, "David Holmes" <david.holmes at oracle.com> wrote:
>
> Redirecting to the PPC/AIX port list. PLease follow-up there.
>
> David
>
> On 12/07/2014 8:10 PM, Fridrich Strba wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello, good people,
>>
>> Trying to dig into a build of jdk8u20-b22 using openSUSE Factory on
>> ppc64le and all first step images crash on this platform. It means
>> that the stage bootcycle-images-only fails immediately. Even querying
>> the "java -version" is segfaulting with this trace:
>>
>> (gdb) run -version
>> Starting program:
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/build/jdk8.build/images/j2sdk-image/bin/java
>> - -version
>> warning: Could not load shared library symbols for linux-vdso64.so.1.
>> Do you need "set solib-search-path" or "set sysroot"?
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib64/libthread_db.so.1".
>> warning: File "/usr/lib64/libstdc++.so.6.0.19-gdb.py" auto-loading has
>> been declined by your `auto-load safe-path' set to
>> "$debugdir:$datadir/auto-load".
>> [New Thread 0x3fffb691f1a0 (LWP 17276)]
>> [New Thread 0x3fffb60cf1a0 (LWP 17277)]
>> [New Thread 0x3fffb5ecf1a0 (LWP 17278)]
>> [New Thread 0x3fffb44cf1a0 (LWP 17279)]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 0x3fffb691f1a0 (LWP 17276)]
>> 0x60633fff3c600000 in ?? ()
>> (gdb) bt
>> #0 0x60633fff3c600000 in ?? ()
>> #1 0x00003fffa001afa4 in ?? ()
>> #2 0x00003fffa000e9e0 in ?? ()
>> #3 0x00003fffa00009c4 in ?? ()
>> #4 0x00003fffb7344b0c in JavaCalls::call_helper
>> (result=0x3fffb691dba0, m=0x3fffb691db70, args=0x3fffb691dbb0,
>> __the_thread__=0x3fffb000a000)
>> at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/runtime/javaCalls.cpp:402
>> #5 0x00003fffb7683fcc in os::os_exception_wrapper (f=0x3fffb73443f4
>> <JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*,
>> Thread*)>, value=0x3fffb691dba0, method=0x3fffb691db70,
>> args=0x3fffb691dbb0,
>> thread=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/os/linux/vm/os_linux.cpp:5103
>> #6 0x00003fffb73443d0 in JavaCalls::call (result=0x3fffb691dba0,
>> method=..., args=0x3fffb691dbb0, __the_thread__=0x3fffb000a000)
>> at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/runtime/javaCalls.cpp:307
>> #7 0x00003fffb72c3260 in InstanceKlass::call_class_initializer_impl
>> (this_oop=..., __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:1195
>> #8 0x00003fffb72c2f10 in InstanceKlass::call_class_initializer
>> (this=0x100000f30, __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:1163
>> #9 0x00003fffb72c1610 in InstanceKlass::initialize_impl
>> (this_oop=..., __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:899
>> #10 0x00003fffb72bf7a4 in InstanceKlass::initialize (this=0x100000f30,
>> __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:559
>> #11 0x00003fffb72c1094 in InstanceKlass::initialize_impl
>> (this_oop=..., __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:842
>> #12 0x00003fffb72bf7a4 in InstanceKlass::initialize (this=0x1000016d8,
>> __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:559
>> #13 0x00003fffb78298a4 in initialize_class (class_name=0x3fffb5210128,
>> __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/runtime/thread.cpp:990
>> #14 0x00003fffb78331b4 in Threads::create_vm (args=0x3fffb691e678,
>> canTryAgain=0x3fffb691e5a8) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/runtime/thread.cpp:3504
>> #15 0x00003fffb739c280 in JNI_CreateJavaVM (vm=0x3fffb691e798,
>> penv=0x3fffb691e7a0, args=0x3fffb691e678) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/prims/jni.cpp:5191
>> #16 0x00003fffb7ef5aa4 in InitializeJVM (pvm=0x3fffb691e798,
>> penv=0x3fffb691e7a0, ifn=0x3fffb691e780) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/jdk/src/share/bin/java.c:1148
>> #17 0x00003fffb7ef2eac in JavaMain (_args=0x3fffffffbbd8) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/jdk/src/share/bin/java.c:371
>> #18 0x00003fffb7f58a64 in start_thread (arg=0x3fffb691f1a0) at
>> pthread_create.c:311
>> #19 0x00003fffb7e13a00 in clone () at
>> ../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:104
>> (gdb) c
>> Continuing.
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00003fffb768c910 in NativeInstruction::long_at
>> (this=0x60633fff3c600000, offset=0) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp:112
>> 112 int long_at(int offset) const { return
>> *(int*)addr_at(offset); }
>> (gdb) bt
>> #0 0x00003fffb768c910 in NativeInstruction::long_at
>> (this=0x60633fff3c600000, offset=0) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp:112
>> #1 0x00003fffb768c894 in NativeInstruction::get_stack_bang_address
>> (this=0x60633fff3c600000, ucontext=0x3fffb691c580) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp:107
>> #2 0x00003fffb768a814 in JVM_handle_linux_signal (sig=11,
>> info=0x3fffb691d2f8, ucVoid=0x3fffb691c580, abort_if_unrecognized=1)
>> at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp:233
>> #3 0x00003fffb7680fa8 in signalHandler (sig=11, info=0x3fffb691d2f8,
>> uc=0x3fffb691c580) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/os/linux/vm/os_linux.cpp:4261
>> #4 <signal handler called>
>> #5 0x60633fff3c600000 in ?? ()
>> #6 0x00003fffa001afa4 in ?? ()
>> #7 0x00003fffa000e9e0 in ?? ()
>> #8 0x00003fffa00009c4 in ?? ()
>> #9 0x00003fffb7344b0c in JavaCalls::call_helper
>> (result=0x3fffb691dba0, m=0x3fffb691db70, args=0x3fffb691dbb0,
>> __the_thread__=0x3fffb000a000)
>> at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/runtime/javaCalls.cpp:402
>> #10 0x00003fffb7683fcc in os::os_exception_wrapper (f=0x3fffb73443f4
>> <JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*,
>> Thread*)>, value=0x3fffb691dba0, method=0x3fffb691db70,
>> args=0x3fffb691dbb0,
>> thread=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/os/linux/vm/os_linux.cpp:5103
>> #11 0x00003fffb73443d0 in JavaCalls::call (result=0x3fffb691dba0,
>> method=..., args=0x3fffb691dbb0, __the_thread__=0x3fffb000a000)
>> at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/runtime/javaCalls.cpp:307
>> #12 0x00003fffb72c3260 in InstanceKlass::call_class_initializer_impl
>> (this_oop=..., __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:1195
>> #13 0x00003fffb72c2f10 in InstanceKlass::call_class_initializer
>> (this=0x100000f30, __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:1163
>> #14 0x00003fffb72c1610 in InstanceKlass::initialize_impl
>> (this_oop=..., __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:899
>> #15 0x00003fffb72bf7a4 in InstanceKlass::initialize (this=0x100000f30,
>> __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:559
>> #16 0x00003fffb72c1094 in InstanceKlass::initialize_impl
>> (this_oop=..., __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:842
>> #17 0x00003fffb72bf7a4 in InstanceKlass::initialize (this=0x1000016d8,
>> __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/oops/instanceKlass.cpp:559
>> #18 0x00003fffb78298a4 in initialize_class (class_name=0x3fffb5210128,
>> __the_thread__=0x3fffb000a000) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/runtime/thread.cpp:990
>> #19 0x00003fffb78331b4 in Threads::create_vm (args=0x3fffb691e678,
>> canTryAgain=0x3fffb691e5a8) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/runtime/thread.cpp:3504
>> #20 0x00003fffb739c280 in JNI_CreateJavaVM (vm=0x3fffb691e798,
>> penv=0x3fffb691e7a0, args=0x3fffb691e678) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/hotspot/src/share/vm/prims/jni.cpp:5191
>> #21 0x00003fffb7ef5aa4 in InitializeJVM (pvm=0x3fffb691e798,
>> penv=0x3fffb691e7a0, ifn=0x3fffb691e780) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/jdk/src/share/bin/java.c:1148
>> #22 0x00003fffb7ef2eac in JavaMain (_args=0x3fffffffbbd8) at
>> /usr/src/packages/BUILD/java-1_8_0-openjdk/jdk8/jdk/src/share/bin/java.c:371
>> #23 0x00003fffb7f58a64 in start_thread (arg=0x3fffb691f1a0) at
>> pthread_create.c:311
>> #24 0x00003fffb7e13a00 in clone () at
>> ../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:104
>> (gdb) c
>> Continuing.
>> [Thread 0x3fffb44cf1a0 (LWP 17279) exited]
>> [Thread 0x3fffb5ecf1a0 (LWP 17278) exited]
>> [Thread 0x3fffb60cf1a0 (LWP 17277) exited]
>> [Thread 0x3fffb691f1a0 (LWP 17276) exited]
>>
>> Program terminated with signal SIGSEGV, Segmentation fault.
>> The program no longer exists.
>> (gdb)
>>
>> Just wondering whether the
>> hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp:112 does not have an
>> endianness issue.
>>
>> Anybody knowledgeable has an idea?
>>
>> Thanks a lot
>>
>> Fridrich Strba
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.22 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iEYEARECAAYFAlPBCYEACgkQu9a1imXPdA9EmACfefj5b5sYFlaVjiMPqVcaXxgx
>> E4wAn0j+GCru/HbQL/ATDNkhz3rzc5Cd
>> =Rwrs
>> -----END PGP SIGNATURE-----
>>
More information about the ppc-aix-port-dev
mailing list