Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl5.8.8 crashed when I build ikiwiki on gentoo linux #9298

Closed
p5pRT opened this issue Apr 22, 2008 · 9 comments
Closed

perl5.8.8 crashed when I build ikiwiki on gentoo linux #9298

p5pRT opened this issue Apr 22, 2008 · 9 comments

Comments

@p5pRT
Copy link

p5pRT commented Apr 22, 2008

Migrated from rt.perl.org#53200 (status was 'resolved')

Searchable as RT53200$

@p5pRT
Copy link
Author

p5pRT commented Apr 22, 2008

From silent2600@gmail.com

Created by silent2600@gmail.com

perl5.8.8 crashed when I build ikiwiki on gentoo linux,

steps​:

make
...
...
rendering todo/plugin_data_storage.mdwn
rendering todo/latex.mdwn
rendering todo/linkify_and_preprocessor_ordering.mdwn
rendering todo/wikiwyg.mdwn
rendering todo/calendar_--_archive_browsing_via_a_calendar_frontend.mdwn
*** glibc detected *** perl​: double free or corruption (!prev)​: 0x08c12ae0 ***
======= Backtrace​: =========
/lib/libc.so.6[0x4011ba00]
/lib/libc.so.6(cfree+0x89)[0x4011d6f9]
perl(Perl_safesysfree+0x1f)[0x80ae3ff]
======= Memory map​: ========
08048000-0813e000 r-xp 00000000 08​:0a 277131 /usr/bin/perl5.8.8
0813e000-0813f000 r--p 000f6000 08​:0a 277131 /usr/bin/perl5.8.8
0813f000-08142000 rw-p 000f7000 08​:0a 277131 /usr/bin/perl5.8.8
08142000-08d7e000 rw-p 08142000 00​:00 0 [heap]
40000000-4001a000 r-xp 00000000 08​:0a 358792 /lib/ld-2.6.1.so
4001a000-4001b000 r--p 00019000 08​:0a 358792 /lib/ld-2.6.1.so
4001b000-4001c000 rw-p 0001a000 08​:0a 358792 /lib/ld-2.6.1.so
4001c000-4001d000 r-xp 4001c000 00​:00 0 [vdso]
4001d000-40024000 r-xp 00000000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40024000-40025000 r--p 00006000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40025000-40026000 rw-p 00007000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40026000-40028000 r-xp 00000000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
40028000-40029000 r--p 00001000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
40029000-4002a000 rw-p 00002000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
4002a000-4002b000 rw-p 4002a000 00​:00 0
4002b000-4003e000 r-xp 00000000 08​:0a 357341 /lib/libpthread-2.6.1.so
4003e000-4003f000 r--p 00013000 08​:0a 357341 /lib/libpthread-2.6.1.so
4003f000-40040000 rw-p 00014000 08​:0a 357341 /lib/libpthread-2.6.1.so
40040000-40042000 rw-p 40040000 00​:00 0
40042000-40055000 r-xp 00000000 08​:0a 358619 /lib/libnsl-2.6.1.so
40055000-40056000 r--p 00012000 08​:0a 358619 /lib/libnsl-2.6.1.so
40056000-40057000 rw-p 00013000 08​:0a 358619 /lib/libnsl-2.6.1.so
40057000-40059000 rw-p 40057000 00​:00 0
40059000-4005b000 r-xp 00000000 08​:0a 358772 /lib/libdl-2.6.1.so
4005b000-4005c000 r--p 00001000 08​:0a 358772 /lib/libdl-2.6.1.so
4005c000-4005d000 rw-p 00002000 08​:0a 358772 /lib/libdl-2.6.1.so
4005d000-40081000 r-xp 00000000 08​:0a 358770 /lib/libm-2.6.1.so
40081000-40082000 r--p 00023000 08​:0a 358770 /lib/libm-2.6.1.so
40082000-40083000 rw-p 00024000 08​:0a 358770 /lib/libm-2.6.1.so
40083000-40088000 r-xp 00000000 08​:0a 358847 /lib/libcrypt-2.6.1.so
40088000-40089000 r--p 00004000 08​:0a 358847 /lib/libcrypt-2.6.1.so
40089000-4008a000 rw-p 00005000 08​:0a 358847 /lib/libcrypt-2.6.1.so
4008a000-400b1000 rw-p 4008a000 00​:00 0
400b1000-400b3000 r-xp 00000000 08​:0a 358642 /lib/libutil-2.6.1.so
400b3000-400b4000 r--p 00001000 08​:0a 358642 /lib/libutil-2.6.1.so
400b4000-400b5000 rw-p 00002000 08​:0a 358642 /lib/libutil-2.6.1.so
400b5000-400b6000 rw-p 400b5000 00​:00 0
400b6000-401e0000 r-xp 00000000 08​:0a 358620 /lib/libc-2.6.1.so
401e0000-401e2000 r--p 0012a000 08​:0a 358620 /lib/libc-2.6.1.so
401e2000-401e3000 rw-p 0012c000 08​:0a 358620 /lib/libc-2.6.1.so
401e3000-401e7000 rw-p 401e3000 00​:00 0
401e7000-401f0000 r-xp 00000000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f0000-401f1000 r--p 00008000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f1000-401f2000 rw-p 00009000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f2000-40208000 r-xp 00000000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
40208000-40209000 r--p 00015000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
40209000-4020a000 rw-p 00016000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
4020a000-4020d000 r-xp 00000000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020d000-4020e000 r--p 00002000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020e000-4020f000 rw-p 00003000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020f000-40212000 r-xp 00000000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40212000-40213000 r--p 00002000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40213000-40214000 rw-p 00003000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40214000-40224000 r-xp 00000000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40224000-40225000 r--p 0000f000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40225000-40226000 rw-p 00010000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40226000-4022d000 r-xp 00000000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022d000-4022e000 r--p 00006000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022e000-4022f000 rw-p 00007000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022f000-40232000 r-xp 00000000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40232000-40233000 r--p 00002000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40233000-40234000 rw-p 00003000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40234000-40239000 r-xp 00000000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
40239000-4023a000 r--p 00004000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
4023a000-4023b000 rw-p 00005000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
4023b000-40240000 r-xp 00000000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
40240000-40241000 r--p 00004000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
40241000-40242000 rw-p 00005000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
4024f000-40259000 r-xp 00000000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40259000-4025a000 r--p 00009000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
4025a000-4025b000 rw-p 0000a000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40300000-40321000 rw-p 40300000 00​:00 0
40321000-40400000 ---p 40321000 00​:00 0
bfc66000-bfcc8000 rw-p bff9e000 00​:00 0 [stack]
make​: *** [extra_build] Aborted (core dumped)
sh-3.2$
sh-3.2$
sh-3.2$ gdb -c core -q /usr/bin/perl
perl perl5.8.8 perlbug perlcc perl-cleaner
perldoc perlivp
sh-3.2$ gdb -c core -q /usr/bin/perl5.8.8
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

warning​: core file may not match specified executable file.

warning​: Can't read pathname for load map​: Input/output error.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
Reading symbols from /usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
Reading symbols from /usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
Reading symbols from
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1

(no debugging symbols found)
Core was generated by `perl -Iblib/lib ikiwiki.out -libdir . -setup
docwiki.setup -refresh'.
Program terminated with signal 6, Aborted.
#0 0x4001c410 in __kernel_vsyscall ()
(gdb) i f
Stack level 0, frame at 0xbfcc6030​:
eip = 0x4001c410 in __kernel_vsyscall; saved eip 0x400df101
called by frame at 0xbfcc6040
Arglist at 0xbfcc6028, args​:
Locals at 0xbfcc6028, Previous frame's sp is 0xbfcc6030
Saved registers​:
  ebp at 0xbfcc6020, eip at 0xbfcc602c
(gdb) bt
#0 0x4001c410 in __kernel_vsyscall ()
#1 0x400df101 in raise () from /lib/libc.so.6
#2 0x400e08e8 in abort () from /lib/libc.so.6
#3 0x40115cbb in ?? () from /lib/libc.so.6
#4 0x00000005 in ?? ()
#5 0xbfcc62a0 in ?? ()
#6 0x00000400 in ?? ()
#7 0x08bde3f0 in ?? ()
#8 0x0895ee54 in ?? ()
#9 0x401ca968 in ?? () from /lib/libc.so.6
#10 0x00000017 in ?? ()
#11 0xbfcc7340 in ?? ()
#12 0x00000004 in ?? ()
#13 0x401ca981 in ?? () from /lib/libc.so.6
#14 0x00000002 in ?? ()
#15 0x401caa60 in ?? () from /lib/libc.so.6
#16 0x00000021 in ?? ()
#17 0x401ca985 in ?? () from /lib/libc.so.6
#18 0x00000004 in ?? ()
#19 0xbfcc67d7 in ?? ()
#20 0x00000008 in ?? ()
#21 0x401ca98b in ?? () from /lib/libc.so.6
#22 0x00000005 in ?? ()
#23 0x00000001 in ?? ()
#24 0x00000003 in ?? ()
#25 0x401ca98b in ?? () from /lib/libc.so.6
#26 0x00000005 in ?? ()
#27 0xbfcc61e0 in ?? ()
#28 0x40115b22 in ?? () from /lib/libc.so.6
#29 0x401ca98c in ?? () from /lib/libc.so.6
#30 0x00000025 in ?? ()
#31 0x00000040 in ?? ()
#32 0x00000000 in ?? ()
(gdb) q
sh-3.2$ gcc -v
Using built-in specs.
Target​: i686-pc-linux-gnu
Configured with​:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --enable-secureplt
--disable-libunwind-exceptions --disable-multilib --enable-libmudflap
--disable-libssp --disable-libgcj --with-arch=i686
--enable-languages=c,c++,treelang --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http​://bugs.gentoo.org/ --with-pkgversion=Gentoo 4.1.2
p1.1
Thread model​: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.1)
sh-3.2$

######################33
1. the ikiwiki is the lastest version for debian sid(from debian site)
2. perl
[ebuild R ] dev-lang/perl-5.8.8-r4 USE="berkdb gdbm -build -debug
-doc -ithreads -perlsuid" 0 kB

Perl Info

Flags:
    category=core
    severity=medium

Site configuration information for perl v5.8.8:

Configured by Gentoo at Fri Apr  4 21:45:53 CST 2008.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.24-gentoo-r4, archname=i686-linux
    uname='linux gen2 2.6.24-gentoo-r4 #1 smp fri apr 4 12:27:09 cst
2008 i686 amd turion(tm) 64 x2 mobile technology tl-52 authenticamd
gnulinux '
    config_args='-des -Darchname=i686-linux -Dcccdlflags=-fPIC
-Dccdlflags=-rdynamic -Dcc=i686-pc-linux-gnu-gcc -Dprefix=/usr
-Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-O2
-march=k8 -fomit-frame-pointer -pipe -Duselargefiles -Dd_semctl_semun
-Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1
-Dinstallman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm
-Dinc_version_list=5.8.0 5.8.0/i686-linux 5.8.2 5.8.2/i686-linux 5.8.4
5.8.4/i686-linux 5.8.5 5.8.5/i686-linux 5.8.6 5.8.6/i686-linux 5.8.7
5.8.7/i686-linux  -Dcf_by=Gentoo -Ud_csh -Dusenm -Di_ndbm -Di_gdbm
-Di_db'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='i686-pc-linux-gnu-gcc', ccflags ='-fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -march=k8 -fomit-frame-pointer -pipe',
    cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/include/gdbm'
    ccversion='', gccversion='4.1.2 (Gentoo 4.1.2 p1.0.2)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='i686-pc-linux-gnu-gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.6.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:



@INC for perl v5.8.8:
    /etc/perl
    /usr/lib/perl5/vendor_perl/5.8.8/i686-linux
    /usr/lib/perl5/vendor_perl/5.8.8
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/site_perl/5.8.8/i686-linux
    /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/5.8.8/i686-linux
    /usr/lib/perl5/5.8.8
    /usr/local/lib/site_perl
    .


Environment for perl v5.8.8:
    HOME=/home/hx
    LANG=zh_CN.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/games/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Jun 2, 2008

From @smpeters

On Tue Apr 22 06​:40​:15 2008, silent2600@​gmail.com wrote​:

This is a bug report for perl from silent2600@​gmail.com,
generated with the help of perlbug 1.35 running under perl v5.8.8.

-----------------------------------------------------------------
[Please enter your report here]
perl5.8.8 crashed when I build ikiwiki on gentoo linux,

steps​:

make
...
...
rendering todo/plugin_data_storage.mdwn
rendering todo/latex.mdwn
rendering todo/linkify_and_preprocessor_ordering.mdwn
rendering todo/wikiwyg.mdwn
rendering todo/calendar_--
_archive_browsing_via_a_calendar_frontend.mdwn
*** glibc detected *** perl​: double free or corruption (!prev)​:
0x08c12ae0 ***
======= Backtrace​: =========
/lib/libc.so.6[0x4011ba00]
/lib/libc.so.6(cfree+0x89)[0x4011d6f9]
perl(Perl_safesysfree+0x1f)[0x80ae3ff]
======= Memory map​: ========
08048000-0813e000 r-xp 00000000 08​:0a 277131 /usr/bin/perl5.8.8
0813e000-0813f000 r--p 000f6000 08​:0a 277131 /usr/bin/perl5.8.8
0813f000-08142000 rw-p 000f7000 08​:0a 277131 /usr/bin/perl5.8.8
08142000-08d7e000 rw-p 08142000 00​:00 0 [heap]
40000000-4001a000 r-xp 00000000 08​:0a 358792 /lib/ld-2.6.1.so
4001a000-4001b000 r--p 00019000 08​:0a 358792 /lib/ld-2.6.1.so
4001b000-4001c000 rw-p 0001a000 08​:0a 358792 /lib/ld-2.6.1.so
4001c000-4001d000 r-xp 4001c000 00​:00 0 [vdso]
4001d000-40024000 r-xp 00000000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40024000-40025000 r--p 00006000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40025000-40026000 rw-p 00007000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40026000-40028000 r-xp 00000000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
40028000-40029000 r--p 00001000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
40029000-4002a000 rw-p 00002000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
4002a000-4002b000 rw-p 4002a000 00​:00 0
4002b000-4003e000 r-xp 00000000 08​:0a 357341 /lib/libpthread-
2.6.1.so
4003e000-4003f000 r--p 00013000 08​:0a 357341 /lib/libpthread-
2.6.1.so
4003f000-40040000 rw-p 00014000 08​:0a 357341 /lib/libpthread-
2.6.1.so
40040000-40042000 rw-p 40040000 00​:00 0
40042000-40055000 r-xp 00000000 08​:0a 358619 /lib/libnsl-2.6.1.so
40055000-40056000 r--p 00012000 08​:0a 358619 /lib/libnsl-2.6.1.so
40056000-40057000 rw-p 00013000 08​:0a 358619 /lib/libnsl-2.6.1.so
40057000-40059000 rw-p 40057000 00​:00 0
40059000-4005b000 r-xp 00000000 08​:0a 358772 /lib/libdl-2.6.1.so
4005b000-4005c000 r--p 00001000 08​:0a 358772 /lib/libdl-2.6.1.so
4005c000-4005d000 rw-p 00002000 08​:0a 358772 /lib/libdl-2.6.1.so
4005d000-40081000 r-xp 00000000 08​:0a 358770 /lib/libm-2.6.1.so
40081000-40082000 r--p 00023000 08​:0a 358770 /lib/libm-2.6.1.so
40082000-40083000 rw-p 00024000 08​:0a 358770 /lib/libm-2.6.1.so
40083000-40088000 r-xp 00000000 08​:0a 358847 /lib/libcrypt-
2.6.1.so
40088000-40089000 r--p 00004000 08​:0a 358847 /lib/libcrypt-
2.6.1.so
40089000-4008a000 rw-p 00005000 08​:0a 358847 /lib/libcrypt-
2.6.1.so
4008a000-400b1000 rw-p 4008a000 00​:00 0
400b1000-400b3000 r-xp 00000000 08​:0a 358642 /lib/libutil-2.6.1.so
400b3000-400b4000 r--p 00001000 08​:0a 358642 /lib/libutil-2.6.1.so
400b4000-400b5000 rw-p 00002000 08​:0a 358642 /lib/libutil-2.6.1.so
400b5000-400b6000 rw-p 400b5000 00​:00 0
400b6000-401e0000 r-xp 00000000 08​:0a 358620 /lib/libc-2.6.1.so
401e0000-401e2000 r--p 0012a000 08​:0a 358620 /lib/libc-2.6.1.so
401e2000-401e3000 rw-p 0012c000 08​:0a 358620 /lib/libc-2.6.1.so
401e3000-401e7000 rw-p 401e3000 00​:00 0
401e7000-401f0000 r-xp 00000000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f0000-401f1000 r--p 00008000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f1000-401f2000 rw-p 00009000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f2000-40208000 r-xp 00000000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
40208000-40209000 r--p 00015000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
40209000-4020a000 rw-p 00016000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
4020a000-4020d000 r-xp 00000000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020d000-4020e000 r--p 00002000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020e000-4020f000 rw-p 00003000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020f000-40212000 r-xp 00000000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40212000-40213000 r--p 00002000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40213000-40214000 rw-p 00003000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40214000-40224000 r-xp 00000000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40224000-40225000 r--p 0000f000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40225000-40226000 rw-p 00010000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40226000-4022d000 r-xp 00000000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022d000-4022e000 r--p 00006000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022e000-4022f000 rw-p 00007000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022f000-40232000 r-xp 00000000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40232000-40233000 r--p 00002000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40233000-40234000 rw-p 00003000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40234000-40239000 r-xp 00000000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
40239000-4023a000 r--p 00004000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
4023a000-4023b000 rw-p 00005000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
4023b000-40240000 r-xp 00000000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
40240000-40241000 r--p 00004000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
40241000-40242000 rw-p 00005000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
4024f000-40259000 r-xp 00000000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40259000-4025a000 r--p 00009000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
4025a000-4025b000 rw-p 0000a000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40300000-40321000 rw-p 40300000 00​:00 0
40321000-40400000 ---p 40321000 00​:00 0
bfc66000-bfcc8000 rw-p bff9e000 00​:00 0 [stack]
make​: *** [extra_build] Aborted (core dumped)
sh-3.2$
sh-3.2$
sh-3.2$ gdb -c core -q /usr/bin/perl
perl perl5.8.8 perlbug perlcc perl-cleaner
perldoc perlivp
sh-3.2$ gdb -c core -q /usr/bin/perl5.8.8
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

warning​: core file may not match specified executable file.

warning​: Can't read pathname for load map​: Input/output error.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnsl.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libutil.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/perl5/5.8.8/i686-
linux/auto/Encode/Encode.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-
linux/auto/Encode/Encode.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/HTML/Parser/Parser.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
Reading symbols from /usr/lib/perl5/5.8.8/i686-
linux/auto/Fcntl/Fcntl.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/Storable/Storable.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/Cwd/Cwd.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-
linux/auto/Data/Dumper/Dumper.so
Reading symbols from /usr/lib/perl5/5.8.8/i686-
linux/auto/Digest/MD5/MD5.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-
linux/auto/Digest/MD5/MD5.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/List/Util/Util.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/version/vxs/vxs.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
Reading symbols from
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1

(no debugging symbols found)
Core was generated by `perl -Iblib/lib ikiwiki.out -libdir . -setup
docwiki.setup -refresh'.
Program terminated with signal 6, Aborted.
#0 0x4001c410 in __kernel_vsyscall ()
(gdb) i f
Stack level 0, frame at 0xbfcc6030​:
eip = 0x4001c410 in __kernel_vsyscall; saved eip 0x400df101
called by frame at 0xbfcc6040
Arglist at 0xbfcc6028, args​:
Locals at 0xbfcc6028, Previous frame's sp is 0xbfcc6030
Saved registers​:
ebp at 0xbfcc6020, eip at 0xbfcc602c
(gdb) bt
#0 0x4001c410 in __kernel_vsyscall ()
#1 0x400df101 in raise () from /lib/libc.so.6
#2 0x400e08e8 in abort () from /lib/libc.so.6
#3 0x40115cbb in ?? () from /lib/libc.so.6
#4 0x00000005 in ?? ()
#5 0xbfcc62a0 in ?? ()
#6 0x00000400 in ?? ()
#7 0x08bde3f0 in ?? ()
#8 0x0895ee54 in ?? ()
#9 0x401ca968 in ?? () from /lib/libc.so.6
#10 0x00000017 in ?? ()
#11 0xbfcc7340 in ?? ()
#12 0x00000004 in ?? ()
#13 0x401ca981 in ?? () from /lib/libc.so.6
#14 0x00000002 in ?? ()
#15 0x401caa60 in ?? () from /lib/libc.so.6
#16 0x00000021 in ?? ()
#17 0x401ca985 in ?? () from /lib/libc.so.6
#18 0x00000004 in ?? ()
#19 0xbfcc67d7 in ?? ()
#20 0x00000008 in ?? ()
#21 0x401ca98b in ?? () from /lib/libc.so.6
#22 0x00000005 in ?? ()
#23 0x00000001 in ?? ()
#24 0x00000003 in ?? ()
#25 0x401ca98b in ?? () from /lib/libc.so.6
#26 0x00000005 in ?? ()
#27 0xbfcc61e0 in ?? ()
#28 0x40115b22 in ?? () from /lib/libc.so.6
#29 0x401ca98c in ?? () from /lib/libc.so.6
#30 0x00000025 in ?? ()
#31 0x00000040 in ?? ()
#32 0x00000000 in ?? ()
(gdb) q
sh-3.2$ gcc -v
Using built-in specs.
Target​: i686-pc-linux-gnu
Configured with​:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --enable-secureplt
--disable-libunwind-exceptions --disable-multilib --enable-libmudflap
--disable-libssp --disable-libgcj --with-arch=i686
--enable-languages=c,c++,treelang --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http​://bugs.gentoo.org/ --with-pkgversion=Gentoo 4.1.2
p1.1
Thread model​: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.1)
sh-3.2$

