[Bug 1151572] New: Runaway rapid memory growth when handling Net::DNS::Packet
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1151572
Bug ID: 1151572
Summary: Runaway rapid memory growth when handling
Net::DNS::Packet
Product: Fedora
Version: 20
Component: perl-Net-DNS
Severity: medium
Assignee: psabata(a)redhat.com
Reporter: john+redhat(a)netservers.co.uk
QA Contact: extras-qa(a)fedoraproject.org
CC: perl-devel(a)lists.fedoraproject.org,
psabata(a)redhat.com, pwouters(a)redhat.com
Description of problem:
When I query the NS records for a certain domain using
Net::DNS::Resolver::Recurse, the perl script gets stuck in a infinite loop,
rapidly expanding in size until it is killed by the OOM killer.
How reproducible:
Can be reproduced every time you query certain domain(s). I've reproduced it on
four different Fedora 20 systems, once of which was a virgin system booted from
the Fedora Live DVD.
The problem does _not_ occur on CentOS/RHEL 6.5 or CentOS/RHEL 7.
Steps to Reproduce:
1. Create a perl script that queries NS records for domain
villamontanavista.co.uk
2. Run the script
3. Watch top and see the script grow in size until the OOM killer steps in.
Actual results:
Perl script devours all available memory until it is killed by OOM Killer
Expected results:
DNS records should be handled by the script and it should exit almost instantly
Additional info:
This perl script will always trigger the bug on Fedora 20:
=========================
#!/usr/bin/perl
use strict;
use Net::DNS;
use Net::DNS::Resolver::Recurse;
use Data::Dumper;
select STDERR; $| = 1;
select STDOUT; $| = 1;
my $res = Net::DNS::Resolver::Recurse->new;
$res->hints();
$res->recursion_callback(sub {
my $packet = shift;
print "==============\n".Dumper($packet)."\n--------------------\n";
for ($packet->additional){ print $_->string."\n"; }
});
$res->tcp_timeout(10);
$res->udp_timeout(10);
print "Starting recursion\n";
my $packet=$res->query_dorecursion("villamontanavista.co.uk","NS");
print "Finished recursion\n";
=========================
Some strace output (goes on like this until killed):
brk(0) = 0x18a1000
brk(0x18c2000) = 0x18c2000
brk(0) = 0x18c2000
brk(0x18e3000) = 0x18e3000
brk(0) = 0x18e3000
brk(0x1904000) = 0x1904000
brk(0) = 0x1904000
brk(0x1925000) = 0x1925000
brk(0) = 0x1925000
brk(0x1946000) = 0x1946000
brk(0) = 0x1946000
brk(0x1967000) = 0x1967000
brk(0) = 0x1967000
brk(0x1988000) = 0x1988000
brk(0) = 0x1988000
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=L3rIiSLBGK&a=cc_unsubscribe
9 years, 6 months
[Bug 1008491] New: Dependency issues - requires an older version of libstatgrab.so.6
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1008491
Bug ID: 1008491
Summary: Dependency issues - requires an older version of
libstatgrab.so.6
Product: Fedora
Version: 19
Component: perl-Unix-Statgrab
Assignee: steve(a)silug.org
Reporter: torbjorn.lindahl(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: cickumqt(a)gmail.com, oliver(a)linux-kernel.at,
perl-devel(a)lists.fedoraproject.org, steve(a)silug.org
Description of problem:
Dependencies are not satisfied for this package, it requires a too old version
of another package, libstatgrab
Version-Release number of selected component (if applicable):
0.04-18
How reproducible:
Always
Steps to Reproduce:
1. yum install perl-Unix-Statgrab
2. watch it give a dependency error
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=kNQxwfwx9I&a=cc_unsubscribe
9 years, 6 months
[Bug 989511] New: Cannot install perl-PAR-Packer via yum
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=989511
Bug ID: 989511
Summary: Cannot install perl-PAR-Packer via yum
Product: Fedora
Version: 19
Component: perl-PAR-Packer
Assignee: psabata(a)redhat.com
Reporter: alexey.radkov(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com
Description of problem:
Cannot install perl-PAR-Packer via yum due to a conflict nss-tools
Version-Release number of selected component (if applicable):
Fedora 19
How reproducible:
yum install perl-PAR-Packer
(supposed that nss-tools is alraedy installed)
Actual results:
Transaction check error:
file /usr/share/man/man1/pp.1.gz from install of
perl-PAR-Packer-1.014-2.fc19.x86_64 conflicts with file from package
nss-tools-3.15.1-2.fc19.x86_64
Expected results:
perl-PAR-Packer is installed
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=2U9crPId5H&a=cc_unsubscribe
9 years, 6 months