I did a debug run with ddd.
The segfault happens in get_ra_blocks() at the code snippet:
for (i = 0; i <= statbuf.st_size; i += 4096) {
----> if (mincorebuf[i / 4096])
there++;
else
notthere++;
if (phase == 1 && !mincorebuf[i / 4096]) {
phase = 0;
if (i > statbuf.st_size)
i = statbuf.st_size + 1;
record[rcount].offset = start;
record[rcount].len = i - 1 - start;
rcount++;
if (rcount >= 4000) rcount = 4000;
} else if (phase == 0 && mincorebuf[i / 4096]) {
phase = 1;
start = i;
}
}
--
sreadahead crashed with SIGSEGV in __pause_nocancel()
https://bugs.launchpad.net/bugs/414597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs