https://bugs.kde.org/show_bug.cgi?id=431746
Bug ID: 431746
Summary: Heaptrack hangs indefinitely tracing the rust compiler
Product: Heaptrack
Version: 1.2.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Heaptrack hangs indefinitely tracing the rust compiler
STEPS TO REPRODUCE
1. rustup install 1.49.0 (or any other rust compiler, I tried as far back as
1.45.2)
2. heaptrack $(rustup which rustc) --version
OBSERVED RESULT
The rustc process exits, but heaptrack hangs indefinitely:
```
> heaptrack $(rustup which rustc) --version
heaptrack output will be written to
"/home/joshua/test-rustdoc/heaptrack.rustc.13227.gz"
starting application, this might take some time...
rustc 1.51.0-nightly (a62a76047 2021-01-13)
```
sh -x shows that it's waiting for heaptrack_analyze to exit:
```
> sh -x $(which heaptrack) $(rustup which rustc) --version
+ INTERPRETER=/usr/local/bin/../lib/heaptrack/libexec/heaptrack_interpret
+ pipe=/tmp/heaptrack_fifo13302
+ COMPRESSOR=gzip -c
+ output=/home/joshua/test-rustdoc/heaptrack.rustc.13302.gz
+ debuggee=13314
+ wait 13314
```
EXPECTED RESULT
Heaptrack exits when the process being debugged exits.
SOFTWARE/OS VERSIONS
Linux: Debian 10
ADDITIONAL INFORMATION
heaptrack 1.2.80
`heaptrack ls` or other small programs works fine.
--
You are receiving this mail because:
You are watching all bug changes.