tag 654678 pending thanks On Friday 06 January 2012 03:51:29 Sven Joachim wrote: > How should I proceed to obtain a backtrace? Running readahead-collector > manually does not seem to do anything, and the manpage is rather terse.
Right, I could extend the manpage a bit. The collector is not really reusable, contrary to readahead(8), since it is very targetted for use at boot time. In the future, you could hack the early init script to cd to for example /run and ulimit -c unlimited. > Thanks, that may have produced some meaningful output (attached). It did, thanks. Attached patch (against the file in debian/patches with the same name) should fix it. It is strange that it was actually triggered, because it means that the collector didn't find any file that was rewritten during the boot. Anyway, I'm probably going to nuke that bit of the code or hide it behind an option, since it doesn't provide much benefit when using the configuration from the Debian package. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net
diff --git a/debian/patches/rac_dont_list_rewritten_files.patch b/debian/patches/rac_dont_list_rewritten_files.patch index 54842cf..ab79b8a 100644 --- a/debian/patches/rac_dont_list_rewritten_files.patch +++ b/debian/patches/rac_dont_list_rewritten_files.patch @@ -76,7 +76,7 @@ Index: readahead/src/readahead-collector.c auparse_destroy(au); -+ while (--nignore) { ++ while (--nignore >= 0) { + free(toignore[nignore]); + } +