[libcoz.cpp:100] bootstrapping coz
[libcoz.cpp:128] Including MAIN, which is /home/raulcaj/jdk8u/build/linux-x86_64-normal-server-slowdebug/jdk/bin/java
[inspect.cpp:509] Included source file /home/raulcaj/jdk8u/jdk/src/share/bin/main.c
[inspect.cpp:316] Including lines from executable /home/raulcaj/jdk8u/build/linux-x86_64-normal-server-slowdebug/jdk/bin/java
[profiler.cpp:75] Starting profiler thread
Segmentation fault at (nil)
0: /home/raulcaj/coz/source/coz/libcoz/libcoz.so(_ZN8profiler8on_errorEiP9siginfo_tPv+0x68) [0x7fc5bddb9018]
1: /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fc5bd7caf20]
2: [0x7fc59d0002b4]
I was unable to use gdb for debug this problem. I hope you guys could help me out.
Update: I just discovered that Hotspot VM uses SEGV to handle its internal behaviour regarding safepoints and other things.
Would coz have a workaround for this kind of situation?
I'm trying to profile the java executable from a build of openjdk I made with debug symbols enabled.
I'm using Ubuntu 18.04 LTS as the build platform.
Here is the file command output of the executable:
The ldd output of the executable:
And here is the output message I'm getting:
I was unable to use gdb for debug this problem. I hope you guys could help me out.
Update: I just discovered that Hotspot VM uses SEGV to handle its internal behaviour regarding safepoints and other things. Would coz have a workaround for this kind of situation?