|
From: Christoph B. <bar...@gm...> - 2006-09-05 18:56:13
|
Hi,
I could write a small test programm to reproduce the error I reported earlier
today.
The end of the trace is attached.
Here is the programm:
extern "C" {
#include <unistd.h>
}
int main() {
while (true) {
sleep(1);
}
}
1. Compile it with g++ -g <programmname>
2. Start valgrind:
valgrind --tool=callgrind --dump-instr=yes --collect-jumps=yes \
--simulate-cache=yes --instr-atstart=no --num-callers=32 --error-limit=no \
--time-stamp=yes --log-file=vg --trace-children=no --trace-syscalls=yes \
programmname
3. Start instrumentation: callgrind_control -i on <PID>
4. Dump: callgrind_control -d <PID>
5. Valgrind crashed.
The error does not occur on i386 machines only on x86_64 ones. Maybe a 64bit
problem.
If you need more information, just ask.
Greetings
Christoph
|