RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1142380 - huge debug log messages causing libreport to SEGV
Summary: huge debug log messages causing libreport to SEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libreport
Version: 7.1
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Filak
QA Contact: Martin Kyral
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bd567c20f942fefce2f31c93cab...
Depends On: 1122690
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-16 16:29 UTC by Jakub Filak
Modified: 2016-12-01 00:47 UTC (History)
20 users (show)

Fixed In Version: libreport-2.1.11-12.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1122690
Environment:
Last Closed: 2015-03-05 13:27:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch (2.61 KB, patch)
2014-09-22 08:31 UTC, Jakub Filak
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1174358 0 unspecified CLOSED reporter-ureport -vvv segfaults when core_backtrace is large 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:0556 0 normal SHIPPED_LIVE abrt, libreport, and satyr bug fix and enhancement update 2015-03-05 16:44:43 UTC

Internal Links: 1174358

Description Jakub Filak 2014-09-16 16:29:55 UTC
+++ This bug was initially created as a clone of Bug #1122690 +++

Version-Release number of selected component:
libreport-plugin-ureport-2.2.3-1.fc20

Additional info:
reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        reporter-ureport
crash_function: vsnprintf
executable:     /usr/bin/reporter-ureport
kernel:         3.15.6-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 vsnprintf at /usr/include/bits/stdio2.h:77
 #1 log_handler at logging.c:104
 #2 log_wrapper at logging.c:163
 #3 post at curl.c:310
 #4 post_string_as_form_data at ../include/libreport_curl.h:98
 #5 libreport_post_ureport at json.c:92

--- Additional comment from Isaac Cortés on 2014-07-23 21:15:33 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:35 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:36 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:38 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:39 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:40 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:42 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:45 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:46 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:48 CEST ---



--- Additional comment from Isaac Cortés on 2014-07-23 21:15:51 CEST ---



--- Additional comment from Jakub Filak on 2014-07-24 14:49:29 CEST ---

Hello, thank you for the report. I have submitted a patch for review:
https://github.com/abrt/libreport/pull/269

and prepared the following scratch build with the patch already applied:
http://koji.fedoraproject.org/koji/taskinfo?taskID=7190504

Could you please install the packages, retest and report the results here:

$ cd /var/tmp/abrt/ccpp-2014-07-23-12:42:37-4199
$ reporter-ureport

--- Additional comment from František Dvořák on 2014-08-17 11:07:46 CEST ---

I can confim the crash in 2.2.3-1.fc20. The koji build results are inaccessible.

--- Additional comment from Fedora Update System on 2014-08-20 10:33:53 CEST ---

libreport-2.2.3-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libreport-2.2.3-2.fc20

--- Additional comment from Fedora Update System on 2014-08-21 11:47:42 CEST ---

Package libreport-2.2.3-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreport-2.2.3-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9657/libreport-2.2.3-2.fc20
then log in and leave karma (feedback).

--- Additional comment from Sylvain Petreolle on 2014-08-22 00:28:37 CEST ---

Thanks, I can confirm the patch fixes the crash.

--- Additional comment from David Juran on 2014-08-22 14:22:31 CEST ---

With my reproducer, libreport no longer crashes but it doesn't complete either. Running reporter-ureport -vvvv from the command line runs for a few minutes and then exits with status 1. From within abrt, I get
 --- Running report_uReport ---
 Server responded with an error: 
'uReport may only be 4194304 bytes long' reporter-ureport failed with exit code 1 ('report_uReport' exited with 1)

--- Additional comment from David Juran on 2014-08-22 14:41:33 CEST ---



--- Additional comment from Jakub Filak on 2014-08-22 14:53:50 CEST ---

David, thank you for the analysis, you hit another bug in satyr. Could you please open a new bug against satyr for the new issue? And please remove the negative karma [1] from the update, it blocks the GUI enhancements.


1: https://fedoraproject.org/wiki/QA:Update_feedback_guidelines

--- Additional comment from Fedora Update System on 2014-08-24 04:57:18 CEST ---

libreport-2.2.3-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

--- Additional comment from David Juran on 2014-08-26 14:33:29 CEST ---

Bug 1133907 filed for this new problem. And it seems like the update got enough Karma after all (-:

Comment 3 Jakub Filak 2014-09-22 08:31:42 UTC
Created attachment 939917 [details]
Proposed patch

Comment 8 errata-xmlrpc 2015-03-05 13:27:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0556.html


Note You need to log in before you can comment on or make changes to this bug.