Standalones with [playlist~] crash on M1 machines

riotchild's icon

Standalones containing a [playlist~] that are exported on an Intel running 11.6.3 (Big Sur) crash on M1 machines when the user drags a Mp3 onto the playlist, but wave files are fine.

I'm guessing this is Juce issue (my understanding is that's what's used to implement the playlist in Max) or possibly and entitlements issue (although I don't see how).

Has anyone got any thoughts on why this would be happening?

Source Audio's icon

mp3 is not native audio file format.

droped mp3 files onto playlist get converted into aif
and then played using converted file.
Converted files land in max or standalone's cache folder.

could it be privileges issue ?

riotchild's icon

Thank you. I'm not sure what entitlements need to be included in the entitlements file to ensure Max can access what it needs to access. I might ask others to share what's in their entitlements file.

Alex Van Gils's icon

Hi Riotchild, can you send an email to support@cycling74.com along with a patch that demonstrates this crash, and also a standalone that has been built on the intel machine?

riotchild's icon

Hi Alex,

Done.

I just built a simple patch with a [playlist~] connected to two [meter~]s and an ezdac~ Exported it as a standalone, deleted unnecessary files codesigned it etc with a new AppID created just for this test. 

Intel

  • The app crashes on the Intel machine it was built on [11.6.3] when an mp3 from Documents is dragged onto playlist.

  • Does not crash when .wav from Documents is dragged onto playlist.

  • Does not crash when a mp3 or wav from Downloads is dragged onto playlist.

  • App was located in Applications folder

  • App asked for permissions to access the Microphone when ezdac~ was clicked the first time the app was run.

  • App / MAC (mandatory access control) did not ask permission to access Documents or Desktop folders on load.

  • I think this is the issue, but it doesn’t explain why .wavs work and .mp3s don’t.

M1 Part 1

  • The app crashes on an M1 machine [11.6.4] when an mp3 from Documents is dragged onto playlist.

  • Does not crash when .wav from Documents is dragged onto playlist.

  • App was located in Applications folder

  • App / MAC (mandatory access control) did not ask permission to access Documents or Desktop (or any) folders on load.

  • I think this is the issue, but it doesn’t explain why .wavs work and .mp3s don’t.

M1 Part 2

  • The app crashes on an M1 machine [11.6.4] when an mp3 from Downloads is dragged onto playlist.

  • Does not crash when .wav from Downloads is dragged onto playlist.

  • App was located in Applications folder

  • App / MAC (mandatory access control) did not ask permission to access Documents or Desktop (or any) folders on load.

  • I think this is the issue, but it doesn’t explain why .wavs work and .mp3s don’t.

Thank you.

Alex Van Gils's icon

Thank you!