Bug 572837 - crash at startup, SIGSEGV and missing hsdis-ppc64le.so on POWER9 ppc64el
Summary: crash at startup, SIGSEGV and missing hsdis-ppc64le.so on POWER9 ppc64el
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.19   Edit
Hardware: Other Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 549605
  Show dependency tree
 
Reported: 2021-04-14 07:06 EDT by Daniel Pocock CLA
Modified: 2021-04-15 04:10 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pocock CLA 2021-04-14 07:06:21 EDT
Downloaded from here:
https://download.eclipse.org/eclipse/downloads/drops4/R-4.19-202103031800/



$ md5sum ~/Download/eclipse-SDK-4.19-linux-gtk-ppc64le.tar.gz
3c12d277124b44822ebd17cfae20532f


$ opt/eclipse/eclipse 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00003fff8976f848, pid=36418, tid=36419
#
# JRE version: OpenJDK Runtime Environment (11.0.9.1+1) (build 11.0.9.1+1-post-Debian-1deb10u2)
# Java VM: OpenJDK 64-Bit Server VM (11.0.9.1+1-post-Debian-1deb10u2, mixed mode, tiered, compressed oops, g1 gc, linux-ppc64le)
# Problematic frame:
# 
[error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00003fffa6a795f4]

# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/daniel/hs_err_pid36418.log
Could not load hsdis-ppc64le.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   https://bugs.debian.org/openjdk-11
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


I enabled the core dumps and took a stack trace from the core file with gdb:



[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/java -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00003fffaa7e1228 in __libc_signal_restore_set (set=0x3fffa92112c8) at ../sysdeps/unix/sysv/linux/internal-signals.h:84
84	../sysdeps/unix/sysv/linux/internal-signals.h: No such file or directory.
[Current thread is 1 (Thread 0x3fffa921a170 (LWP 37375))]
(gdb) bt
#0  0x00003fffaa7e1228 in __libc_signal_restore_set (set=0x3fffa92112c8) at ../sysdeps/unix/sysv/linux/internal-signals.h:84
#1  0x00003fffaa7e1228 in __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:48
#2  0x00003fffaa7c158c in __GI_abort () at abort.c:79
#3  0x00003fffaa1564bc in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#4  0x00003fffaa3d0d2c in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#5  0x00003fffaa3d1860 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#6  0x00003fffaa3d18b0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#7  0x00003fffaa3d1c7c in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#8  0x00003fffaaad04d8 in <signal handler called> () at /home/daniel/ws/kernel/linux-4.19.132/arch/powerpc/kernel/vdso64/sigtramp.S
#9  0x00003fffa9bf95f4 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#10 0x00003fffaa3cab1c in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#11 0x00003fffaa3cdf60 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#12 0x00003fffaa3d0ba0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#13 0x00003fffaa3d1860 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#14 0x00003fffaa3d18b0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#15 0x00003fffaa3d1c7c in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#16 0x00003fffaaad04d8 in <signal handler called> () at /home/daniel/ws/kernel/linux-4.19.132/arch/powerpc/kernel/vdso64/sigtramp.S
#17 0x00003fffa9bf95f4 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#18 0x00003fffaa3cba04 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#19 0x00003fffaa3cdec0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#20 0x00003fffaa3d0ba0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#21 0x00003fffaa3d1860 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#22 0x00003fffaa3d18b0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#23 0x00003fffaa3d1c7c in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#24 0x00003fffaaad04d8 in <signal handler called> () at /home/daniel/ws/kernel/linux-4.19.132/arch/powerpc/kernel/vdso64/sigtramp.S
#25 0x00003fffa9bf95f4 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#26 0x00003fffaa3cc1f8 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#27 0x00003fffaa3d0ba0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#28 0x00003fffaa3d1860 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#29 0x00003fffaa3d18b0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#30 0x00003fffaa3d1c7c in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#31 0x00003fffaaad04d8 in <signal handler called> () at /home/daniel/ws/kernel/linux-4.19.132/arch/powerpc/kernel/vdso64/sigtramp.S
#32 0x00003fffa9bf95f4 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#33 0x00003fffaa3cc1f8 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#34 0x00003fffaa3d0b50 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#35 0x00003fffaa3d1860 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#36 0x00003fffaa3d18b0 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#37 0x00003fffaa166f2c in JVM_handle_linux_signal () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#38 0x00003fffaa153044 in  () at /usr/lib/jvm/java-11-openjdk-ppc64el/lib/server/libjvm.so
#39 0x00003fffaaad04d8 in <signal handler called> () at /home/daniel/ws/kernel/linux-4.19.132/arch/powerpc/kernel/vdso64/sigtramp.S
#40 0x00003fff8d76f848 in  ()
#41 0x00003fff8d76f840 in  ()
Comment 1 Daniel Pocock CLA 2021-04-15 03:53:08 EDT
I created a topic about this in the Raptor forums:

https://forums.raptorcs.com/index.php/topic,281.msg2104.html#msg2104
Comment 2 Daniel Pocock CLA 2021-04-15 04:10:26 EDT
Now I tried the download from here:
https://download.eclipse.org/eclipse/downloads/drops4/S-4.20M1-202104071800/

and it does not crash.  I was able to open it successfully, download the C++ plugins, open and build an autotools C++ project.