[Bug 839612] FTBFS perl-Unix-Statgrab-0.04-14.fc18

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 8 13:34:09 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=839612

--- Comment #1 from Petr Pisar <ppisar at redhat.com> ---
This issue has been `fixed' by removing the tests:

commit 15d0455635bdb46f3739941a75cd960951680bfc
Author: Oliver Falk <oliver at linux-kernel.at>
Date:   Mon Aug 6 14:48:02 2012 +0200

    * Mon Aug 06 2012 Oliver Falk <oliver at linux-kernel.at> - 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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the perl-devel mailing list