refine attempt at debugging output for JIT buffer overflow
pkg-build/thread: fix test