public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/abrt] update-2.17.9-f44: try to generate core_backtrace only for CCpp problems
@ 2026-08-03 11:04 Jakub Filak
0 siblings, 0 replies; only message in thread
From: Jakub Filak @ 2026-08-03 11:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/abrt
Branch : update-2.17.9-f44
Commit : 368ef13bcec19ce34caaaf13166840a9a522f32e
Author : Jakub Filak <jfilak@redhat.com>
Date : 2013-08-06T12:56:20+02:00
Stats : +50/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/abrt/c/368ef13bcec19ce34caaaf13166840a9a522f32e?branch=update-2.17.9-f44
Log:
try to generate core_backtrace only for CCpp problems
---
diff --git a/abrt-2.1.6-unable_to_open_coredump.patch b/abrt-2.1.6-unable_to_open_coredump.patch
new file mode 100644
index 0000000..8452270
--- /dev/null
+++ b/abrt-2.1.6-unable_to_open_coredump.patch
@@ -0,0 +1,44 @@
+From 133940d93193f82c5cc63d627f691291dfd7759a Mon Sep 17 00:00:00 2001
+From: Jakub Filak <jfilak@redhat.com>
+Date: Tue, 6 Aug 2013 12:32:45 +0200
+Subject: [ABRT PATCH] a-a-ureport: generate core_backtrace only for CCpp
+ problems
+
+Closes rhbz#993630
+
+Signed-off-by: Jakub Filak <jfilak@redhat.com>
+Signed-off-by: Martin Milata <mmilata@redhat.com>
+---
+ src/plugins/abrt-action-ureport | 9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/src/plugins/abrt-action-ureport b/src/plugins/abrt-action-ureport
+index 41916bd..44575d8 100755
+--- a/src/plugins/abrt-action-ureport
++++ b/src/plugins/abrt-action-ureport
+@@ -59,6 +59,13 @@ if __name__ == "__main__":
+ dd = dd_opendir(dirname, 0)
+ if not dd:
+ sys.exit(1)
++
++ report_type = dd.load_text("type", DD_FAIL_QUIETLY_ENOENT)
++
++ # because of backward compatibility
++ if not report_type:
++ report_type = dd.load_text("analyzer", 0)
++
+ core_backtrace_exists = dd.exist("core_backtrace")
+ reported_to = dd.load_text("reported_to", DD_FAIL_QUIETLY_ENOENT)
+ ureports_counter = try_parse_number(dd, "ureports_counter")
+@@ -90,7 +97,7 @@ if __name__ == "__main__":
+ log(_("uReport was already sent, not sending it again"))
+ sys.exit(0)
+
+- if not core_backtrace_exists:
++ if report_type == "CCpp" and not core_backtrace_exists:
+ exitcode = spawn_and_wait("abrt-action-generate-core-backtrace")
+ if exitcode != 0:
+ log1("uReport can't be sent without core_backtrace. Exiting.")
+--
+1.8.3.1
+
diff --git a/abrt.spec b/abrt.spec
index 202767b..c56412c 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -32,7 +32,7 @@
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 2.1.6
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://fedorahosted.org/abrt/
@@ -46,6 +46,7 @@ Patch4: abrt-2.1.1-disable_autoreporting_dialog.patch
# remove with abrt > 2.1.6
Patch5: abrt-2.1.6-get_rid_of_glib_warning.patch
+Patch6: abrt-2.1.6-unable_to_open_coredump.patch
BuildRequires: dbus-devel
BuildRequires: gtk3-devel
@@ -324,6 +325,7 @@ to the shell
#Fedora
%patch1 -p1 -b .gpgcheck
%patch5 -p1
+%patch6 -p1
%build
autoconf
@@ -870,6 +872,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
%changelog
+* Tue Aug 06 2013 Jakub Filak <jfilak@redhat.com> 2.1.6-3
+- try to generate core_backtrace only for CCpp problems
+
* Mon Jul 29 2013 Jakub Filak <jfilak@redhat.com> 2.1.6-2
- disable gcc unused-typedef warning for GLib
- use right dependencies for RHEL
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 11:04 [rpms/abrt] update-2.17.9-f44: try to generate core_backtrace only for CCpp problems Jakub Filak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox