CC: | bug-Devel-DProf [...] rt.cpan.org, perl5-porters [...] perl.org |
Subject: | [perl #40170] unable to use DProf with threads |
Date: | Sun, 04 Dec 2011 10:53:20 -0800 |
To: | "OtherRecipients of perl Ticket #40170":; |
From: | "Father Chrysostomos via RT" <perlbug-followup [...] perl.org> |
Forwarding to the CPAN queue....
On Wed Aug 16 23:13:35 2006, jgeisler@css.taylor.edu wrote:
Show quoted text
>
> This is a bug report for perl from jgeisler@css.taylor.edu,
> generated with the help of perlbug 1.35 running under perl v5.8.8.
>
>
> -----------------------------------------------------------------
> [Please enter your report here]
>
> I am unable to run DProf with a multithreaded application to do
> profiling on it for performance reasons. The error I get is:
>
> [282] jgeisler:~/CPC/Parser % perl -d:DProf ./parser.pl -tp -T2
> panic: Devel::DProf inconsistent subroutine return at
> /usr/lib/perl5/5.8.8/i686-linux-thread-multi/threads/shared.pm line
> 18.
> BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/i686-
> linux-thread-multi/threads/shared.pm line 35.
> Compilation failed in require at ./parser.pl line 106.
> BEGIN failed--compilation aborted at ./parser.pl line 106.
> [283] jgeisler:~/CPC/Parser %
>
> [Please do not change anything below this line]
> -----------------------------------------------------------------
> ---
> Flags:
> category=core
> severity=low
> ---
> Site configuration information for perl v5.8.8:
>
> Configured by Gentoo at Mon Aug 14 16:35:52 EDT 2006.
>
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
> Platform:
> osname=linux, osvers=2.6.17-gentoo-r4, archname=i686-linux-thread-
> multi
> uname='linux jgeisler 2.6.17-gentoo-r4 #1 smp preempt thu jul 27
> 11:40:28 edt 2006 i686 genuine intel(r) cpu t2500 @ 2.00ghz
> gnulinux '
> config_args='-des -Darchname=i686-linux-thread -Dcccdlflags=-fPIC
> -Dccdlflags=-rdynamic -Dcc=i686-pc-linux-gnu-gcc -Dprefix=/usr
> -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=
> -Doptimize=-march=prescott -O2 -pipe -fomit-frame-pointer
> -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-thread-multi 5.8.2
> 5.8.2/i686-linux-thread-multi 5.8.4 5.8.4/i686-linux-thread-multi
> 5.8.5 5.8.5/i686-linux-thread-multi 5.8.6 5.8.6/i686-linux-thread-
> multi 5.8.7 5.8.7/i686-linux-thread-multi -Dcf_by=Gentoo -Ud_csh
> -Dusenm -Dusethreads -Di_ndbm -Di_gdbm -Di_db'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=define use5005threads=undef useithreads=define
> usemultiplicity=define
> 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 ='-D_REENTRANT -D_GNU_SOURCE
> -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64',
> optimize='-march=prescott -O2 -pipe -fomit-frame-pointer',
> cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement'
> ccversion='', gccversion='3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0,
> pie-8.7.9)', 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 -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil
> -lc
> perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
> libc=/lib/libc-2.3.6.so, so=so, useshrplib=false,
> libperl=libperl.a
> gnulibc_version='2.3.6'
> 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-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8
> /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/5.8.8/i686-linux-thread-multi
> /usr/lib/perl5/5.8.8
> /usr/local/lib/site_perl
> .
>
> ---
> Environment for perl v5.8.8:
> HOME=/home/jgeisler
> LANG (unset)
> LANGUAGE (unset)
> LD_LIBRARY_PATH (unset)
> LOGDIR (unset)
>
PATH=/home/jgeisler/bin:/home/jgeisler/scripts:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-
Show quoted text> pc-linux-gnu/gcc-
> bin/3.4.6:/opt/ati/bin:/usr/kde/3.5/bin:/usr/qt/3/bin
> PERL_BADLANG (unset)
> SHELL=/bin/tcsh
--
Father Chrysostomos