TIC-80
TIC-80 copied to clipboard
Run crashes on main branch with a Segmentation Fault on Raspberry Pi Debian 12
steps to reproduce:
- follow steps in Readme to build on Raspberry Pi
- launch tic-80
- add a print line to the code
- save
- run, see seg fault
terminal output:
TIC-80 tiny computer
version 1.2.2955-dev (52d6edb)
https://tic80.com (C) 2017-2024
hello! type help for help
>load test
cart test.tic loaded!
use RUN command to run it
>run
>Segmentation fault
@ColeW-Picaro
- Which Raspberry Pi?
- Is this vanilla Debian or Raspberry Pi OS, and if the latter, which version?
- What's the last commit in the version you compiled?
This currently also happens on my Fedora 42 host, but only when running from installed. TIC80 Version: 1.2.3016-dev.
TIC-80 tiny computer
version 1.2.3037-dev Pro (35bc7f7)
https://tic80.com (C) 2017-2025
>load p3d.tic
cart p3d.tic loaded!
use RUN command to run it
>run
>zsh: segmentation fault ./tic80
Can't run code in the game ( Macos11.7.10 bigsur )
Ok now, must copy scriptlanguage.dylib (dll) when you build shared lib
or build it use static lib
cmake .. -DBUILD_STATIC=ON