develooper Front page | perl.perl5.porters | Postings from October 2003

[bug-perl@rt.cpan.org: [cpan #4225] warn/die inside Safe]

From:
Jarkko Hietaniemi
Date:
October 28, 2003 10:27
Subject:
[bug-perl@rt.cpan.org: [cpan #4225] warn/die inside Safe]
Message ID:
20031028182724.GA21553@vipunen.hut.fi
----- Forwarded message from Guest via RT <bug-perl@rt.cpan.org> -----

Subject: [cpan #4225] warn/die inside Safe 
From: "Guest via RT" <bug-perl@rt.cpan.org>
Date: Tue, 28 Oct 2003 12:51:18 -0500 (EST)
Message-ID: <rt-4225-12285.17.1337949621372@cpan.org>
To: "AdminCc of cpan Ticket #4225": ;
Reply-To: bug-perl@rt.cpan.org
In-Reply-To: <rt-4225@cpan>
RT-Ticket: cpan #4225
Managed-by: RT 2.0.15 (http://bestpractical.com/rt/)
RT-Originator: 


This message about perl was sent to you by guest <> via rt.cpan.org

Full context and any attached attachments can be found at:
<URL: https://rt.cpan.org/Ticket/Display.html?id=4225 >

Attached to this report is a script that causes the following error when
run on my server (Debian Linux [Woody], Perl 5.6.1 with Safe v2.09):

 Can't locate object method "splitpath" via package "File::Spec"
(perhaps you forgot to load "File::Spec"?) at
/usr/share/perl/5.6.1/CGI/Carp.pm line 317.

I have tried debugging the script but receive seg faults within the reval function. I submitted a bug report to Lincoln Stein who maintains the CGI::Carp module. However, the problem is not specifically within CGI::Carp but is rather how modules being used in a Safe compartment are interacting.

As best I can tell, I think there is an issue with the implementation of exception handling in Perl and Safe.

----- End forwarded message -----

-- 
Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About