Bug 839612
Summary: | perl-Unix-Statgrab-0.04 segfaults with perl 5.16.0 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
Component: | perl-Unix-Statgrab | Assignee: | Petr Šabata <psabata> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | oliver, perl-devel, psabata, steve |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://koji.fedoraproject.org/koji/taskinfo?taskID=4236283 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-13 10:50:39 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: | 1119266, 1161126 | ||
Bug Blocks: |
Description
Petr Pisar
2012-07-12 12:44:14 UTC
This issue has been `fixed' by removing the tests: commit 15d0455635bdb46f3739941a75cd960951680bfc Author: Oliver Falk <oliver> Date: Mon Aug 6 14:48:02 2012 +0200 * Mon Aug 06 2012 Oliver Falk <oliver> - 0.04-17 - Remove segfaulting tests This could be bug in perl-5.16. Minimal test case: #!/usr/bin/perl use strict; use warnings; use Unix::Statgrab; my $p = get_process_stats; if ($p) { my @a = sort sort_procs_by_name $p->all_procs; my @b = sort sort_procs_by_pid $p->all_procs; my @c = sort sort_procs_by_uid $p->all_procs; } Returns perl error: Attempt to free unreferenced scalar: SV 0x259c538, Perl interpreter: 0x257c010 at test line 7. Changing the assignments to the same array causes segfault. This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 Upstream claims this issue has been fixed in Unix-Statgrab-0.099_001 and libstatgrab-0.90. I'll bump this 0.104. This will require Config::AutoConf. This also requires libstatgrab >= 0.90. *** This bug has been marked as a duplicate of bug 1163320 *** |