[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Crash when calling C from a finalizer
- From: Gaspard Bucher <gaspard@...>
- Date: Fri, 30 Dec 2011 10:38:33 +0100
On Thu, Dec 29, 2011 at 10:03 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> #0 0x00000001018637c0 in ?? ()
>> Cannot access memory at address 0x1018637c0
>> #1 0x000000010003005e in luaV_execute (L=0x1005013c0, nexeccalls=4)
>> at lvm.c:590
>
> It seems that Lua is calling a function in an invalid address, is that
> right?
>
> (What release are you using? I could not find any memory access or
> function call at lvm.c:590. Maybe you should compile with optimizations
> off?)
>
> -- Roberto
I am using Lua 5.1.4 without optimization. The backtrace doesn't
really make sense. This is where the error happens but it's a function
call:
switch (luaD_precall(L, ra, nresults)) {
Weird... I will inspect this into more details this weekend.
Thanks for the help this far..
Gaspard