public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Filak <jfilak@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/abrt] update-2.17.8: try to generate core_backtrace only for CCpp problems
Date: Mon, 03 Aug 2026 10:22:45 GMT [thread overview]
Message-ID: <178575256522.1.9920094251554144628.rpms-abrt-368ef13bcec1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/abrt
Branch : update-2.17.8
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.8
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
reply other threads:[~2026-08-03 10:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178575256522.1.9920094251554144628.rpms-abrt-368ef13bcec1@fedoraproject.org \
--to=jfilak@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox