Re: [perl #60206] [BUG] [MMD] Segfault in Lua exception handler

[email protected] (François Perrad) Wed, 28 Oct 2009 08:42:05 +0100
Newsgroups perl.perl6.internals
Message-ID <[email protected]>
2009/10/28 Will Coleda via RT <[email protected]>:
> On Wed Oct 29 10:30:54 2008, [email protected] wrote:
>> -------- Original Message --------
>> Subject: Re: Segfault in Lua exception handler
>> Date: Sat, 11 Oct 2008 23:49:09 +0200
>> From: Fran=E7ois Perrad <[email protected]>
>>
>> 2008/10/8 Fran=E7ois Perrad <[email protected]>:
>> >
>> > I try to restore the Lua behavior after ppd27mmd merge.
>> >
>> > Lua crashes with segmentation fault when the Lua exception handler is
>> > called (see subroutine 'docall' in languages/lua/src/lib/luaaux.pir),
>> > when function NCI 'traceback' in languages/lua/src/pmc/lua.pmc is call=
ed.
>> >
>> > The following commands reproduce the problem :
>> >
>> > =A0 =A0$ cat add.lua
>> > =A0 =A0 =A0 =A0print(true + 42) =A0--> attempt to perform arithmetic o=
n a boolean
>> > =A0 =A0$ parrot lua.pbc add.lua
>> >
>> > or
>> > =A0 =A0$ parrot luap.pir --target=3Dpir add.lua > add.pir
>> > =A0 =A0$ parrot add.pir
>> >
>>
>> Since hllmagic merge (r31862), the Lua compiler using PCT is broken.
>> So, use the old compiler (Perl/yapp based).
>>
>> =A0 =A0 =A0$ cat add.lua
>> =A0 =A0 =A0 =A0 =A0print(true + 42) =A0--> attempt to perform arithmetic=
 on a boolean
>> =A0 =A0 =A0$ perl luac.pl add.lua
>> =A0 =A0 =A0$ parrot add.pir
>>
>> Fran=E7ois.
>
> Fran=E7ois -
>
> Is this still segfaulting for you?
No.
See TT #472.

Fran=E7ois

>
> --
> Will "Coke" Coleda
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>