https://bugs.kde.org/show_bug.cgi?id=392487
Bug ID: 392487
Summary: Created file is not compatible with heaptrack
Product: Heaptrack
Version: unspecified
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Just compiled heaptrack from GIT master today and then proceeded to try to find
memory leaks in my application. Since it is a child process, I started it
separately and then got its PID and ran heaptrack. After finishing, I tried to
open the file as instructed by heaptrack but then it complained about
incompatible file version.
jasem@jasem-neon:~/Projects/build/heaptrack$ heaptrack --pid 7523
/usr/bin/heaptrack: 174: [: FALSE: unexpected operator
heaptrack output will be written to
"/home/jasem/Projects/build/heaptrack/heaptrack.indi_eqmod_tele.7571.gz"
injecting heaptrack into application via GDB, this might take some time...
injection finished
heaptrack stats:
allocations: 0
leaked allocations: 0
temporary allocations: 0
removing heaptrack injection via GDB, this might take some time...
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
warning: process 7523 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
The program is not being run.
Heaptrack finished! Now run the following to investigate the data:
heaptrack --analyze
"/home/jasem/Projects/build/heaptrack/heaptrack.indi_eqmod_tele.7571.gz"
jasem@jasem-neon:~/Projects/build/heaptrack$ heaptrack --analyze
"/home/jasem/Projects/build/heaptrack/heaptrack.indi_eqmod_tele.7571.gz"
The data file has version 2 and was written by heaptrack version 10000)
This is not compatible with this build of heaptrack (version 10000), which can
read file format version 1 and below
jasem@jasem-neon:~/Projects/build/heaptrack$ ls -l
"/home/jasem/Projects/build/heaptrack/heaptrack.indi_eqmod_tele.7571.gz"
-rw-rw-r-- 1 jasem jasem 512108 Mar 29 16:34
/home/jasem/Projects/build/heaptrack/heaptrack.indi_eqmod_tele.7571.gz
jasem@jasem-neon:~/Projects/build/heaptrack$ heaptrack --analyze
"/home/jasem/Projects/build/heaptrack/heaptrack.indi_eqmod_tele.7571.gz"
The data file has version 2 and was written by heaptrack version 10000)
This is not compatible with this build of heaptrack (version 10000), which can
read file format version 1 and below
--
You are receiving this mail because:
You are watching all bug changes.