Need help with debug.

  • From: "Andriy Grytsenko" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "andriy.grytsenko" for DMARC)
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 22 May 2020 23:02:08 +0300

*Hello!*

*We are using OpenWRT based solution and use luajit 2.1.0-beta2 for Luci
GUI back-end. The problem is that /usr/bin/lua crashes on execution of Lua
script at coroutine.resume() and I found no way to add any debug code as
everything in LuaJIT seems to be written in some kind of assembler code.
Using gdb or valgrind isn't possible because it is an device with 32 MB
memory and 8 MB flash. Could you give any hint if I can do anything? Thanks
in advance.*

Other related posts: