Re: [svn:PHP-Sandwich] rev 1328 - PHP-Sandwich/trunk/t

[email protected] (George Schlossnagle) Tue, 28 Jun 2005 21:43:00 -0400
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
On Jun 28, 2005, at 9:38 PM, David Wheeler wrote:

> On Jun 28, 2005, at 18:12 , [email protected] wrote:
>
>
>> this segfaults, but shouldnt
>>
>
> Hrm, seems straight-forward. Is it because of the two  
> PHP::Interpreter objects in memory at once, or something else?

No, it has something to do with a subroutine defined in XS croaking  
when called via AUTOLOAD.  I think it's repeatable outside the  
sandwich as well.  I've been struggling back and forth with it for a  
week.  If you replace the call to the non-existent function with call 
('strln', $args), it works correctly (i.e. it croaks).

George