Closed rachtsingh closed 2 weeks ago
@rachtsingh thanks for reporting this. Would you be able to determine where Austin gets stuck at by any chance? You might need to compile from sources with debug symbols to get something useful. If you could do that we might be able to narrow this down a bit. In general austinp
is not super-stable, and that seems to be inherently due to the way libunwind is used.
I've been testing with the upcoming 3.7 release and I cannot reproduce the behavior described in the issue. Running the script I get the following wall time flame graph
The system is Ubuntu 20.04 with Python 3.12.7 running with LimaVM on MacBook Pro Intel.
Note that many frames show up as <unknown>
. These are quite likely frames associated with the native libraries that are lacking debug symbol information.
Hey, sorry for the slow response - after having upgraded our production systems a little bit between then and now, I don't seem to see this issue anymore. I didn't update austinp (still 3.6.0), so my guess is either (a) it was some system instability that we solved a little bit ago, or (b) something that's numpy's fault.
Going to close, and I appreciate you looking into this - sorry for the runaround.
Many thanks for the update @rachtsingh, much appreciated! Should this still be an issue please feel free to re-open.
Description
I'm unable to profile scipy.sparse.csr_matrix because it seems to hang on a subprocess call to check for SVE support (calls
lscpu
).Steps to Reproduce
Here's a minimal reproducer:
and I ran this
austinp
command:Expected behavior: It should return pretty much immediately.
Actual behavior: It hangs, and when I cancel it:
Reproduces how often: 100% of the time.
Versions