as an example for example core file:
On updated Fedora 18 x86_64 the rpms are too new; but how to get the matching
I had the best result with:
But still even there GDB wants to load nspr - one of the many failures - but
coredump2packages does not list nspr at all, therefore the system one does not
Tried also darkclient I can generate a list of rpms but then I fail how to
* yum remote installation does not work as older rpms are only in Koji, not
in Fedora repos.
* yum localinstall for missing dependencies again searches only Fedora repos
and not Koji
* yum never downgrades version to the specified rpm file if a newer rpm is
already installed / available as a dependency.
* rpm -Uvh --oldpackage does not resolve missing dependecies at all, neither
from Fedora repos nor from Koji.
You have something done on the ABRT Retrace Server but how to prepare the same
mock chroot for local core file investigations?
Martin Milata <mmilata(a)redhat.com> changed:
What |Removed |Added
You are receiving this mail because:
You reported the bug.
Related to rhbz#921949
Signed-off-by: Jakub Filak <jfilak(a)redhat.com>
src/plugins/abrt-action-analyze-vmcore.in | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/src/plugins/abrt-action-analyze-vmcore.in b/src/plugins/abrt-action-analyze-vmcore.in
index c3f2e2e..c78ba03 100644
@@ -131,3 +131,27 @@ if __name__ == "__main__":
backtrace_file = open("backtrace", "w")
dump_oops = Popen(["abrt-dump-oops", "-o", "kernel_log"], stdout=backtrace_file, bufsize=-1)
+ ret = dump_oops.wait()
+ if ret != RETURN_OK:
+ ret = RETURN_FAILURE
+ # Save kernel version in 'kernel' file (FILENAME_KERNEL)
+ # The code below expects that abrt-dump-oops generates file in the following format:
+ # <empty line>
+ # Version: 3.8.5-201.fc18.x86_64
+ # <oops data>
+ # <EOF>
+ with open("backtrace", "r") as backtrace_file:
+ for line in backtrace_file:
+ # Please excuse the magic constant 9 => len('Version: '). This construction is more readable for me.
+ if line[:9] == "Version: ":
+ with open("kernel", "w") as kernel_file:
+ ret = RETURN_OK # set OK only if it was successfully written
+ break # break the loop, we support only one oops per vmcore
+ if ret != RETURN_OK:
+ print _("Garbled abrt-dump-oops output format. Can't find kernel version.");