Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 65200
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: mmusgrove [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.06
Fixed in: (no value)



Subject: Devel::NYTProf::Apache with trace > 0
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1296169066-17551-588"
Content-Length: 0
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 804
Download (untitled) / with headers
text/plain 804b
I wanted to profile an application suite running Apache 2 with mod_perl2 so I enabled Devel::NYTProf::Apache in my httpd.conf. PerlSetEnv NYTPROF trace=2:file=/tmp/mm-nytprof.out PerlModule Devel::NYTProf::Apache I was seeing issues where "NYTProf is confused about CV" multiple times for each thing that I did in my app. If I try to convert the out files to html, it is very clear that something bad happened. (The top 15 subroutines doesn't get populated, the subroutine exclusive time treemap is empty, etc.) I bumped it up to trace=4 and captured one instance of it occurring (attached as trace4.txt). I'm not sure what other information you need from me to assist you. I have verified that when trace=0, the problem does not happen and the resulting html output is as pretty as usual.
Subject: trace4.txt
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; name="trace4.txt"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline; filename="trace4.txt"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: ascii
Content-Length: 2603
Download trace4.txt
text/plain 2.5k
4 >> entersub at 43:207 from ModPerl::RegistryCooker::run (inherited) (seix 1640->2440, ac0) 4 -> sub ModPerl::RegistryCooker::error_check from ModPerl::RegistryCooker::run @43:207 (d1, oh 1311430.000000t, sub 1.088200s) #29687 4 >> entersub at 43:213 from ModPerl::RegistryCooker::run (inherited) (seix 1640->2688, ac0) 4 ->xsub ModPerl::Global::special_list_call from ModPerl::RegistryCooker::run @43:213 (d1, oh 1311510.000000t, sub 1.088212s) #29688 4 >> entersub at 43:216 from ModPerl::RegistryCooker::run (inherited) (seix 1640->2888, ac0) 4 -> sub ModPerl::RegistryCooker::error_check from ModPerl::RegistryCooker::run @43:216 (d1, oh 1311530.000000t, sub 1.088226s) #29689 4 >> entersub at 43:225 from ModPerl::RegistryCooker::run (inherited) (seix 1640->2416, ac0) NYTProf is confused about CV 0x2ab2388a0568 called as /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm at /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 225 (please report as a bug) SV = PVCV(0x2ab2388a3e00) at 0x2ab2388a0568 REFCNT = 2 FLAGS = (POK,pPOK,CONST) PROTOTYPE = "" COMP_STASH = 0x2ab2387e8b98 "ModPerl::RegistryCooker" XSUB = 0x2ab21f4455b0 XSUBANY = 0x2ab238875a38 (CONST SV) SV = IV(0x2ab238875a30) at 0x2ab238875a38 REFCNT = 2 FLAGS = (PADMY,IOK,READONLY,pIOK) IV = 0 GVGV::GV = 0x2ab238875c48 "^B" FILE = "/opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm" DEPTH = 0 FLAGS = 0xc00 OUTSIDE_SEQ = 0 PADLIST = 0x0 OUTSIDE = 0x0 (null) unknown entersub xsub assumed to be anon called_cv '/opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm' 4 ->xsub ModPerl::RegistryCooker::__UNKNOWN__[xsub,0x2ab2388a0568] from ModPerl::RegistryCooker::run @43:225 (d1, oh 1311600.000000t, sub 1.088239s) #29690 4 >> entersub at 43:237 from ModPerl::RegistryCooker::run (inherited) (seix 1640->2616, ac0) 4 ->xsub ModPerl::RegistryCooker::NOP from ModPerl::RegistryCooker::run @43:237 (d1, oh 1311610.000000t, sub 1.088318s) #29691 4 >> entersub at 43:239 from ModPerl::RegistryCooker::run (inherited) (seix 1640->2816, ac0) 4 ->xsub ModPerl::RegistryCooker::NOP from ModPerl::RegistryCooker::run @43:239 (d1, oh 1311620.000000t, sub 1.088326s) #29692 3 >> entersub at 43:171 from ModPerl::RegistryCooker::default_handler (inherited) (seix 728->1856, ac0) 3 ->xsub Apache2::RequestRec::status from ModPerl::RegistryCooker::default_handler @43:171 (d1, oh 1311660.000000t, sub 1.088405s) #29693
From Tim.Bunce [...] pobox.com Fri Jan 28 04: 38:09 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-5.763 tagged_above=-99.9 required=10 tests=[AWL=0.458, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-17551-1296169066-48.65200-4-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
References: <RT-Ticket-65200 [...] rt.cpan.org> <rt-3.8.HEAD-17551-1296169066-48.65200-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20110128093757.GD719 [...] timac.local>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.763
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=Tim.Bunce [...] pobox.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2CF602414B7 for <cpan-bug+devel-nytprof [...] hipster.bestpractical.com>; Fri, 28 Jan 2011 04:38:09 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dcv+TrgC07yF for <cpan-bug+devel-nytprof [...] hipster.bestpractical.com>; Fri, 28 Jan 2011 04:38:07 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id E44702414AB for <bug-devel-nytprof [...] rt.cpan.org>; Fri, 28 Jan 2011 04:38:06 -0500 (EST)
Received: (qmail 12489 invoked by uid 103); 28 Jan 2011 09:38:06 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 28 Jan 2011 09:38:06 -0000
Received: from b-pb-sasl-quonix.pobox.com (HELO sasl.smtp.pobox.com) (208.72.237.35) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Fri, 28 Jan 2011 01:38:03 -0800
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 833C811FD for <bug-devel-nytprof [...] rt.cpan.org>; Fri, 28 Jan 2011 04:38:00 -0500 (EST)
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 7B50D11FC for <bug-devel-nytprof [...] rt.cpan.org>; Fri, 28 Jan 2011 04:38:00 -0500 (EST)
Received: from timac.local (unknown [86.47.232.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id CA4BF11FA for <bug-devel-nytprof [...] rt.cpan.org>; Fri, 28 Jan 2011 04:37:59 -0500 (EST)
Delivered-To: cpan-bug+devel-nytprof [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #65200] Devel::NYTProf::Apache with trace > 0
User-Agent: Mutt/1.5.20 (2009-06-14)
Domainkey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=yA1t4LVDdBmnnZVIpdf8wU5F+FXS5NVPI SyqJDtzWaDXKTYUYJJfKQJsSFm7sEotwtpx3JaTZ6wLjuaS6XhvFSQfecb33wo9P iTIGjqYUVAjOJ/dNT2PdJ836HpdBTkyvs+8iRHcpPNaCDzP+itQt/JnBrk3YjOm6 zzlzxeRGC8=
Return-Path: <Tim.Bunce [...] pobox.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=TIshaNPo0Efpzp3Ar9N2rfG3Wzo=; b=MYgyI+O ZCmbgL/jEOfa8olIGTN0V11xs8rmdSGJHxSbHGZ8/yLHWEI3v4CBenlHI4EjSlgb P/A3Sdsd6cTa6/1hn14kVsP26DJpfSGApcvZ47Q5nAk2HQ4YmhTuOPvOVhFdIcEb Ty7akIczO7eEyXfjbif+YUQhuOGMcJZnTF/I=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+devel-nytprof [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-nytprof
Date: Fri, 28 Jan 2011 09:37:57 +0000
X-Spam-Level:
To: Matthew Musgrove via RT <bug-devel-nytprof [...] rt.cpan.org>
X-Pobox-Relay-ID: 4BCA8E32-2AC2-11E0-9BE3-D3BDF791CF9A-13888548!b-pb-sasl-quonix.pobox.com
From: Tim Bunce <Tim.Bunce [...] pobox.com>
RT-Message-ID: <rt-3.8.HEAD-17549-1296207489-1126.65200-0-0 [...] rt.cpan.org>
Content-Length: 1120
On Thu, Jan 27, 2011 at 05:57:46PM -0500, Matthew Musgrove via RT wrote: Show quoted text
> NYTProf is confused about CV 0x2ab2388a0568 called as /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm at /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 225 (please report as a bug)
Thanks for the report. Please try this change just to give me more infomation: --- NYTProf.xs (revision 1407) +++ NYTProf.xs (working copy) @@ -2639,8 +2639,10 @@ logwarn("NYTProf is confused about CV %p called as %s at %s line %d (please report as a bug)\n", (void*)called_cv, SvPV_nolen(sub_sv), OutCopFILE(prev_cop), (int)CopLINE(prev_cop)); /* looks like Class::MOP doesn't give the CV GV stash a name */ - if (trace_level >= 2) + if (trace_level >= 2) { sv_dump((SV*)called_cv); /* coredumps in Perl_do_gvgv_dump, looks line GvXPVGV is false, presumably on a Class::MOP wierdo sub */ + sv_dump((SV*)gv); + } } } Tim.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-19315-1296230910-1495.65200-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1078
Thanks Tim. Here's the latest dump from running at trace=2. NYTProf is confused about CV 0x2b41eac6afb8 called as /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm at /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 225 (please report as a bug) SV = PVCV(0x2b41eac6fa40) at 0x2b41eac6afb8 REFCNT = 2 FLAGS = (POK,pPOK,CONST) PROTOTYPE = "" COMP_STASH = 0x2b41eabb46f8 "ModPerl::RegistryCooker" XSUB = 0x2b41dc1665b0 XSUBANY = 0x2b41eac41308 (CONST SV) SV = IV(0x2b41eac41300) at 0x2b41eac41308 REFCNT = 2 FLAGS = (PADMY,IOK,READONLY,pIOK) IV = 0 GVGV::GV = 0x2b41eac41518 "" FILE = "/opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm" DEPTH = 0 FLAGS = 0xc00 OUTSIDE_SEQ = 0 PADLIST = 0x0 OUTSIDE = 0x0 (null) SV = IV(0x2b41eac41510) at 0x2b41eac41518 REFCNT = 1 FLAGS = (ROK) RV = 0x2b41eac41308 SV = IV(0x2b41eac41300) at 0x2b41eac41308 REFCNT = 2 FLAGS = (PADMY,IOK,READONLY,pIOK) IV = 0
From Tim.Bunce [...] pobox.com Tue Feb 1 10: 55:35 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-5.774 tagged_above=-99.9 required=10 tests=[AWL=0.447, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-19315-1296230910-555.65200-5-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
References: <RT-Ticket-65200 [...] rt.cpan.org> <rt-3.8.HEAD-19315-1296230910-555.65200-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20110201132515.GM719 [...] timac.local>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.774
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=Tim.Bunce [...] pobox.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 032EE2414EF for <cpan-bug+devel-nytprof [...] hipster.bestpractical.com>; Tue, 1 Feb 2011 10:55:35 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXU5J-JjoKg4 for <cpan-bug+devel-nytprof [...] hipster.bestpractical.com>; Tue, 1 Feb 2011 10:55:33 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A35D72414F1 for <bug-devel-nytprof [...] rt.cpan.org>; Tue, 1 Feb 2011 10:55:32 -0500 (EST)
Received: (qmail 17909 invoked by uid 103); 1 Feb 2011 15:55:32 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 1 Feb 2011 15:55:32 -0000
Received: from b-pb-sasl-quonix.pobox.com (HELO sasl.smtp.pobox.com) (208.72.237.35) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Tue, 01 Feb 2011 07:55:29 -0800
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 4DD782B1F for <bug-devel-nytprof [...] rt.cpan.org>; Tue, 1 Feb 2011 08:25:16 -0500 (EST)
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 49FF12B1E for <bug-devel-nytprof [...] rt.cpan.org>; Tue, 1 Feb 2011 08:25:16 -0500 (EST)
Received: from timac.local (unknown [86.47.232.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 9EDD12B1D for <bug-devel-nytprof [...] rt.cpan.org>; Tue, 1 Feb 2011 08:25:15 -0500 (EST)
Delivered-To: cpan-bug+devel-nytprof [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #65200] Devel::NYTProf::Apache with trace > 0
User-Agent: Mutt/1.5.20 (2009-06-14)
Domainkey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=ZhtrlBSnHqyoR6r8yd5+FknrAEHqm/dTH pQO8RtDhUP/cn12RC82ftScztAyNhau5wzzmHiGtsizaEgw8Ai91gVopfnvnZtfL C/5uUjbVOfEm7YB8RCSwWMw2ijpBpWndLMxN4ZaPCnv++wA759+TSxfXbs5k8Qgu oM/ktWb5uM=
Return-Path: <Tim.Bunce [...] pobox.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=Vsz13+5ik6DeYhJ5S/RLJxkIt5M=; b=V1Egmtz tbqx0Kf2jnk2UARMXd6MmJKKrTA4QgyLbaAijXVzQtV+zvE4hJBUbKNjvas+sYdc NAJhFHOmnPfbwe4c0ZD2H2zTn59QcUDzCuK+em5kKQ1bfmghVNae+LuWSUKq1/bW r2O2PtUmUDYjVxYLNwhibkyLtzt9l0ehY9J4=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+devel-nytprof [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-nytprof
Date: Tue, 1 Feb 2011 13:25:15 +0000
X-Spam-Level:
To: Matthew Musgrove via RT <bug-devel-nytprof [...] rt.cpan.org>
X-Pobox-Relay-ID: B503674C-2E06-11E0-8945-CB67DEC31506-13888548!b-pb-sasl-quonix.pobox.com
From: Tim Bunce <Tim.Bunce [...] pobox.com>
RT-Message-ID: <rt-3.8.HEAD-17549-1296575735-232.65200-0-0 [...] rt.cpan.org>
Content-Length: 576
Download (untitled) / with headers
text/plain 576b
On Fri, Jan 28, 2011 at 11:08:31AM -0500, Matthew Musgrove via RT wrote: Show quoted text
> Queue: devel-nytprof > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65200 > > > Thanks Tim. Here's the latest dump from running at trace=2. > > SV = IV(0x2b41eac41510) at 0x2b41eac41518 > REFCNT = 1 > FLAGS = (ROK) > RV = 0x2b41eac41308 > SV = IV(0x2b41eac41300) at 0x2b41eac41308 > REFCNT = 2 > FLAGS = (PADMY,IOK,READONLY,pIOK) > IV = 0
Great. Now after the sv_dump((SV*)gv); add sv_dump((SV*)SvRV(gv)); and re-run. Thanks. Tim.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-17549-1296575735-232.65200-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-65200 [...] rt.cpan.org> <rt-3.8.HEAD-19315-1296230910-555.65200-5-0 [...] rt.cpan.org> <20110201132515.GM719 [...] timac.local> <rt-3.8.HEAD-17549-1296575735-232.65200-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-19313-1296576873-818.65200-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1117
NYTProf is confused about CV 0x2b397579fdd0 called as /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm at /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 225 (please report as a bug) SV = PVCV(0x2b39757a4690) at 0x2b397579fdd0 REFCNT = 2 FLAGS = (POK,pPOK,CONST) PROTOTYPE = "" COMP_STASH = 0x2b39756e95a0 "ModPerl::RegistryCooker" XSUB = 0x2b39674715b0 XSUBANY = 0x2b3975776280 (CONST SV) SV = IV(0x2b3975776278) at 0x2b3975776280 REFCNT = 2 FLAGS = (PADMY,IOK,READONLY,pIOK) IV = 0 GVGV::GV = 0x2b3975776490 "" FILE = "/opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm" DEPTH = 0 FLAGS = 0xc00 OUTSIDE_SEQ = 0 PADLIST = 0x0 OUTSIDE = 0x0 (null) SV = IV(0x2b3975776488) at 0x2b3975776490 REFCNT = 1 FLAGS = (ROK) RV = 0x2b3975776280 SV = IV(0x2b3975776278) at 0x2b3975776280 REFCNT = 2 FLAGS = (PADMY,IOK,READONLY,pIOK) IV = 0 SV = IV(0x2b3975776278) at 0x2b3975776280 REFCNT = 2 FLAGS = (PADMY,IOK,READONLY,pIOK) IV = 0
From Tim.Bunce [...] pobox.com Tue Feb 1 16: 46:21 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-5.785 tagged_above=-99.9 required=10 tests=[AWL=0.436, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-17551-1296169066-48.65200-4-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
References: <RT-Ticket-65200 [...] rt.cpan.org> <rt-3.8.HEAD-17551-1296169066-48.65200-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20110201214609.GU719 [...] timac.local>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.785
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=Tim.Bunce [...] pobox.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 0907E2414EE for <cpan-bug+devel-nytprof [...] hipster.bestpractical.com>; Tue, 1 Feb 2011 16:46:21 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3IgV8Cet-pHj for <cpan-bug+devel-nytprof [...] hipster.bestpractical.com>; Tue, 1 Feb 2011 16:46:18 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id F3B1C241438 for <bug-devel-nytprof [...] rt.cpan.org>; Tue, 1 Feb 2011 16:46:17 -0500 (EST)
Received: (qmail 29300 invoked by uid 103); 1 Feb 2011 21:46:17 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 1 Feb 2011 21:46:17 -0000
Received: from b-pb-sasl-quonix.pobox.com (HELO sasl.smtp.pobox.com) (208.72.237.35) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Tue, 01 Feb 2011 13:46:16 -0800
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 337D52DF8 for <bug-devel-nytprof [...] rt.cpan.org>; Tue, 1 Feb 2011 16:46:13 -0500 (EST)
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 2F53A2DF6 for <bug-devel-nytprof [...] rt.cpan.org>; Tue, 1 Feb 2011 16:46:13 -0500 (EST)
Received: from timac.local (unknown [86.47.232.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 02A812DF3 for <bug-devel-nytprof [...] rt.cpan.org>; Tue, 1 Feb 2011 16:46:11 -0500 (EST)
Delivered-To: cpan-bug+devel-nytprof [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #65200] Devel::NYTProf::Apache with trace > 0
User-Agent: Mutt/1.5.20 (2009-06-14)
Domainkey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=x2aSXhJ70cIhS5hsG7miVALZpSZZIO5bm JgfhQuD4FhmIC+B08rx2jj04UaEAml+Wh3wu1bS2bdA2Nc3H/F3XyTpb0q65OUJA 40TI9bfIXuLEXl53CiXWCsA4GvZKLEbmioqObs/fwgqUt1uv9oDcbtOrsxs0xMDU l7fuX3MkcU=
Return-Path: <Tim.Bunce [...] pobox.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=UVq91Znfn3znN+JyzmvEcmVs3gU=; b=lHfy7kg 7bd8bNrJIckEE1us7g1+IcwUUPyOyaF6NuOEak/g8uzm3REhSUKI/bEVuc+bdoll SQhkM9MgabJHqRy8555CNlXfqrO6XkeR9bCBzBaEWZupqPVeOLQjZwR3NWNl05p3 /rpVtk1stj4t1cGl/RWwd6vmosvYeDABFWcU=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+devel-nytprof [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-nytprof
Date: Tue, 1 Feb 2011 21:46:09 +0000
X-Spam-Level:
To: Matthew Musgrove via RT <bug-devel-nytprof [...] rt.cpan.org>
X-Pobox-Relay-ID: B05135DA-2E4C-11E0-9137-CB67DEC31506-13888548!b-pb-sasl-quonix.pobox.com
From: Tim Bunce <Tim.Bunce [...] pobox.com>
RT-Message-ID: <rt-3.8.HEAD-19315-1296596781-560.65200-0-0 [...] rt.cpan.org>
Content-Length: 391
Download (untitled) / with headers
text/plain 391b
Hi Matthew. Show quoted text
> NYTProf is confused about CV 0x2ab2388a0568 called as /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm at /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 225 (please report as a bug)
Please hack RegistryCooker.pm to log the class of the object that should_reset_inc_hash() is called on. Thanks. Tim.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-19315-1296596781-560.65200-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-65200 [...] rt.cpan.org> <rt-3.8.HEAD-17551-1296169066-48.65200-4-0 [...] rt.cpan.org> <20110201214609.GU719 [...] timac.local> <rt-3.8.HEAD-19315-1296596781-560.65200-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-17549-1296599334-1398.65200-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1626
Download (untitled) / with headers
text/plain 1.5k
Howdy Tim, I've never peered inside ModPerl::RegistryCooker before. I used $self->log_error("should_reset_inc_hash $package"). I hope that was what you were asking for. [Tue Feb 01 22:23:44 2011] [error] should_reset_inc_hash ModPerl::ROOT::ModPerl::Registry::view_mm_2dnms_vobs_NMS_nms_www_cgi_2dbin_security_login_2ecgi Marking 'Apache2::RequestRec::log_error' as xsub Marking 'Apache2::RequestRec::notes' as xsub Marking 'APR::Table::set' as xsub NYTProf is confused about CV 0x2b7915c79368 called as /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm at /opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 226 (please report as a bug) SV = PVCV(0x2b7915c7ddf0) at 0x2b7915c79368 REFCNT = 2 FLAGS = (POK,pPOK,CONST) PROTOTYPE = "" COMP_STASH = 0x2b7915bc2850 "ModPerl::RegistryCooker" XSUB = 0x2b791bfc25b0 XSUBANY = 0x2b7915c4f810 (CONST SV) SV = IV(0x2b7915c4f808) at 0x2b7915c4f810 REFCNT = 2 FLAGS = (PADMY,IOK,READONLY,pIOK) IV = 0 GVGV::GV = 0x2b7915c4fa20 "" FILE = "/opt/perl/lib/site_perl/5.12.3/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm" DEPTH = 0 FLAGS = 0xc00 OUTSIDE_SEQ = 0 PADLIST = 0x0 OUTSIDE = 0x0 (null) SV = IV(0x2b7915c4fa18) at 0x2b7915c4fa20 REFCNT = 1 FLAGS = (ROK) RV = 0x2b7915c4f810 SV = IV(0x2b7915c4f808) at 0x2b7915c4f810 REFCNT = 2 FLAGS = (PADMY,IOK,READONLY,pIOK) IV = 0 It looks like my login script is the package in question. I hope that I haven't missed anything in my conversion from CGI to mod_perl to waste your time.
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-25361-1424612105-1458.65200-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 80


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.