######################33
1. the ikiwiki is the lastest version for debian sid(from debian site)
2. perl
[ebuild R ] dev-lang/perl-5.8.8-r4 USE="berkdb gdbm -build -debug
-doc -ithreads -perlsuid" 0 kB

Excellent! I get the failure by simply doing a "perl Makefile.PL" and a
"make". My perl was a bit more vocal regarding where the problem is...

#0 0x4001c410 in __kernel_vsyscall ()
(gdb) bt
#0 0x4001c410 in __kernel_vsyscall ()
#1 0x4009b085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0x4009ca01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0x400d3b7c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0x400dba85 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5 0x400df4f0 in free () from /lib/tls/i686/cmov/libc.so.6
#6 0x080a0059 in Perl_pregfree ()
#7 0x080f9cdd in Perl_pp_regcomp ()
#8 0x080c0cab in Perl_runops_standard ()
#9 0x08065d9d in ?? ()
#10 0x080669ad in Perl_call_sv ()
#11 0x08066d08 in Perl_call_list ()
#12 0x0809c8ea in Perl_newATTRSUB ()
#13 0x0809ac43 in Perl_utilize ()
#14 0x0808da19 in Perl_yyparse ()
#15 0x080f080d in ?? ()
#16 0x080f116e in Perl_pp_entereval ()
#17 0x080c0cab in Perl_runops_standard ()
#18 0x0806727b in perl_run ()
#19 0x08063792 in main ()

I need to build a bleadperl with debugging on the see if this has been
fixed already, which I suspect it has already.

@p5pRT
Copy link
Author

p5pRT commented Jun 2, 2008

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jun 2, 2008

From @smpeters

On Mon Jun 02 07​:50​:08 2008, stmpeters wrote​:

On Tue Apr 22 06​:40​:15 2008, silent2600@​gmail.com wrote​:

This is a bug report for perl from silent2600@​gmail.com,
generated with the help of perlbug 1.35 running under perl v5.8.8.

-----------------------------------------------------------------
[Please enter your report here]
perl5.8.8 crashed when I build ikiwiki on gentoo linux,

steps​:

make
...
...
rendering todo/plugin_data_storage.mdwn
rendering todo/latex.mdwn
rendering todo/linkify_and_preprocessor_ordering.mdwn
rendering todo/wikiwyg.mdwn
rendering todo/calendar_--
_archive_browsing_via_a_calendar_frontend.mdwn
*** glibc detected *** perl​: double free or corruption (!prev)​:
0x08c12ae0 ***
======= Backtrace​: =========
/lib/libc.so.6[0x4011ba00]
/lib/libc.so.6(cfree+0x89)[0x4011d6f9]
perl(Perl_safesysfree+0x1f)[0x80ae3ff]
======= Memory map​: ========
08048000-0813e000 r-xp 00000000 08​:0a 277131 /usr/bin/perl5.8.8
0813e000-0813f000 r--p 000f6000 08​:0a 277131 /usr/bin/perl5.8.8
0813f000-08142000 rw-p 000f7000 08​:0a 277131 /usr/bin/perl5.8.8
08142000-08d7e000 rw-p 08142000 00​:00 0 [heap]
40000000-4001a000 r-xp 00000000 08​:0a 358792 /lib/ld-2.6.1.so
4001a000-4001b000 r--p 00019000 08​:0a 358792 /lib/ld-2.6.1.so
4001b000-4001c000 rw-p 0001a000 08​:0a 358792 /lib/ld-2.6.1.so
4001c000-4001d000 r-xp 4001c000 00​:00 0 [vdso]
4001d000-40024000 r-xp 00000000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40024000-40025000 r--p 00006000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40025000-40026000 rw-p 00007000 08​:0a 276131
/usr/lib/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
40026000-40028000 r-xp 00000000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
40028000-40029000 r--p 00001000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
40029000-4002a000 rw-p 00002000 08​:0a 668401
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so
4002a000-4002b000 rw-p 4002a000 00​:00 0
4002b000-4003e000 r-xp 00000000 08​:0a 357341 /lib/libpthread-
2.6.1.so
4003e000-4003f000 r--p 00013000 08​:0a 357341 /lib/libpthread-
2.6.1.so
4003f000-40040000 rw-p 00014000 08​:0a 357341 /lib/libpthread-
2.6.1.so
40040000-40042000 rw-p 40040000 00​:00 0
40042000-40055000 r-xp 00000000 08​:0a 358619 /lib/libnsl-2.6.1.so
40055000-40056000 r--p 00012000 08​:0a 358619 /lib/libnsl-2.6.1.so
40056000-40057000 rw-p 00013000 08​:0a 358619 /lib/libnsl-2.6.1.so
40057000-40059000 rw-p 40057000 00​:00 0
40059000-4005b000 r-xp 00000000 08​:0a 358772 /lib/libdl-2.6.1.so
4005b000-4005c000 r--p 00001000 08​:0a 358772 /lib/libdl-2.6.1.so
4005c000-4005d000 rw-p 00002000 08​:0a 358772 /lib/libdl-2.6.1.so
4005d000-40081000 r-xp 00000000 08​:0a 358770 /lib/libm-2.6.1.so
40081000-40082000 r--p 00023000 08​:0a 358770 /lib/libm-2.6.1.so
40082000-40083000 rw-p 00024000 08​:0a 358770 /lib/libm-2.6.1.so
40083000-40088000 r-xp 00000000 08​:0a 358847 /lib/libcrypt-
2.6.1.so
40088000-40089000 r--p 00004000 08​:0a 358847 /lib/libcrypt-
2.6.1.so
40089000-4008a000 rw-p 00005000 08​:0a 358847 /lib/libcrypt-
2.6.1.so
4008a000-400b1000 rw-p 4008a000 00​:00 0
400b1000-400b3000 r-xp 00000000 08​:0a 358642 /lib/libutil-2.6.1.so
400b3000-400b4000 r--p 00001000 08​:0a 358642 /lib/libutil-2.6.1.so
400b4000-400b5000 rw-p 00002000 08​:0a 358642 /lib/libutil-2.6.1.so
400b5000-400b6000 rw-p 400b5000 00​:00 0
400b6000-401e0000 r-xp 00000000 08​:0a 358620 /lib/libc-2.6.1.so
401e0000-401e2000 r--p 0012a000 08​:0a 358620 /lib/libc-2.6.1.so
401e2000-401e3000 rw-p 0012c000 08​:0a 358620 /lib/libc-2.6.1.so
401e3000-401e7000 rw-p 401e3000 00​:00 0
401e7000-401f0000 r-xp 00000000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f0000-401f1000 r--p 00008000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f1000-401f2000 rw-p 00009000 08​:0a 449719
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
401f2000-40208000 r-xp 00000000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
40208000-40209000 r--p 00015000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
40209000-4020a000 rw-p 00016000 08​:0a 276321
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
4020a000-4020d000 r-xp 00000000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020d000-4020e000 r--p 00002000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020e000-4020f000 rw-p 00003000 08​:0a 276072
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
4020f000-40212000 r-xp 00000000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40212000-40213000 r--p 00002000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40213000-40214000 rw-p 00003000 08​:0a 276173
/usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
40214000-40224000 r-xp 00000000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40224000-40225000 r--p 0000f000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40225000-40226000 rw-p 00010000 08​:0a 460599
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
40226000-4022d000 r-xp 00000000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022d000-4022e000 r--p 00006000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022e000-4022f000 rw-p 00007000 08​:0a 276101
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
4022f000-40232000 r-xp 00000000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40232000-40233000 r--p 00002000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40233000-40234000 rw-p 00003000 08​:0a 276128
/usr/lib/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
40234000-40239000 r-xp 00000000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
40239000-4023a000 r--p 00004000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
4023a000-4023b000 rw-p 00005000 08​:0a 449213
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
4023b000-40240000 r-xp 00000000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
40240000-40241000 r--p 00004000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
40241000-40242000 rw-p 00005000 08​:0a 668346
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
4024f000-40259000 r-xp 00000000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40259000-4025a000 r--p 00009000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
4025a000-4025b000 rw-p 0000a000 08​:0a 330158
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40300000-40321000 rw-p 40300000 00​:00 0
40321000-40400000 ---p 40321000 00​:00 0
bfc66000-bfcc8000 rw-p bff9e000 00​:00 0 [stack]
make​: *** [extra_build] Aborted (core dumped)
sh-3.2$
sh-3.2$
sh-3.2$ gdb -c core -q /usr/bin/perl
perl perl5.8.8 perlbug perlcc perl-cleaner
perldoc perlivp
sh-3.2$ gdb -c core -q /usr/bin/perl5.8.8
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

