pstack is broken on amd64

Bug #1609419 reported by Carsten Hoffmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pstack (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using pstack 1.3.1-1 on Ubuntu 14.04.4 LTS leads to no usable results. It seems like this was already reported in a comment 2013 in the popular bug report (https://bugs.launchpad.net/ubuntu/+source/pstack/+bug/532000).

I am absolutely not sure on what other information to provide, but I have attached the pstack results that I am getting for a Multi Thread application.

Tags: amd64
Revision history for this message
Carsten Hoffmann (choffmann) wrote :
Revision history for this message
Thomas Preud'homme (robotux) wrote :

Hi Carsten,

Could you also provide the binary you are trying to print the stack of?

Best regards.

Revision history for this message
Carsten Hoffmann (choffmann) wrote :

Hello Thomas,

the binary I am originally trying to print the stack of is proprietary, so I cannot make it available to you. But I did try to print the pstack of an apache tomcat 8.0.26, the pstack is attached. The result looks different, but still not very helpful. (essentially the binary is java in this example)

If you want me to run pstack on another binary, let me know, I could not think if a good multi threaded binary.

Revision history for this message
Carsten Hoffmann (choffmann) wrote :

Hello Thomas Preud'homme,

were you able to look into this? Do you need anything else in order to analyze the issue?

Best
Carsten Hoffmann

Revision history for this message
Peter Edwards (peadar-3) wrote :

The current implementation won't work with real world binaries on x86_64. https://github.com/peadar/pstack implements the same functionality that works for modern systems, and is substantially faster than just wrapping gdb in a script.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.