The previous version of satyr was generating core_bactkraces without crash thread marker.
Related to rhbz#997076
Signed-off-by: Jakub Filak jfilak@redhat.com --- abrt.spec.in | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/abrt.spec.in b/abrt.spec.in index 66b9b20..4e5ec02 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -516,6 +516,16 @@ service abrtd condrestart >/dev/null 2>&1 || :
%posttrans addon-ccpp service abrt-ccpp condrestart >/dev/null 2>&1 || : +# Regenerate core_bactraces because of missing crash threads +abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr -d ' ') +if test -d "$abrtdir"; then + for DD in `find "$abrtdir" -maxdepth 1 -type d` + do + if test -f "$DD/analyzer" && grep -q "^CCpp$" "$DD/analyzer"; then + /usr/bin/abrt-action-generate-core-backtrace -d "$DD" -- >/dev/null 2>&1 + fi + done +fi
%posttrans addon-kerneloops service abrt-oops condrestart >/dev/null 2>&1 || :