Log In  


Recently grabbed the latest version 0.1.12 on macos. I noticed that after editing on an external text editor, attempting to reload the cart with cmd+r caused PICO-8 to completely crash and quit.

It seemed to only happen if the cart.p8 file had been changed in someway. cmd+r works fine without edits.

Anyone else having this issue?

P#63449 2019-04-12 13:27

:: DanB91

Yes I have this exact issue as well

P#63473 2019-04-13 05:22 ( Edited 2019-04-13 05:22)

Confirmed here (OS X 10.14.4)

P#63484 2019-04-13 23:20
:: johanp

I'm not having this.

P#63509 2019-04-14 18:26

I’m having this problem on Windows, too. Ctrl-R almost always crashes PICO-8 0.1.12, in a memcpy() call. No need for an external editor; modifying the code using the built-in editor is enough.

P#63515 2019-04-14 21:08 ( Edited 2019-04-14 21:14)

I believe this only happens when #include is used; @chowyunbrent can you confirm your cart was using that new feature?

P#63516 2019-04-14 21:18

Yes I was using #include when it started. But I then removed all #include from the code and reverted back to an old copy and the problem still persisted?

P#63517 2019-04-14 21:20
:: zep

It appears these were two separate issues.

OSX was caused by a stray strcpy(a,a) (undefined behaviour, some only actually crashes on the Mac build)

@samhocevar -- this crash was indeed happening in the include code, and by chance was only crashing under Windows.

Both of these are fixed in 0.1.12b which is up now. Let me know if it works (or not) and if all seems well I'll announce this release :)

P#63551 2019-04-15 21:12
:: DanB91

I was NOT using #include and was having this issue on macOS. 0.1.12b has fixed this issue for me. Thank you!

P#63561 2019-04-16 02:01 ( Edited 2019-04-16 02:01)

@zep I can confirm the Ctrl-R issue is gone. But I now have a problem including files with CRLF line terminators; I’ll open a new bug report.

P#63568 2019-04-16 07:07

@zep Yes it looks like 0.1.12b has fixed the issue. Thank you!

P#63570 2019-04-16 08:32

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-10-06 13:09:06 | 0.018s | Q:27