Passing an object to dir seems to cause PICO-8 to exit immediately. Nothing relevant in log.txt.
To reproduce:
dir({})