Bug#557771: *** stack smashing detected ***: /usr/bin/perl terminated

Thomas Schwinge thomas at schwinge.name
Tue Nov 24 10:30:05 UTC 2009


Package: perl
Version: 5.10.1-8
Severity: important

Hello!

I have a case where perl reproducibly crashed like this:

    [...]
    scanning tag/open_issue_viengoos.mdwn
    scanning tag/open_issue_xen.mdwn
    building render_locally
    building colophon.mdwn
    *** stack smashing detected ***: /usr/bin/perl terminated

This is when using ikiwiki, <http://packages.debian.org/ikiwiki>, for
rendering a set of web pages.

I have this sitting in GDB at the moment, but without debugging symbols
the backtrace is probably not to helpful for you:

    (gdb) bt
    #0  abort () at abort.c:55
    #1  0x0112c71c in __libc_message (do_abort=2, fmt=0x1214956 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:138
    #2  0x011dc7db in __fortify_fail (msg=0x121493e "stack smashing detected") at fortify_fail.c:32
    #3  0x011dc790 in __stack_chk_fail () at stack_chk_fail.c:29
    #4  0x08070018 in Perl_newATTRSUB ()
    #5  0x0806ed90 in Perl_utilize ()
    #6  0x080a5d15 in Perl_yyparse ()
    #7  0x0811e93b in ?? ()
    #8  0x0811f4fc in Perl_pp_entereval ()
    #9  0x080dce79 in Perl_runops_standard ()
    #10 0x080770ee in perl_run ()
    #11 0x0806093d in main ()

How do you suggest to proceed with debugging this?


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: hurd-i386 (i386-AT386)

Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages perl depends on:
ii  hurd                   20090404-2        The GNU Hurd
ii  libbz2-1.0             1.0.5-3           high-quality block-sorting file co
ii  libc0.3                2.10.1-7          GNU C Library: Shared libraries
ii  libdb4.7               4.7.25-8          Berkeley v4.7 Database Libraries [
ii  libgdbm3               1.8.3-9           GNU dbm database routines (runtime
ii  perl-base              5.10.1-8          minimal Perl system
ii  perl-modules           5.10.1-8          Core Perl modules
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages perl recommends:
ii  make                          3.81-7     An utility for Directing compilati
ii  netbase                       4.37       Basic TCP/IP networking system

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

-- no debconf information


Regards,
 Thomas






More information about the Perl-maintainers mailing list