They're all along the lines of "lua(7730) malloc: *** Deallocation of a pointer not malloced: 0xe4e78; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug"
OS X apparently doesn't have MALLOC_OPTIONS, and none of the MallocHelp options seem immediately useful. However, the only error I haven't squashed is generated at program termination by "curses:done()" [wrapper for endwin(),] which is curious but probably harmless.