Re: luajit occasionally crashes

  • From: Mike Pall <mike-1308@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 16 Aug 2013 09:42:25 +0200

cx0cx2001 wrote:
> Is there methods that I can locate the lua function and line cause crash from 
> core dumps ?

Use 'frame X' in GDB to go to the highest frame from the backtrace
that has a 'J' argument. Then do:

p (char *)J->pt->chunkname.gcptr32 + 16
p J->pt->firstline 

--Mike

Other related posts: