Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212728 - dev-lang/perl or sys-devel/libperl: coredump somewhere inside the perl core
Summary: dev-lang/perl or sys-devel/libperl: coredump somewhere inside the perl core
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL: http://www.michael-hammer.at/stuff/pe...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-08 16:42 UTC by Michael Hammer (RETIRED)
Modified: 2008-04-16 15:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hammer (RETIRED) gentoo-dev 2008-03-08 16:42:55 UTC
I am creating an ebuild for ikiwiki which is a wiki processor written in perl. It uses different CPAN Modules. One part of the make process is the compilation of the internal ikiwiki out of Markdown formatted text files with the Text::Markdown module. During this compilation perl produces a core dump which you can see at my attached link :( I found a few bug reports of similar perl core dumps which where all related to the nntp. I am not a perl spezialist - so perhaps someone can have a look on it? I have reproduced the problem on two different amd64 machines with

sys-devel/libperl-5.8.8-r1
dev-lang/perl-5.8.8-r4
sys-libs/glibc-2.6.1

Don't hesitate to give me further advice on testing or providing further informations. I can provide you with the ebuilds you need to reproduce the problem yourselves if you want.

g, mueli

Reproducible: Always




Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Sat, 08 Mar 2008 14:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="de"
MAKEOPTS="-j15"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/mueli /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/ffmpeg-svn /usr/portage/local/layman/synce"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl alsa amd64 arts asf berkdb browserplugin bzip2 cdda cddb cdparanoia cgi cjk cli cracklib crypt cups dbus divx dri dvb dvd dvdr dvdread effects emacs encode fastcgi ffmpeg flac force-cgi-redirect fortran ftp gdbm gif gimpprint gmedia gpm gstreamer gtk iconv icq imap imlib ipod ipv6 irc isdnlog jabber java jpeg jpeg2k kde kdeenablefinal kerberos ladspa latin1 lcms ldap lesstif libcaca lm_sensors mad midi mmx mng mono motif mp3 mp4 mpeg mudflap musicbrainz mysql ncurses neXt nfs nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl plotutils png pppd python qt3 quicktime readline realmedia reflection rss rtsp sasl session slang spl sse sse2 ssl subversion tcpd tetex threads tiff tk unicode vorbis wmf wmp wxwindows x264 xcomposite xine xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="kbd mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-08 16:45:54 UTC
Please, don't use external links for bugs; attach everything relevant here and reopen then. Thanks.
Comment 2 Michael Hammer (RETIRED) gentoo-dev 2008-03-08 17:54:36 UTC
Here the core dump info. Sry for not pasting it direct.

*** glibc detected *** perl: double free or corruption (!prev): 0x00000000017b6bb0 ***
======= Backtrace: =========
/lib/libc.so.6[0x2ac42fd9aaad]
/lib/libc.so.6(cfree+0x76)[0x2ac42fd9c796]
perl(Perl_pregfree+0x3b)[0x455b64]
perl(Perl_pp_regcomp+0x8e)[0x4a33f2]
perl(Perl_runops_standard+0x1a)[0x47213a]
perl(Perl_call_sv+0x689)[0x4252a9]
perl(Perl_call_list+0x210)[0x4255f3]
perl(Perl_newATTRSUB+0xdbc)[0x451219]
perl(Perl_utilize+0x1f8)[0x44fd42]
perl(Perl_yyparse+0x1cdb)[0x4461cb]
perl[0x49a0a2]
perl(Perl_pp_entereval+0x4b4)[0x49aa48]
perl(Perl_runops_standard+0x1a)[0x47213a]
perl(perl_run+0x321)[0x425ba3]
perl(main+0xb9)[0x422109]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2ac42fd4bb74]
perl[0x421fd9]
======= Memory map: ========
00400000-004ff000 r-xp 00000000 08:53 1485982                            /usr/bin/perl5.8.8
006ff000-00701000 r--p 000ff000 08:53 1485982                            /usr/bin/perl5.8.8
00701000-00707000 rw-p 00101000 08:53 1485982                            /usr/bin/perl5.8.8
00707000-01a16000 rw-p 00707000 00:00 0                                  [heap]
2ac42ee22000-2ac42ee3d000 r-xp 00000000 08:53 67134                      /lib64/ld-2.6.1.so
2ac42ee3d000-2ac42ee3f000 rw-p 2ac42ee3d000 00:00 0
2ac42ee3f000-2ac42ee40000 r--p 00000000 08:53 1156630                    /usr/lib64/locale/en_US.utf8/LC_IDENTIFICATION
2ac42ee40000-2ac42ee47000 r--s 00000000 08:53 1142885                    /usr/lib64/gconv/gconv-modules.cache
2ac42ee47000-2ac42ee48000 r--p 00000000 08:53 1156629                    /usr/lib64/locale/en_US.utf8/LC_MEASUREMENT
2ac42ee48000-2ac42ee49000 r--p 00000000 08:53 1156628                    /usr/lib64/locale/en_US.utf8/LC_TELEPHONE
2ac42ee49000-2ac42ee4a000 r--p 00000000 08:53 1156627                    /usr/lib64/locale/en_US.utf8/LC_ADDRESS
2ac42ee4a000-2ac42ee4b000 r--p 00000000 08:53 1156626                    /usr/lib64/locale/en_US.utf8/LC_NAME
2ac42ee4b000-2ac42ee4c000 r--p 00000000 08:53 1156625                    /usr/lib64/locale/en_US.utf8/LC_PAPER
2ac42ee4c000-2ac42ee4d000 r--p 00000000 08:53 1156624                    /usr/lib64/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
2ac42ee4d000-2ac42ee4e000 r--p 00000000 08:53 1156622                    /usr/lib64/locale/en_US.utf8/LC_MONETARY
2ac42ee5f000-2ac42ee65000 r-xp 00000000 08:53 1451642                    /usr/lib64/libsandbox.so.0.0.0
2ac42ee65000-2ac42ef64000 ---p 00006000 08:53 1451642                    /usr/lib64/libsandbox.so.0.0.0
2ac42ef64000-2ac42ef65000 rw-p 00005000 08:53 1451642                    /usr/lib64/libsandbox.so.0.0.0
2ac42ef65000-2ac42ef67000 rw-p 2ac42ef65000 00:00 0
2ac42f03c000-2ac42f03d000 r--p 0001a000 08:53 67134                      /lib64/ld-2.6.1.so
2ac42f03d000-2ac42f03e000 rw-p 0001b000 08:53 67134                      /lib64/ld-2.6.1.so
2ac42f03e000-2ac42f053000 r-xp 00000000 08:53 67130                      /lib64/libpthread-2.6.1.so
2ac42f053000-2ac42f253000 ---p 00015000 08:53 67130                      /lib64/libpthread-2.6.1.so
2ac42f253000-2ac42f254000 r--p 00015000 08:53 67130                      /lib64/libpthread-2.6.1.so
2ac42f254000-2ac42f255000 rw-p 00016000 08:53 67130                      /lib64/libpthread-2.6.1.so
2ac42f255000-2ac42f259000 rw-p 2ac42f255000 00:00 0
2ac42f259000-2ac42f26d000 r-xp 00000000 08:53 67110                      /lib64/libnsl-2.6.1.so
2ac42f26d000-2ac42f46c000 ---p 00014000 08:53 67110                      /lib64/libnsl-2.6.1.so
2ac42f46c000-2ac42f46d000 r--p 00013000 08:53 67110                      /lib64/libnsl-2.6.1.so
2ac42f46d000-2ac42f46e000 rw-p 00014000 08:53 67110                      /lib64/libnsl-2.6.1.so
2ac42f46e000-2ac42f471000 rw-p 2ac42f46e000 00:00 0
2ac42f471000-2ac42f473000 r-xp 00000000 08:53 67093                      /lib64/libdl-2.6.1.so
2ac42f473000-2ac42f673000 ---p 00002000 08:53 67093                      /lib64/libdl-2.6.1.so
2ac42f673000-2ac42f674000 r--p 00002000 08:53 67093                      /lib64/libdl-2.6.1.so
2ac42f674000-2ac42f675000 rw-p 00003000 08:53 67093                      /lib64/libdl-2.6.1.so
2ac42f675000-2ac42f6f5000 r-xp 00000000 08:53 66816                      /lib64/libm-2.6.1.so
2ac42f6f5000-2ac42f8f4000 ---p 00080000 08:53 66816                      /lib64/libm-2.6.1.so
2ac42f8f4000-2ac42f8f5000 r--p 0007f000 08:53 66816                      /lib64/libm-2.6.1.so
2ac42f8f5000-2ac42f8f6000 rw-p 00080000 08:53 66816                      /lib64/libm-2.6.1.so
2ac42f8f6000-2ac42f8fb000 r-xp 00000000 08:53 67246                      /lib64/libcrypt-2.6.1.so
2ac42f8fb000-2ac42fafa000 ---p 00005000 08:53 67246                      /lib64/libcrypt-2.6.1.so
2ac42fafa000-2ac42fafb000 r--p 00004000 08:53 67246                      /lib64/libcrypt-2.6.1.so
2ac42fafb000-2ac42fafc000 rw-p 00005000 08:53 67246                      /lib64/libcrypt-2.6.1.so
2ac42fafc000-2ac42fb2b000 rw-p 2ac42fafc000 00:00 0
2ac42fb2b000-2ac42fb2d000 r-xp 00000000 08:53 67111                      /lib64/libutil-2.6.1.so
2ac42fb2d000-2ac42fd2c000 ---p 00002000 08:53 67111                      /lib64/libutil-2.6.1.so
2ac42fd2c000-2ac42fd2d000 r--p 00001000 08:53 67111                      /lib64/libutil-2.6.1.so
2ac42fd2d000-2ac42fd2e000 rw-p 00002000 08:53 67111                      /lib64/
2ac42fd2e000-2ac42fe64000 r-xp 00000000 08:53 67276                      /lib64/
2ac42fe64000-2ac430063000 ---p 00136000 08:53 67276                      /lib64/
2ac430063000-2ac430067000 r--p 00135000 08:53 67276                      /lib64/
2ac430067000-2ac430068000 rw-p 00139000 08:53 67276                      /lib64/
2ac430068000-2ac43006f000 rw-p 2ac430068000 00:00 0
2ac43006f000-2ac43014f000 r--p 00000000 08:53 1156621               make: *** [e
Comment 3 Michael Hammer (RETIRED) gentoo-dev 2008-04-16 15:39:42 UTC
closing bug due to the long inactivity and the fact it's more or less an upstream problem. Haven't found any further occurrence except the described combination with Text::Markdown.

g, mueli