Zulu Community

debuginfo for jstack -F

Updated on November 11, 2016 in Zulu on Linux
7 on August 25, 2016

Running Zulu 8.13.0.5 RPM on CentOS 7, attempts to run “jstack -F” on Zulu processes results in “Unable to deduce type of thread from address” exceptions. Searching for information about that exception shows that “jstack -F” requires debuginfo.

The Zulu executables appear to be all stripped. I cannot find any debuginfo RPMs for Zulu. Is this something that could be provided?

  • Liked by
Reply
1 on September 7, 2016

jgmyers, This is a worthy request. We have delivered Zulu builds with varying levels of debug symbology on different platforms to Zulu subscribers. I’ll ask around to see whether we have any debug binaries with symbols for that build.

Matt

on September 7, 2016

We are in the process of updating to 8.17.0.3 (I noticed its release shortly after posting). We would be interested in that and future builds, not 8.13.0.5 anymore.

Show more replies
  • Liked by
Reply
Cancel
0 on November 9, 2016

jgmyers, I was able to get a binary of Zulu 8.19 packed with debug symbols. Please give it a try from this URL on the Zulu mirrors: http://cdn.azul.com/zulu/bin/zulu8.19.0.1-dbg-jdk8.0.112-linux_x64.tar.gz If you can confirm this works, then we can see whether a checked build like this makes sense to offer regularly, or as you suggest go about making add-on RPMs available. Please send any feedback you can. Thanks. Matt

  • Liked by
Reply
Cancel
0 on November 9, 2016

From my testing: when using the 8.19.0.1 tar file download “jstack -F” works without the debuginfo. When using the rpm download “jstack -F” doesn’t work.

I tried tar-copying the “lib” directory of the dbg tar file into /usr/lib/jvm/zulu-8/jre/lib and /usr/lib/jvm/zulu-8/lib of the rpm, but was not able to get “jstack -F” to work.

  • Liked by
Reply
Cancel
0 on November 9, 2016

Your comment: “when using the 8.19.0.1 tar file download “jstack -F” works without the debuginfo” confirms for me that you can indeed run jstack -F at all, which was my initial intention. I wanted to clear hurdle of knowing it would work at all before dealing with RPM packaging, because if memory server this was the first ever x64 Linux binary we’ve sent out of the building with debug symbols baked in.

I take it the RPM packaging format is essential. I’ll see what we can do with RPM symbol packs next.

Matt

  • Liked by
Reply
Cancel
0 on November 9, 2016

The issue is that I can run “jstack -F” with the distribution tarfile, not unpacking the dbg tar file at all. I have not been able to demonstrate any utility of the dbg tar file.

  • Liked by
Reply
Cancel
0 on November 11, 2016

Hmm. I think we need to talk this through. I will send you a direct email. Please look for it. –Matt

  • Liked by
Reply
Cancel