Bug#624766: segfault in libperl5.10
vlakhadzhi
chg at land.ru
Sun May 1 13:06:56 UTC 2011
Package: libperl5.10
Version: 5.10.1-17
Severity: important
Tags: squeeze
Perl segfaults while executing the following scrips:
----------- begin script ------------
#!/usr/bin/perl
use warnings;
use strict;
use XML::Twig;
my $t = XML::Twig->new;
$t->set_root(my $root = XML::Twig::Elt->new('root'));
for(my $i=0; $i<20000; $i++) {
print "$i\n" unless $i%1000;
$root->insert_new_elt('child');
}
print "=============\n";
---------- end script ---------------
$./test
0
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
11000
12000
13000
14000
15000
16000
17000
18000
19000
=============
Segmentation fault
$dmesg
[608955.297699] test[9411]: segfault at 7fffe26aafe8 ip 00007fdb38d71dc0 sp
00007fffe26ab008 error 6 in libperl.so.5.10.1[7fdb38c96000+164000]
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libperl5.10 depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii perl-base 5.10.1-17 minimal Perl system
libperl5.10 recommends no packages.
libperl5.10 suggests no packages.
-- no debconf information
More information about the Perl-maintainers
mailing list