|
From: Christoph B. <bar...@or...> - 2006-09-11 10:09:47
|
Am Montag, 11. September 2006 11:58 schrieb Julian Seward:
> > b->instr[bb->instr_count-1] seems to be invalid because bb->instr_count
> > is 0 and bb->instr_count-1 is out of range.
>
> That's interesting. I wonder if this happens when callgrind handles a
> block with zero instructions in, which can happen if the instruction
> decoder finds an unknown instruction. Christoph, does your program
> have anything like that (eg, it catches SIGILL and handles it, and/or
> you get messages about unknown instructions) ?
>
Here is the whole programm:
extern "C" {
#include <unistd.h>
}
int main() {
while(true)
sleep(1);
}
Christoph
|