TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Run crashes on main branch with a Segmentation Fault on Raspberry Pi Debian 12

Open codebroker40 opened this issue 1 year ago • 4 comments

steps to reproduce:

  1. follow steps in Readme to build on Raspberry Pi
  2. launch tic-80
  3. add a print line to the code
  4. save
  5. 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

codebroker40 avatar Jul 13 '24 17:07 codebroker40

@ColeW-Picaro

  1. Which Raspberry Pi?
  2. Is this vanilla Debian or Raspberry Pi OS, and if the latter, which version?
  3. What's the last commit in the version you compiled?

aliceisjustplaying avatar Jul 28 '24 15:07 aliceisjustplaying

This currently also happens on my Fedora 42 host, but only when running from installed. TIC80 Version: 1.2.3016-dev.

mirkokral avatar Jun 26 '25 12:06 mirkokral

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 )

Angluca avatar Sep 25 '25 09:09 Angluca

Ok now, must copy scriptlanguage.dylib (dll) when you build shared lib or build it use static lib cmake .. -DBUILD_STATIC=ON

Angluca avatar Sep 25 '25 10:09 Angluca