https://bugs.kde.org/show_bug.cgi?id=475208
Bug ID: 475208
Summary: error: cannot take snapshot before execution has
started
Classification: Developer tools
Product: valgrind
Version: 3.22 GIT
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: massif
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
By running valgrind memory leak with a heavy application :
valgrind --tool=massif my_apps &
The detail_snapshot is failing :
vgdb detailed_snapshot /tmp/massif2023-10-04_12-21-23_0.out
sending command detailed_snapshot /tmp/massif2023-10-04_12-21-23_0.out to pid
1941
error: cannot take snapshot before execution has started
Instead of adding a temporization with "sleep" between the valgrind and vgdb
command.
Is there or could it have a function to wait that Valgrind is ready ?
A blocking/sync wait argument to the vgdb?
or an option/return vgdb to know everything is ready? I can do the
detailed_snapshot.
Regards,
Frédéric
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ARM / linux
--
You are receiving this mail because:
You are watching all bug changes.