Hello,
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?
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.
I believe this only happens when #include is used; @chowyunbrent can you confirm your cart was using that new feature?
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?
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 :)
@zep
I was NOT using #include and was having this issue on macOS. 0.1.12b has fixed this issue for me. Thank you!
@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.
@zep Yes it looks like 0.1.12b has fixed the issue. Thank you!
[Please log in to post a comment]