Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 70719 invoked from network); 13 Apr 2007 22:24:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Apr 2007 22:24:52 -0000 Received: (qmail 70249 invoked by uid 500); 13 Apr 2007 22:24:58 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 70241 invoked by uid 500); 13 Apr 2007 22:24:58 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 70230 invoked by uid 99); 13 Apr 2007 22:24:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 15:24:58 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [66.111.4.28] (HELO out4.smtp.messagingengine.com) (66.111.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 15:24:50 -0700 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id A9D41217183 for ; Fri, 13 Apr 2007 18:24:30 -0400 (EDT) Received: from web1.messagingengine.com ([10.202.2.210]) by compute1.internal (MEProxy); Fri, 13 Apr 2007 18:24:30 -0400 Received: by web1.messagingengine.com (Postfix, from userid 99) id 4ADA91BF06; Fri, 13 Apr 2007 18:24:30 -0400 (EDT) Message-Id: <1176503070.25963.1184534641@webmail.messagingengine.com> X-Sasl-Enc: RsP6f/gUsA+dM1fa74vU5fZqosKMhQaqzx6nvmkol0lV 1176503070 From: mda@discerning.com To: embperl@perl.apache.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface References: <1176498307.18019.1184525629@webmail.messagingengine.com> Subject: Re: Warning in Perl code: Attempt to free unreferenced scalar In-Reply-To: <1176498307.18019.1184525629@webmail.messagingengine.com> Date: Fri, 13 Apr 2007 15:24:30 -0700 X-Virus-Checked: Checked by ClamAV on apache.org I figured it out by process of elimination. I was passing in an anonymous sub to an embperl sub and my sub did this: sub {shift->{a} . shift->{b}} when there was only one argument. So Embperl's only role here was in obfuscating the stack. -mda On Fri, 13 Apr 2007 14:05:07 -0700, "Mark D. Anderson" said: > I'm now getting errors on one of my pages that seem to be > from the internal C code. > How do I track this down? > > ERR: 24: Error in Perl code: Can't use an undefined value as a HASH > reference at > /group/uhurunews.com/public_html/admin/spear_extract_form.epl line 7. > ERR: 32: Warning in Perl code: Attempt to free unreferenced scalar: SV > 0x8862e40, Perl interpreter: 0x814e008 at > /group/uhurunews.com/public_html/admin/index.epl in block starting at > line 1. > > I'm running Embperl-2.2.0 > > -mda > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > For additional commands, e-mail: embperl-help@perl.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org