Max Crashes with Segmentation Fault 11

Dimitris Oikonomou's icon

Hello

My Max patch have been crashing with the below error since I added tapin and tapout objects for delays.
I am using a macbook with M1-pro and version 12.3. I am getting the below error. I could also provide the full Apple report. I don't know where else I have to look for the solution so I am posting this here in case someone had the same problem.

Thread 35 Crashed:: com.apple.audio.IOThread.client

0 tapout~ 0x14485f938 tapout_perform64 + 568

1 MaxAudioAPIImpl 0x10d5f17f4 dspchain_tick + 336

2 MaxAudioAPIImpl 0x10d5f17f4 dspchain_tick + 336

3 MaxAudioAPIImpl 0x10d5dced4 plugrunner_tick + 200

4 MaxAudioAPIImpl 0x10d5d3a2c plugrunner_process + 208

5 MaxAudioAPIImpl 0x10d5d2540 patchernode_process + 424

6 MaxAudioAPIImpl 0x10d5ce924 mixerengine_process_fun + 76

7 Max 0x1026587ac linklist_funall_imp + 384

8 MaxAudioAPIImpl 0x10d5ce1c8 mixerengine_processiovector + 920

9 MaxAudioAPIImpl 0x10d5ed880 ad_process + 240

10 ad_coreaudio 0x10d41ee3c adcoreaudio_callback + 348

11 Max 0x1027c9cf8 juce::CoreAudioClasses::CoreAudioInternal::audioCallback(AudioBufferList const*, AudioBufferList*) + 352

12 Max 0x1027c9b8c juce::CoreAudioClasses::CoreAudioInternal::audioIOProc(unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) + 24

13 CoreAudio 0x195be484c HALC_ProxyIOContext::IOWorkLoop() + 6336

14 CoreAudio 0x195be2990 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 100

15 CoreAudio 0x195daee60 HALB_IOThread::Entry(void*) + 88

16 libsystem_pthread.dylib 0x19404a26c pthreadstart + 148

17 libsystem_pthread.dylib 0x19404508c thread_start + 8

Thread 36:

0 libsystem_pthread.dylib 0x194045078 start_wqthread + 0

Thread 37:

0 libsystem_pthread.dylib 0x194045078 start_wqthread + 0

Ben Bracken's icon

Is Live crashing or is Max? Could you post your patch?

Dimitris Oikonomou's icon

Hello,

Sorry for the long delay. I left the patch some days after. I am back on it now.

The crash concerns MAX itself. I have a very simple delay patch

delay_simple_repeater.maxpat
Max Patch


The crash happens randomly and every time I get exactly the same error I posted.

The above patch is imported in this parent patch

Max Patch
Copy patch and select New From Clipboard in Max.

Ben Bracken's icon

Sorry for the late reply. I'm unable to repro here with letting your patch run, toggling audio, etc. Any other steps?

Recommend that you contact Support via the form here:
https://cycling74.com/support/contact