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

Re: [perl #24347] segfault with Safe

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
November 2, 2003 14:33
Subject:
Re: [perl #24347] segfault with Safe
Message ID:
20031102223328.GA742@math.berkeley.edu
On Sun, Nov 02, 2003 at 01:05:45PM -0000, Andreas Koenig wrote:
> >>>>> On 29 Oct 2003 03:50:10 -0000, Ilya Zakharevich (via RT) <perlbug-followup@perl.org> said:
> 
>   > The following file still segfaults (5.6.1 as well as 5.8.1).  It works
>   > fine with 5.005_53.
> 
> Blame analysis says that was introduced with 
> 
> Change 8390 by jhi@alpha on 2001/01/10 18:42:08
> 
>         Subject:  [PATCH perl@8269] Opcode.XS, fix memory leak
>         From: lane@DUPHY4.Physics.Drexel.Edu (Charles Lane)
>         Date:     Wed, 10 Jan 2001 13:23:02 EST
>         Message-Id: <010110132245.8129a@DUPHY4.Physics.Drexel.Edu>

Now I could remember *what* exactly I wanted to do (for details, google for
"How to use modules inside a safe compartment?").

Currently, when an imported subroutine is called from a compartment,
it has its %main:: substituted by a dummy hash; thus autoloading and
loading modules on the fly (when needed) does not work well.  I want
to import a subroutine which continues to operate on its native %main;:.

Hope this helps,
Ilya

Thread Previous | Thread Next


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