Log In  

As the title say, latest version for PICO-I8 do crash under the latest (non beta) version of Mac OS (13.0)

I suspect it is a bug in SDL2:

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   AMDRadeonX6000MTLDriver             0x7ffa1dbe1c11 gfx10MtlSimpleCompute_Dispatch(GFX10SimpleComputeDispatcherRec*, GFXAAMD_MtlComputePipelineState const*, unsigned int const*, unsigned int const*, unsigned int, unsigned int*) + 1305
1   AMDRadeonX6000MTLDriver             0x7ffa1dbe1ea1 amdMtlDispatchInternalComputeShader(GFXAAMD_MtlCmdBuffer*, GFXAAMD_MtlComputePipelineState const*, unsigned int const*, unsigned int const*, MTLIOAccelResource**, unsigned long long*, unsigned int, MTLIOAccelResource**, unsigned int, GFXAAMD_MtlTexture**, unsigned int, bool, unsigned int, unsigned int*) + 453
2   AMDRadeonX6000MTLDriver             0x7ffa1dbe424f -[GFX10_MtlCmdBuffer commit] + 393
3   SDL2                                   0x10969bcf1 0x10968a000 + 72945
4   pico8                                  0x1090b525d codo_blit_to_video_plat + 1645
5   pico8                                  0x109085496 codo_blit + 646
6   pico8                                  0x1090b2db2 codo_blit_back_page + 50
7   pico8                                  0x10906f940 codo_main + 752
8   pico8                                  0x108fc3e74 start + 52

Weirdly, I wanted to see if there were anything on the console and started it by hand from the terminal, and it ran without a crash, but if I run it from the .app folder it will crash.

Just thinking out loud there, but for building a project I had to install SDL2 as a framework (so inside /Library/Framework ) and I wonder which version of SDL it pick when running from the command line.

Weird2: Just ran open /Application/PICO-8.app from the command line and it ran without a crash.

I also have SDL2 installed through brew for other build project, so I'm quite unsure how dynamic links work between all the way to run the app, but up so far, starting from the Finder will trigger the crash in the blit.

Tried to remove the SDL2 framework in the PICO-8 bundle, and it pick the one from the /Library/Framework, but crash in the exact same way

I'm not sure what make a difference while running from the command like (the output from otool -Lis not really helpful:

% otool -L /Applications/PICO-8.app/Contents/MacOS/pico8
/Applications/PICO-8.app/Contents/MacOS/pico8:
    @rpath/SDL2.framework/Versions/A/SDL2 (compatibility version 1.0.0, current version 12.0.0)
    /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
    /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)

If there is anything I can do to help, please tell me!

P#119990 2022-11-02 10:15 ( Edited 2022-11-13 10:30)

I was able to reproduce the same. Runs with the command line though.

P#120319 2022-11-08 16:06

I have the same problem 😒. I can confirm it runs from command line open /Applications/PICO-8.app

P#120494 2022-11-11 19:13 ( Edited 2022-11-11 19:14)
1

Thanks for the report @Godzil -- I'll try to get this fixed for 0.2.5d.

Interesting that it doesn't crash from commandline. I wonder if that is just an accident and it is allowing it to work just by chance. (Because it seems so strange otherwise!)

Do you get a crash if you launch in windowed mode? (set "windowed 1" in ~/Library/Application Support/pico-8/config.txt before opening the .app)

Also would you mind sending me the log.txt after it crashes ([email protected], or paste it here). Thanks!

If there are no obvious answers, I'll spin up a remote machine running Ventura and see if I can reproduce.

P#120718 2022-11-14 20:34

I'll do that!


Edit1: Ok interesting, it's interesting.

It does not crash in window mode, I'll send you by email the full log because it's a bit long to post it here

Edit2: Email sent!
Hope that help

P#120720 2022-11-14 20:50 ( Edited 2022-11-14 20:56)

I just purchased PICO-8 (0.2.5g) and I can't get it to run at all on Ventura 13.4.1 (c) (either from launching app or running from terminal)

Edit: worked after a restart :S

P#135741 2023-10-11 08:05 ( Edited 2023-10-11 22:14)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 05:13:16 | 0.044s | Q:18