Your message dated Fri, 16 Apr 2010 22:18:25 +0000
with message-id <[email protected]>
and subject line Bug#513935: fixed in perl 5.12.0-1
has caused the Debian Bug report #513935,
regarding perl: segfaults under some circumstances when Data::Dumper is loaded
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
513935: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513935
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: perl
Version: 5.8.4-8sarge6, 5.8.8-7etch6, 5.10.0-19
Severity: normal

Hi,

by accident I produced a segfault with a perl script. I stripped it
down to the following line:

perl -MData::Dumper -e 'my %c=(d=>[1,2,3]); do { push(@{c{d}}, $d); } until 1'

(Yeah, that's broken code, but that doesn't matter here. ;-)

The segfault goes away, if you either

a) remove "-MData::Dumper" -> Syntax error
b) remove ",3" -> Syntax error
c) replace "@{c{d}}" with "@{$c{d}}" -> runs the script
d) remove the do until loop -> Syntax error

The segfault happens on Etch amd64 and i386, and on Lenny/Sid amd64,
i386 and kfreebsd-i386. It even was present on the oldest Debian box I
found around (which happens to be an Sarge on i386). So I suspect it's
an upstream bug. And a not really new but still yet undiscovered bug.

In my original (much longer) script, I also got a warning about what's
unclean with the code just before the segfault:

# perl /usr/local/sbin/add-backuppc-host.pl
Scalar value @{config{dir} better written as ${config{dir} at 
/usr/local/sbin/add-backuppc-host.pl line 134.
Segmentation fault

Here's a backtrace on Etch amd64:

!23 Z26 ?0 L2 a...@snitch:pts/6 (zsh 4.3.2) 16:54:47 [~] > gdb perl
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) set args -MData::Dumper -e 'my %c=(d=>[1,2,3]); do { push(@{c{d}}, $d); } 
until 1' 
(gdb) r
Starting program: /usr/bin/perl -MData::Dumper -e 'my %c=(d=>[1,2,3]); do { 
push(@{c{d}}, $d); } until 1' 
warning: no loadable sections found in added symbol-file system-supplied DSO at 
0x7fff92ffe000
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 140529366124240 (LWP 3376)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 140529366124240 (LWP 3376)]
0x00007fcf8ac68baa in Perl_linklist () from /usr/lib/libperl.so.5.8
(gdb) bt
#0  0x00007fcf8ac68baa in Perl_linklist () from /usr/lib/libperl.so.5.8
#1  0x00007fcf8ac68bd5 in Perl_linklist () from /usr/lib/libperl.so.5.8
#2  0x00007fcf8ac68bd5 in Perl_linklist () from /usr/lib/libperl.so.5.8
#3  0x00007fcf8ac74cdb in Perl_newPROG () from /usr/lib/libperl.so.5.8
#4  0x00007fcf8ac6774a in Perl_yyparse () from /usr/lib/libperl.so.5.8
#5  0x00007fcf8ac489d0 in perl_free () from /usr/lib/libperl.so.5.8
#6  0x00007fcf8ac497db in perl_parse () from /usr/lib/libperl.so.5.8
#7  0x0000000000401753 in main ()
(gdb) 

