[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Question about a crash
From:       Chris Jones <cmsj () tenshu ! net>
Date:       2018-04-17 21:53:48
Message-ID: CAHWFm4cOPqh1sd6VfQG7h3fQkk+o=G3O8EHhR5=wsNSn_+WHCA () mail ! gmail ! com
[Download RAW message or body]

Hey

I already have LUA_USE_APICHECK defined in the current release builds from
tracking down some other crash bugs in the last couple of weeks. This
luaD_precall crash seems to be the last one.

I'm considering patching Lua temporarily to check if f is NULL, and if so
kill the process in such a way that as well as a backtrace, I also get
something useful like the last Lua statement that was being evaluated, but
I'm not sure which API calls would be appropriate at that point in
luaD_precall().

Cheers,
Chris

On 17 April 2018 at 22:42, Luiz Henrique de Figueiredo <
lhf@tecgraf.puc-rio.br> wrote:

> If you can, rebuilt Lua with LUA_USE_APICHECK on. It may help locate
> the problem.
>
>


-- 
Cheers,

Chris

[Attachment #3 (text/html)]

<div dir="ltr">Hey<div><br></div><div>I already have LUA_USE_APICHECK defined in the \
current release builds from tracking down some other crash bugs in the last couple of \
weeks. This luaD_precall crash seems to be the last \
one.</div><div><br></div><div>I&#39;m considering patching Lua temporarily to check \
if f is NULL, and if so kill the process in such a way that as well as a backtrace, I \
also get something useful like the last Lua statement that was being evaluated, but \
I&#39;m not sure which API calls would be appropriate at that point in \
luaD_precall().</div><div><br></div><div>Cheers,</div><div>Chris</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On 17 April 2018 at 22:42, Luiz \
Henrique de Figueiredo <span dir="ltr">&lt;<a href="mailto:lhf@tecgraf.puc-rio.br" \
target="_blank">lhf@tecgraf.puc-rio.br</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">If you can, rebuilt Lua with LUA_USE_APICHECK on. It may help \
locate<br> the problem.<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr">Cheers,<div><br></div><div>Chris</div></div></div> </div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic