Log In  

I've found out that stop(nil) crashes PICO-8. Not that it's a particularly useful call, but it definitely must not crash the console.

Version: 0.2.0c
Platform: Linux 64bit
Example cart:

$ cat stop-nil-segv.p8
pico-8 cartridge // http://www.pico-8.com
version 21
__lua__

--this segfaults:
stop(nil)
$ pico8 -run stop-nil-segv.p8 
Segmentation fault (core dumped)
P#75042 2020-04-20 15:21 ( Edited 2020-04-20 15:22)

Fixed in v0.2.0d.

P#75352 2020-04-25 14:09

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-20 08:09:22 | 0.005s | Q:8