(And all just because I forgot a dollar sign. :-)

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.26.3-amd64-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages perl depends on:
ii  libc6                  2.3.6.ds1-13etch8 GNU C Library: Shared libraries
ii  libdb4.4               4.4.20-8          Berkeley v4.4 Database Libraries [
ii  libgdbm3               1.8.3-3           GNU dbm database routines (runtime
ii  perl-base              5.8.8-7etch6      The Pathologically Eclectic Rubbis
ii  perl-modules           5.8.8-7etch6      Core Perl modules

Versions of packages perl recommends:
ii  perl-doc                    5.8.8-7etch6 Perl documentation

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: perl
Source-Version: 5.12.0-1

We believe that the bug you reported is fixed in the latest version of
perl, which is due to be installed in the Debian FTP archive:

libcgi-fast-perl_5.12.0-1_all.deb
  to main/p/perl/libcgi-fast-perl_5.12.0-1_all.deb
libperl-dev_5.12.0-1_amd64.deb
  to main/p/perl/libperl-dev_5.12.0-1_amd64.deb
libperl5.12_5.12.0-1_amd64.deb
  to main/p/perl/libperl5.12_5.12.0-1_amd64.deb
perl-base_5.12.0-1_amd64.deb
  to main/p/perl/perl-base_5.12.0-1_amd64.deb
perl-debug_5.12.0-1_amd64.deb
  to main/p/perl/perl-debug_5.12.0-1_amd64.deb
perl-doc_5.12.0-1_all.deb
  to main/p/perl/perl-doc_5.12.0-1_all.deb
perl-modules_5.12.0-1_all.deb
  to main/p/perl/perl-modules_5.12.0-1_all.deb
perl_5.12.0-1.debian.tar.gz
  to main/p/perl/perl_5.12.0-1.debian.tar.gz
perl_5.12.0-1.dsc
  to main/p/perl/perl_5.12.0-1.dsc
perl_5.12.0-1_amd64.deb
  to main/p/perl/perl_5.12.0-1_amd64.deb
perl_5.12.0.orig.tar.bz2
  to main/p/perl/perl_5.12.0.orig.tar.bz2



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niko Tyni <[email protected]> (supplier of updated perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 16 Apr 2010 23:22:01 +0300
Source: perl
Binary: perl-base libcgi-fast-perl perl-doc perl-modules perl-debug libperl5.12 
libperl-dev perl
Architecture: source all amd64
Version: 5.12.0-1
Distribution: experimental
Urgency: low
Maintainer: Niko Tyni <[email protected]>
Changed-By: Niko Tyni <[email protected]>
Description: 
 libcgi-fast-perl - CGI::Fast Perl module
 libperl-dev - Perl library: development files
 libperl5.12 - shared Perl library
 perl       - Larry Wall's Practical Extraction and Report Language
 perl-base  - minimal Perl system
 perl-debug - debug-enabled Perl interpreter
 perl-doc   - Perl documentation
 perl-modules - Core Perl modules
Closes: 77707 304143 513935 558147 577011 577016 577018
Changes: 
 perl (5.12.0-1) experimental; urgency=low
 .
   * New upstream release.
     + POD markup in the NAME section is now suppressed by podlators,
       fixing garbled whatis information for perlpacktut. (Closes: #304143)
     + "runaway format" errors have been removed. (Closes: #77707)
     + Pod::Perldoc no longer generates broken markup for the last perlfunc
       and perlvar entries. (Closes: #558147)
     + Data::Dumper no longer crashes on an invalid push call.
       (Closes: #513935)
   * Move CPANPLUS::Config::System to the right source directory.
   * Fix CPANPLUS test failures when $HOME does not exist. (Closes: #577011)
   * Build-Conflict with libfile-sharedir-perl to avoid Module-Build test
     failures due to ABI incompatibilities. (Closes: #577018)
   * Point Vcs-* fields to the experimental git repository.
   * Set -Dusemorebits on all architectures to support long doubles.
     + apparently fixes use64bitint test failures on sparc. (Closes: #577016)
Checksums-Sha1: 
 6f30356ef8bf1906e8a82d18f430b277fb2f9e67 1396 perl_5.12.0-1.dsc
 f533687077e2da113b48a6c5e578f4a206fbf173 12304454 perl_5.12.0.orig.tar.bz2
 d69a07157d002af3c4c79f59dd7c3ec37998cec4 78471 perl_5.12.0-1.debian.tar.gz
 b92d03ef41d0f5148c35aee7483d68531aaaf09a 52810 
libcgi-fast-perl_5.12.0-1_all.deb
 1a680735717fd9f3a550bc36d46939a5ae624d45 7513240 perl-doc_5.12.0-1_all.deb
 ccdb1d4dee5601392610e3bc6147c59b0df8be10 4746842 perl-modules_5.12.0-1_all.deb
 aafafbf70f1a181fd7a9934084005e4407be72d4 1478088 perl-base_5.12.0-1_amd64.deb
 477573030d8065d788c446f16ef4eb1e6aa99178 5869948 perl-debug_5.12.0-1_amd64.deb
 2de303b5fefc0f31bd441a97f72f10dc86f6bf6e 1150 libperl5.12_5.12.0-1_amd64.deb
 4c8101a7786eda3594d9eab0b4fdc44244770eeb 2569884 libperl-dev_5.12.0-1_amd64.deb
 fb12d5cf91b45a007b827033cd45317c9734e721 4216046 perl_5.12.0-1_amd64.deb
Checksums-Sha256: 
 d41ed62ae13c6e18e1459d95f0c0853cf0c55e805fe54b4e3f95b3aca0a543a5 1396 
perl_5.12.0-1.dsc
 93de36dfc7059b2d87ac98c780ebabd50d8f900d5c152a14d9211e8c2330ad41 12304454 
perl_5.12.0.orig.tar.bz2
 36c3dabbe0dfe5cf7e5781295c14e60b1ac6846ef9381607452d1a63859e7751 78471 
perl_5.12.0-1.debian.tar.gz
 b3332f4b9e18f7f8a0f0410318946f147481e16c5499d4c4f603ad22623e0a15 52810 
libcgi-fast-perl_5.12.0-1_all.deb
 859bbe3f4e9f6998977bda11b3bb33df05c3a534a731a0dc67822aaf6488cb6a 7513240 
perl-doc_5.12.0-1_all.deb
 cc10b41a0625e8f1b39494e419b484c8b0031b5a65853f9c3b2cb0b06907e2f8 4746842 
perl-modules_5.12.0-1_all.deb
 4cbe9932d2b18e05f17ce071c5317def2033f3d566f11ea0694fc4a379795f99 1478088 
perl-base_5.12.0-1_amd64.deb
 9822235b8b80530f2424c84db6e526c1d59cf572fb1cb84141834cecf2e8096a 5869948 
perl-debug_5.12.0-1_amd64.deb
 ed7e76fb13922581f8650989174abb544456fd2c610fc42d6e965a5b1d18d196 1150 
libperl5.12_5.12.0-1_amd64.deb
 533fc2e12d789755c008141e9cf7d000ff9d7e62589b61471bf884cb8834da93 2569884 
libperl-dev_5.12.0-1_amd64.deb
 70adddc63a54e5b2c49a4214dc215d87d1041fb3a22a74468c48f3b83d62a7fc 4216046 
perl_5.12.0-1_amd64.deb
Files: 
 8f74c1cf8c23d8d194e3d646605e70b8 1396 perl standard perl_5.12.0-1.dsc
 3e15696f4160775a90f6b2fb3ccc98c2 12304454 perl standard 
perl_5.12.0.orig.tar.bz2
 414ea9e0654943b0fa518c78ca490891 78471 perl standard 
perl_5.12.0-1.debian.tar.gz
 7257e9befc3de37592a9875b3bd41522 52810 perl optional 
libcgi-fast-perl_5.12.0-1_all.deb
 eedc26589904608df1f65c60bed8d900 7513240 doc optional perl-doc_5.12.0-1_all.deb
 b0d958b77addc6528d4757a4ec437f10 4746842 perl standard 
perl-modules_5.12.0-1_all.deb
 c342afda3d48020b54b16918103e8ce4 1478088 perl required 
perl-base_5.12.0-1_amd64.deb
 1b99c02b849c2a9cede858713799eb5c 5869948 debug extra 
perl-debug_5.12.0-1_amd64.deb
 1343aa30aa05eb958866f3ba80a9c5fb 1150 libs optional 
libperl5.12_5.12.0-1_amd64.deb
 31368960df125f4221911e35c9bc7b0c 2569884 libdevel optional 
libperl-dev_5.12.0-1_amd64.deb
 ddfe81529f401c4445edc517ca9bc563 4216046 perl standard perl_5.12.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvI0bAACgkQiyizGWoHLTkj/ACgxym73kKgi4iPNPOL+nm5fZGQ
ykMAnRhKYZqoVSMyBIMtp0Ia1vHhyO5q
=ROSw
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to