Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

1 view
Skip to first unread message

François Perrad

unread,
Oct 28, 2009, 3:42:05 AM10/28/09
to parrotbug...@parrotcode.org
2009/10/28 Will Coleda via RT <parrotbug...@parrotcode.org>:
> On Wed Oct 29 10:30:54 2008, all...@perl.org wrote:
>> -------- Original Message --------
>> Subject: Re: Segfault in Lua exception handler
>> Date: Sat, 11 Oct 2008 23:49:09 +0200
>> From: François Perrad <francoi...@gadz.org>
>>
>> 2008/10/8 François Perrad <francoi...@gadz.org>:
>> >
>> > 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 called.
>> >
>> > The following commands reproduce the problem :
>> >
>> >    $ cat add.lua
>> >        print(true + 42)  --> attempt to perform arithmetic on a boolean
>> >    $ parrot lua.pbc add.lua
>> >
>> > or
>> >    $ parrot luap.pir --target=pir add.lua > add.pir
>> >    $ parrot add.pir
>> >
>>
>> Since hllmagic merge (r31862), the Lua compiler using PCT is broken.
>> So, use the old compiler (Perl/yapp based).
>>
>>      $ cat add.lua
>>          print(true + 42)  --> attempt to perform arithmetic on a boolean
>>      $ perl luac.pl add.lua
>>      $ parrot add.pir
>>
>> François.
>
> François -
>
> Is this still segfaulting for you?
No.
See TT #472.

François

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

0 new messages