Bug 511667

Summary: Cannot profile a flatpak application
Product: [Applications] Heaptrack Reporter: Nicco Kunzmann <niccokunzmann>
Component: generalAssignee: Milian Wolff <mail>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.5.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Heaptrack screenshot

Description Nicco Kunzmann 2025-11-05 10:56:14 UTC
Created attachment 186516 [details]
Heaptrack screenshot

SUMMARY

I would like to use heaptrack with flatpak.

$ heaptrack flatpak run com.odnoyko.valot

What happens is this: heaptrack waits for the flatpak to close.
Then, the recording is only 0.2 seconds long.

STEPS TO REPRODUCE
1. heaptrack flatpak run com.odnoyko.valot
2. open report with GUI

OBSERVED RESULT

3. see that only 0.2 seconds are recorded

EXPECTED RESULT

I would like to see the whole time (1h) or longer

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Xubuntu 24
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION