Bug 1095504
| Summary: | jstack - Unable to deduce type of thread from address" and "sun.jvm.hotspot.utilities.AssertionFailure" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Thomas Meyer <thomas.mey> |
| Component: | java-1.7.0-openjdk | Assignee: | Deepak Bhole <dbhole> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | ahughes, dbhole, jerboaa, jvanek, omajid, sgehwolf, thomas.mey |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-05-16 21:33:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Thomas Meyer
2014-05-07 21:24:11 UTC
I can confirm this. It's reproducible by running jstack on any java process (printed by jps): $ /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.7.0.fc20.x86_64/bin/jstack -F -l <pid> Same result before and after installing the *-debuginfo package. From "man jstack" I see this for the -F option: -F Force a stack dump when 'jstack [-l] pid' does not respond. On a healthy process I can reproduce your problem by using '-F'. Though, "jstack -l <pid>" works fine for the process I try this on. Thomas, does "jstack -l <pid>" work for your process? Do you have to use '-F'? I tried to get a jstack trace in a busy jetty webserver. I tried without -F but jstack wasn't able to connect to the busy Java process, so I used the -F option. Are you running jmap -F as the same user who owns the process? No, I did run jstack as root and not as user jetty. Running jstack with user jetty works correctly!! Opps! A better error message would be a good thing... Thanks and sorry for the noise! Perfect! Okay, I am going to close this. I think sometimes jstack does work as root but not always, unfortunately. Always best to do it as same user to be on the safe side :) |