Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hpcviewer and hpctraceviewer fail to run with OpenJDK or Oracle Java on mic #74

Closed
jmellorcrummey opened this issue Apr 17, 2018 · 2 comments
Assignees

Comments

@jmellorcrummey
Copy link
Member

jmellorcrummey commented Apr 17, 2018

Using OpenJDK

% hpcviewer


openjdk version "1.8.0_162"
OpenJDK Runtime Environment (build 1.8.0_162-b12)
OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000003780, pid=10177, tid=0x00007f8e076d3700
#
# JRE version: OpenJDK Runtime Environment (8.0_162-b12) (build 1.8.0_162-b12)
# Java VM: OpenJDK 64-Bit Server VM (25.162-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x0000000000003780
#
# Core dump written. Default location: /home/johnmc/pkgs-src/hpctoolkit-tests/vdso/core or core.10177
#
# An error report file with more information is saved as:
# /home/johnmc/pkgs-src/hpctoolkit-tests/vdso/hs_err_pid10177.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Using Oracle Java

java version "1.8.0_141"
Java(TM) SE Runtime Environment (build 1.8.0_141-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000003780, pid=10940, tid=0x00007fd3ce6d2700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_141-b15) (build 1.8.0_141-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.141-b15 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x0000000000003780
#
# Core dump written. Default location: /home/johnmc/pkgs-src/hpctoolkit-tests/vdso/core or core.10940
#
# An error report file with more information is saved as:
# /home/johnmc/pkgs-src/hpctoolkit-tests/vdso/hs_err_pid10940.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

@laksono
Copy link
Member

laksono commented Apr 17, 2018

How to reproduce the bug ?
It works fine with me on mic (with the same java version)

@jmellorcrummey
Copy link
Member Author

The issue was that I had my hpctoolkit/INSTALL/lib/hpctoolkit/ext-libs on my LD_LIBRARY_PATH because I was debugging hpcrun. The version of libz that we have in our library (libz.so.1.2.8) is apparently not binary compatible with the version in /usr/lib64/libz.so.1.2.11. @mwkrentel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants