Package: perl
Version: 5.10.0-13
Severity: normal

Upon upgrade to Lenny from Etch, one of our applications started segfaulting.  
Upon further review, we've narrowed it down to the following snippet of example 
code:

#!/usr/bin/perl -w

use strict;

my @x;
$#x = 500;
$x[1] = 1;
@x = sort @x;

It seems pre-growing an array causes the subsequent sort to segfault.  Sorting 
the results into a different array also eliminates the crash as well.

This appears to most likely be an upstream bug, as we were able to re-produce 
this on a compiled from source perl 5.0.10 on Ubuntu Dapper 32bit.  For what 
it's worth, Activestate Perl 5.10 does not exihibit this behaviour.

We are able to reproduce on all Lenny machines attempted on, but they all are 
running x86_64.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.2 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages perl depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libdb4.6                      4.6.21-10  Berkeley v4.6 Database Libraries [
ii  libgdbm3                      1.8.3-4    GNU dbm database routines (runtime
ii  perl-base                     5.10.0-13  minimal Perl system
ii  perl-modules                  5.10.0-13  Core Perl modules

Versions of packages perl recommends:
ii  netbase                       4.34       Basic TCP/IP networking system
ii  perl-doc                      5.10.0-13  Perl documentation

Versions of packages perl suggests:
pn  libterm-readline-gnu-perl | l <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to