Re: lj_cf_ffi_string() -> lj_str_new() segfault

  • From: Mike Pall <mike-1309@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 4 Sep 2013 13:52:03 +0200

Cheyi Lin wrote:
> I got segfault recently and still can't figure out why.
> 
> #0  0x0000000000467c67 in lj_str_new ()
> #1  0x000000000047a802 in lj_cf_ffi_string ()

You called ffi.string() with a bad pointer or length. Probably a
NULL pointer.

--Mike

Other related posts: