Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 887231

Summary: [abrt] sysstat-9.0.4-20.el6: Process /usr/bin/sar was killed by signal 11 (SIGSEGV)
Product: Red Hat Enterprise Linux 6 Reporter: prashant ingale <pingale>
Component: sysstatAssignee: Peter Schiffer <pschiffe>
Status: CLOSED ERRATA QA Contact: Branislav NĂ¡ter <bnater>
Severity: medium Docs Contact: Petr Bokoc <pbokoc>
Priority: unspecified    
Version: 6.3CC: ccheney, dkutalek, gbeshers, mkolbas, ovasik, pbokoc, pschiffe, qguo, shobbs, snishika, vgaikwad
Target Milestone: rcKeywords: Patch, Reopened, Upstream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: sysstat-9.0.4-28.el6 Doc Type: Bug Fix
Doc Text:
Corrupted data files no longer crash "sar" Previously, the "sar" command could crash when loading a corrupted system activity data due to `localtime()` function calls not being properly checked in *sysstat*. This bug has been fixed and corrupted system activity data files no longer crash "sar".
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 20:31:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1172231, 1254457, 1269194, 1272873, 1356047, 1359260    
Attachments:
Description Flags
sysstat-9.0.4-localtime.patch none

Description prashant ingale 2012-12-14 11:42:29 UTC
Description of problem:
sysstat getting crash randomly

Version-Release number of selected component (if applicable):
sysstat-9.0.4-20.el6

How reproducible:
randomly 

Steps to Reproduce:
1.run the below command
 $ /usr/bin/sar -A -f /var/log/sa//sa13
2. occur randomly
3.
  
Actual results:
it gets crash

Expected results:
it should not get crash

Additional info:

Comment 4 RHEL Program Management 2012-12-14 11:59:47 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 8 Peter Schiffer 2013-07-30 10:22:05 UTC
Created attachment 780524 [details]
sysstat-9.0.4-localtime.patch

Comment 10 Peter Schiffer 2014-05-19 15:12:23 UTC
Hello,

what's the status of this bug? I see customer case is closed. Would it be possible to get the problematic sa daily data file from customer, if he is still able to reproduce the issue?

Upstream fix can be found here, but without any note on reproducer:
https://github.com/sysstat/sysstat/commit/5459ecb40ace4f91d6d765f4b1b06156805b10d9

I would like to see the patch backported in RHEL-6, but I would rather avoid manually modifying sa files for reproducer purposes..

peter

Comment 11 Peter Schiffer 2014-05-20 16:12:15 UTC
I wasn't able to reproduce the bug even by modifying the sa daily data file, thus I'm closing this bug as INSUFFICIENT_DATA. In case you have any information which could help reproduce the bug, or you came across it again, feel free to reopen this bug.

Thanks,

peter

Comment 15 Peter Schiffer 2015-02-09 14:01:35 UTC
Hello,

I can verify that attached sa data file crashes sysstat and that attached patch fixes the crash. I'm proposing this bug for RHEL-6.8, but this late in the cycle, I can't guarantee that it'll be fixed. If this bug is important for you, please talk to the PM.

Thanks,

peter

Comment 22 errata-xmlrpc 2016-05-10 20:31:03 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-2016-0790.html

Comment 23 Michal Sekletar 2016-09-22 08:51:07 UTC
*** Bug 1355621 has been marked as a duplicate of this bug. ***