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: 75916
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



From zefram [...] fysh.org Tue Mar 20 11: 06:02 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-3.663 tagged_above=-99.9 required=10 tests=[AWL=-1.763, BAYES_00=-1.9] autolearn=ham
Content-Disposition: inline
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <20120320150547.GE3007 [...] lake.fysh.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -3.663
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 54EF92402D3 for <cpan-bug+Devel-NYTProf [...] hipster.bestpractical.com>; Tue, 20 Mar 2012 11:06:02 -0400 (EDT)
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 P38rbNanAe8k for <cpan-bug+Devel-NYTProf [...] hipster.bestpractical.com>; Tue, 20 Mar 2012 11:06:01 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 90125240030 for <bug-Devel-NYTProf [...] rt.cpan.org>; Tue, 20 Mar 2012 11:06:00 -0400 (EDT)
Received: (qmail 10049 invoked by uid 103); 20 Mar 2012 15:06:00 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 20 Mar 2012 15:06:00 -0000
Received: from lake.fysh.org (HELO lake.fysh.org) (81.94.195.195) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Tue, 20 Mar 2012 08:05:57 -0700
Received: from zefram by lake.fysh.org with local (Exim 4.72 #1 (Debian)) id 1SA0d9-00028x-MC; Tue, 20 Mar 2012 15:05:47 +0000
Delivered-To: cpan-bug+Devel-NYTProf [...] hipster.bestpractical.com
Subject: uninit $srclines_array when merged
Return-Path: <zefram [...] fysh.org>
X-RT-Mail-Extension: devel-nytprof
X-Original-To: cpan-bug+Devel-NYTProf [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Date: Tue, 20 Mar 2012 15:05:47 +0000
X-Spam-Level:
To: bug-Devel-NYTProf [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
X-RT-Original-Encoding: us-ascii
Content-Length: 775
Download (untitled) / with headers
text/plain 775b
After merging a small group of nytprof.out files using nytprofmerge, reading the merged file using Devel::NYTProf::Data generates many warnings that I didn't get from any of the individual files: $ perl -MDevel::NYTProf::Data -lwe '$|=1; Devel::NYTProf::Data->new({filename=>"nytprof-t6.out"})' 2>&1 | uniq -c 1 Reading nytprof-t6.out 1 1 Processing nytprof-t6.out data 1 6300 Use of uninitialized value $srclines_array in join or string at /opt/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux-ld/Devel/NYTProf/FileInfo.pm line 491. Looking at the code, I believe the warning is incorrectly identifying the uninitialised value; it must be elements of @$srclines_array, not $srclines_array itself, that are undef. -zefram
MIME-Version: 1.0
In-Reply-To: <20120320150547.GE3007 [...] lake.fysh.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <20120320150547.GE3007 [...] lake.fysh.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-18293-1356540602-1716.75916-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 36
I'd appreciate a test case for this.
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-25362-1424612258-348.75916-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.