macOS: Crash when plugging unplugging headphones

Since 3.5.2 (maybe 3.5.0), I have weird issues regarding handing of audio output on my Mac M2.

  • Lots of crashes when plugging / unplugging headphones
  • When playing directly on my mac speaker, the volume of the mac is not taken into account, if I mute the mac, sound is still playing, if I put volume up, sound is not going up

Am I the only one ?

EDIT: the audio playback not taken into account was because I had headphones plugged (what I controlled with the mac), but Renoise output on speakers. However, crashes still exist

What does the renoise log say regarding the crashes?

Not sure how to check, will do next time it happens!

try do this with different headphones I quess it is a software/driver problem of headphones.

I use macos + Renoise + beyerdynamic (connected via USB C) no problem at all.

I also though it could come from CPU usage, since the current track I’m working on sits at around 45% CPU usage, going up to 55% when heavy on automations

1 Like

Do this… Delete unused instruments.

It can be problem with VST instrumen. Or change them from VST to AU or VST3 version.

My latest project has CPU around 70 % I can hear “a crack” sometimes but never Renoise crash.

Lots of options, try one by one to see results…

Anyway, I save pretty regularly, + Renoise has a backup function so that’s not that much of an issue I think

Wanted to post here so that if other people experienced it it could be solved.

Now that I think of it, it may come from my Virtual Audio Device Setup that merge my external synth and headphones! Will see if that happens again

I checked the logs and found this:

Player: Creating slave threads…
Player: 8 threads enabled. 8 CPUs are available.

CoreAudio: Starting Device Apple Inc.: MacBook Air Speakers…
CoreAudio: Output Device is up and running…
CoreAudio: Up and running
CoreAudio: Device sample changed (to ‘0’). Reinitializing the player…

CrashLog: Caught signal: SIGSEGV (11) …
CrashLog: 0 libsystem_platform.dylib 0x000000018414ea24 _sigtramp + 56
CrashLog: 1 Renoise 0x0000000102fe3a8c _ZN10RubberBand19RubberBandStretcher4Impl9configureEv + 1108
CrashLog: 2 Renoise 0x0000000102fe341c _ZN10RubberBand19RubberBandStretcher4ImplC2Emmidd + 680
CrashLog: 3 Renoise 0x0000000102fe3e80 _ZN10RubberBand19RubberBandStretcher4ImplC1Emmidd + 12
CrashLog: 4 Renoise 0x0000000102ff45b4 _ZN10RubberBand19RubberBandStretcherC2Emmidd + 84
CrashLog: 5 Renoise 0x0000000102ff45f8 _ZN10RubberBand19RubberBandStretcherC1Emmidd + 12
CrashLog: 6 Renoise 0x0000000103584a38 _ZN24TPlayerTimeStretcherPool18TStretcherInstance4SNewEi + 72
CrashLog: 7 Renoise 0x0000000103585270 _ZN24TPlayerTimeStretcherPool19SetNewSamplesPerSecEi + 192
CrashLog: 8 Renoise 0x00000001034e20bc _ZN13TPlayerEngine18OnNewSamplesPerSecEv + 248
CrashLog: 9 Renoise 0x0000000103b8c358 _ZN13TCommandQueue15ProcessCommandsEv + 168
CrashLog: 10 Renoise 0x0000000103bcec0c _ZN19TThreadCommunicator15ProcessCommandsEv + 256
CrashLog: 11 Renoise 0x0000000103a999b0 _ZN16TCoreAudioDevice12SCoreAudioIOEjPK14AudioTimeStampPK15AudioBufferListS2_PS3_S2_Pv + 260
CrashLog: 12 CoreAudio 0x00000001863fa94c _ZN19HALC_ProxyIOContext10IOWorkLoopEv + 6628
CrashLog: 13 CoreAudio 0x00000001863f888c ___ZN19HALC_ProxyIOContextC2Ejj_block_invoke + 116
CrashLog: 14 CoreAudio 0x000000018655b574 _ZN13HALB_IOThread5EntryEPv + 88
CrashLog: 15 libsystem_pthread.dylib 0x000000018411ffa8 _pthread_start + 148
CrashLog: 16 libsystem_pthread.dylib 0x000000018411ada0 thread_start + 8

Application: Caught an unhandled fatal exception (Thread: Audio)!
Application: Saving a backup…

Application: Terminating…

seeing those, maybe related to the RubberBandAid tool ?