warning​: core file may not match specified executable file.

warning​: Can't read pathname for load map​: Input/output error.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnsl.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libutil.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/perl5/5.8.8/i686-
linux/auto/Encode/Encode.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-
linux/auto/Encode/Encode.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/HTML/Parser/Parser.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/HTML/Parser/Parser.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/IO/IO.so
Reading symbols from /usr/lib/perl5/5.8.8/i686-
linux/auto/Fcntl/Fcntl.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/Storable/Storable.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Storable/Storable.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Cwd/Cwd.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/Cwd/Cwd.so
Reading symbols from
/usr/lib/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-
linux/auto/Data/Dumper/Dumper.so
Reading symbols from /usr/lib/perl5/5.8.8/i686-
linux/auto/Digest/MD5/MD5.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.8/i686-
linux/auto/Digest/MD5/MD5.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/List/Util/Util.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
Reading symbols from
/usr/lib/perl5/vendor_perl/5.8.8/i686-
linux/auto/version/vxs/vxs.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/version/vxs/vxs.so
Reading symbols from
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1

(no debugging symbols found)
Core was generated by `perl -Iblib/lib ikiwiki.out -libdir . -setup
docwiki.setup -refresh'.
Program terminated with signal 6, Aborted.
#0 0x4001c410 in __kernel_vsyscall ()
(gdb) i f
Stack level 0, frame at 0xbfcc6030​:
eip = 0x4001c410 in __kernel_vsyscall; saved eip 0x400df101
called by frame at 0xbfcc6040
Arglist at 0xbfcc6028, args​:
Locals at 0xbfcc6028, Previous frame's sp is 0xbfcc6030
Saved registers​:
ebp at 0xbfcc6020, eip at 0xbfcc602c
(gdb) bt
#0 0x4001c410 in __kernel_vsyscall ()
#1 0x400df101 in raise () from /lib/libc.so.6
#2 0x400e08e8 in abort () from /lib/libc.so.6
#3 0x40115cbb in ?? () from /lib/libc.so.6
#4 0x00000005 in ?? ()
#5 0xbfcc62a0 in ?? ()
#6 0x00000400 in ?? ()
#7 0x08bde3f0 in ?? ()
#8 0x0895ee54 in ?? ()
#9 0x401ca968 in ?? () from /lib/libc.so.6
#10 0x00000017 in ?? ()
#11 0xbfcc7340 in ?? ()
#12 0x00000004 in ?? ()
#13 0x401ca981 in ?? () from /lib/libc.so.6
#14 0x00000002 in ?? ()
#15 0x401caa60 in ?? () from /lib/libc.so.6
#16 0x00000021 in ?? ()
#17 0x401ca985 in ?? () from /lib/libc.so.6
#18 0x00000004 in ?? ()
#19 0xbfcc67d7 in ?? ()
#20 0x00000008 in ?? ()
#21 0x401ca98b in ?? () from /lib/libc.so.6
#22 0x00000005 in ?? ()
#23 0x00000001 in ?? ()
#24 0x00000003 in ?? ()
#25 0x401ca98b in ?? () from /lib/libc.so.6
#26 0x00000005 in ?? ()
#27 0xbfcc61e0 in ?? ()
#28 0x40115b22 in ?? () from /lib/libc.so.6
#29 0x401ca98c in ?? () from /lib/libc.so.6
#30 0x00000025 in ?? ()
#31 0x00000040 in ?? ()
#32 0x00000000 in ?? ()
(gdb) q
sh-3.2$ gcc -v
Using built-in specs.
Target​: i686-pc-linux-gnu
Configured with​:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info

--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4

--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --enable-secureplt
--disable-libunwind-exceptions --disable-multilib --enable-libmudflap
--disable-libssp --disable-libgcj --with-arch=i686
--enable-languages=c,c++,treelang --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http​://bugs.gentoo.org/ --with-pkgversion=Gentoo 4.1.2
p1.1
Thread model​: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.1)
sh-3.2$

######################33
1. the ikiwiki is the lastest version for debian sid(from debian site)
2. perl
[ebuild R ] dev-lang/perl-5.8.8-r4 USE="berkdb gdbm -build -debug
-doc -ithreads -perlsuid" 0 kB

Excellent! I get the failure by simply doing a "perl Makefile.PL" and a
"make". My perl was a bit more vocal regarding where the problem is...

#0 0x4001c410 in __kernel_vsyscall ()
(gdb) bt
#0 0x4001c410 in __kernel_vsyscall ()
#1 0x4009b085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0x4009ca01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0x400d3b7c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0x400dba85 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5 0x400df4f0 in free () from /lib/tls/i686/cmov/libc.so.6
#6 0x080a0059 in Perl_pregfree ()
#7 0x080f9cdd in Perl_pp_regcomp ()
#8 0x080c0cab in Perl_runops_standard ()
#9 0x08065d9d in ?? ()
#10 0x080669ad in Perl_call_sv ()
#11 0x08066d08 in Perl_call_list ()
#12 0x0809c8ea in Perl_newATTRSUB ()
#13 0x0809ac43 in Perl_utilize ()
#14 0x0808da19 in Perl_yyparse ()
#15 0x080f080d in ?? ()
#16 0x080f116e in Perl_pp_entereval ()
#17 0x080c0cab in Perl_runops_standard ()
#18 0x0806727b in perl_run ()
#19 0x08063792 in main ()

I need to build a bleadperl with debugging on the see if this has been
fixed already, which I suspect it has already.

I ran the install against a bleadper, and everything worked just fine.
  Since Perl_preregfree() is completely different with bleadperl than
5.8.8, I'll have to try with a debugging 5.8.8 next to see where the
error is.

Steve

@p5pRT
Copy link
Author

p5pRT commented Mar 30, 2012

From @jkeenan

On Mon Jun 02 08​:59​:27 2008, stmpeters wrote​:

On Mon Jun 02 07​:50​:08 2008, stmpeters wrote​:

On Tue Apr 22 06​:40​:15 2008, silent2600@​gmail.com wrote​:

This is a bug report for perl from silent2600@​gmail.com,
generated with the help of perlbug 1.35 running under perl v5.8.8.

-----------------------------------------------------------------
[Please enter your report here]
perl5.8.8 crashed when I build ikiwiki on gentoo linux,

steps​:

make
...
...
rendering todo/plugin_data_storage.mdwn
rendering todo/latex.mdwn
rendering todo/linkify_and_preprocessor_ordering.mdwn
rendering todo/wikiwyg.mdwn
rendering todo/calendar_--
_archive_browsing_via_a_calendar_frontend.mdwn
*** glibc detected *** perl​: double free or corruption (!prev)​:
0x08c12ae0 ***
[snip backtrace]

I need to build a bleadperl with debugging on the see if this has been
fixed already, which I suspect it has already.

I ran the install against a bleadper, and everything worked just fine.
Since Perl_preregfree() is completely different with bleadperl than
5.8.8, I'll have to try with a debugging 5.8.8 next to see where the
error is.

Steve

Given that the version of Perl referenced in this ticket is no longer
supported, do we need to keep this ticket open?

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Mar 31, 2012

From @nwc10

On Fri, Mar 30, 2012 at 04​:50​:48PM -0700, James E Keenan via RT wrote​:

On Mon Jun 02 08​:59​:27 2008, stmpeters wrote​:

On Mon Jun 02 07​:50​:08 2008, stmpeters wrote​:

On Tue Apr 22 06​:40​:15 2008, silent2600@​gmail.com wrote​:

This is a bug report for perl from silent2600@​gmail.com,
generated with the help of perlbug 1.35 running under perl v5.8.8.

I need to build a bleadperl with debugging on the see if this has been
fixed already, which I suspect it has already.

I ran the install against a bleadper, and everything worked just fine.
Since Perl_preregfree() is completely different with bleadperl than
5.8.8, I'll have to try with a debugging 5.8.8 next to see where the
error is.

Steve

Given that the version of Perl referenced in this ticket is no longer
supported, do we need to keep this ticket open?

Well, it would be nice to know if we actually fixed the bug, or if the
symptoms just went away. (ie what the cause was)

But the ticket records that there were (at least) no symptoms on then-blead

I can't replicate this (with 5.8.8 on a current machine)

Nicholas Clark

@p5pRT
Copy link
Author

p5pRT commented Mar 31, 2012

From @jkeenan

On Sat Mar 31 04​:32​:49 2012, nicholas wrote​:

On Fri, Mar 30, 2012 at 04​:50​:48PM -0700, James E Keenan via RT wrote​:

Given that the version of Perl referenced in this ticket is no longer
supported, do we need to keep this ticket open?

Well, it would be nice to know if we actually fixed the bug, or if the
symptoms just went away. (ie what the cause was)

But the ticket records that there were (at least) no symptoms on
then-blead

I can't replicate this (with 5.8.8 on a current machine)

Nicholas Clark

I propose that we keep this RT open for 30 days, then close if we do not
hear from the OP or receive additional complaints.

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Apr 30, 2012

From @jkeenan

On Sat Mar 31 10​:23​:37 2012, jkeenan wrote​:

On Sat Mar 31 04​:32​:49 2012, nicholas wrote​:

On Fri, Mar 30, 2012 at 04​:50​:48PM -0700, James E Keenan via RT wrote​:

Given that the version of Perl referenced in this ticket is no longer
supported, do we need to keep this ticket open?

Well, it would be nice to know if we actually fixed the bug, or if the
symptoms just went away. (ie what the cause was)

But the ticket records that there were (at least) no symptoms on
then-blead

I can't replicate this (with 5.8.8 on a current machine)

Nicholas Clark

I propose that we keep this RT open for 30 days, then close if we do not
hear from the OP or receive additional complaints.

No further correspondence in the last month. Closing.

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Apr 30, 2012

@jkeenan - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant