# IDE crash on MacOSX Sierra

**URL:** <https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412>\
**Category:** Cabbage slugs\
**Created:** [24 April 2019 22:18 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412 "2019-04-24T22:18:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![yourevilempire](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/y/3bc359/32.png) [@yourevilempire](https://forum.cabbageaudio.com/u/yourevilempire)\
**Post date:** [24 April 2019 22:18 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/1 "2019-04-24T22:18:46Z")

</div>

When I’m trying to start (hit Play) for instrument and effect in the same time IDE just collapse. Where can I find crash logs to post here?

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [25 April 2019 17:40 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/2 "2019-04-25T17:40:58Z")

</div>

Can you post the two instruments, or does this happen with the examples?

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [27 April 2019 09:46 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/3 "2019-04-27T09:46:21Z")

</div>

Hi @yourevilempire, can you confirm that this behaviour happens with examples distributed with Cabbage, or just with your own files?

---

<div class="post-metadata">

**Author:** ![boonier](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/boonier/32/1707_2.png) [@boonier](https://forum.cabbageaudio.com/u/boonier)\
**Post date:** [3 May 2019 11:15 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/4 "2019-05-03T11:15:22Z")

</div>

To add I get crashes on Sierra, not High Sierra!

Latest build from 2/5/2019 I believe. Problems I have are:

- Immediate crash on clicking Open icon
- Starting a plugin, stopping then starting again causes immediate crash
- I can’t start any of the Examples - says I need to save a new version

Weird as I installed the same on my laptop running High Sierra, an having none of the problems.

Is this sounding like some corrupt preferences that need trashing? I thought I tried that but still issues…maybe I missed something.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [3 May 2019 11:34 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/5 "2019-05-03T11:34:27Z")

</div>

> [@boonier](#):
>
> Immediate crash on clicking Open icon  
> Starting a plugin, stopping then starting again causes immediate crash

If you get an immediate crash when opening a plugin, how can you then start a plugin?

> [@boonier](#):
>
> I can’t start any of the Examples - says I need to save a new version

My bad. I’m just building a new version now, I’ll upload when it’s done.

> [@boonier](#):
>
> Is this sounding like some corrupt preferences that need trashing? I thought I tried that but still issues…maybe I missed something.

I’m not sure what’s going on. Can you nuke the settings file and see if that helps? I can’t check that OS because I’m already on High Seirra..

p.s. Can you check that the audio device is set up correctly in your audio settings?

---

<div class="post-metadata">

**Author:** ![boonier](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/boonier/32/1707_2.png) [@boonier](https://forum.cabbageaudio.com/u/boonier)\
**Post date:** [3 May 2019 11:38 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/6 "2019-05-03T11:38:35Z")

</div>

> [@rorywalsh](#):
>
> If you get an immediate crash when opening a plugin, how can you then start a plugin?

sorry I’ll be clearer! playing the code in the tab, then stopping, then playing 🙂 all within Cabbage IDE

> [@rorywalsh](#):
>
> I’m not sure what’s going on. Can you nuke the settings file and see if that helps? I can’t check that OS because I’m already on High Seirra..

which settings file is that, not the ones in /Library/Preferences?

cheeers

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [3 May 2019 11:40 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/7 "2019-05-03T11:40:32Z")

</div>

Yeah that one, simply delete it and see if that makes any difference. I have an image of OSX on a VM, I’m going to launch it now, but I’m not sure whether is high or low Sierra…

---

<div class="post-metadata">

**Author:** ![boonier](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/boonier/32/1707_2.png) [@boonier](https://forum.cabbageaudio.com/u/boonier)\
**Post date:** [3 May 2019 11:47 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/8 "2019-05-03T11:47:45Z")

</div>

> [@rorywalsh](#):
>
> is high or low Sierra…

😆

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [3 May 2019 11:47 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/9 "2019-05-03T11:47:50Z")

</div>

So that VM image I have is 10.12 and it works fine for me. I simply installed the latest version, created a new instrument, hit save, and I could play away fine without any crashes. If you continue to have issues after you delete the preferences file, re-run Cabbage, and send me the new pref file, maybe we can see something in that.

---

<div class="post-metadata">

**Author:** ![boonier](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/boonier/32/1707_2.png) [@boonier](https://forum.cabbageaudio.com/u/boonier)\
**Post date:** [3 May 2019 13:35 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/10 "2019-05-03T13:35:57Z")

</div>

Downloaded and install the latest build as of today

OK it was when there were no tabs loaded, so it shows the Cabbage logo on load, nothing more, then when clicking the Open icon it crashes instantly.

```csound
Time Awake Since Boot: 13000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 JUCE Message Thread Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000000a8
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

VM Regions Near 0xa8:
--> 
    __TEXT 00000001002ea000-0000000100cf1000 [10.0M] r-x/rwx SM=COW /Applications/Cabbage.app/Contents/MacOS/Cabbage

Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread
0 com.cabbageaudio.cabbage 0x0000000100716a0a juce::Component::isShowing() const + 10
1 com.cabbageaudio.cabbage 0x000000010073e26c juce::Component::grabFocusInternal(juce::Component::FocusChangeType, bool) + 28
2 com.cabbageaudio.cabbage 0x00000001002f395c CabbageMainComponent::buttonClicked(juce::Button*) + 140
3 com.cabbageaudio.cabbage 0x000000010073f527 juce::Button::sendClickMessage(juce::ModifierKeys const&) + 327
4 com.cabbageaudio.cabbage 0x000000010073f10d juce::Button::internalClickCallback(juce::ModifierKeys const&) + 157
5 com.cabbageaudio.cabbage 0x000000010078833f juce::MouseInputSourceInternal::setButtons(juce::Point<float>, juce::Time, juce::ModifierKeys) + 687
6 com.cabbageaudio.cabbage 0x0000000100791813 juce::ComponentPeer::handleMouseEvent(juce::MouseInputSource::InputSourceType, juce::Point<float>, juce::ModifierKeys, float, float, long long, juce::PenDetails, int) + 531
7 com.cabbageaudio.cabbage 0x000000010079154c juce::NSViewComponentPeer::sendMouseEvent(NSEvent*) + 284
8 com.cabbageaudio.cabbage 0x000000010078beb5 juce::JuceNSViewClass::mouseUp(objc_object*, objc_selector*, NSEvent*) + 165
9 com.apple.AppKit 0x00007fff8b7448de -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1544
10 com.apple.AppKit 0x00007fff8b743f0a -[NSWindow(NSEventRouting) sendEvent:] + 541
11 com.apple.AppKit 0x00007fff8b5c8681 -[NSApplication(NSEvent) sendEvent:] + 1145
12 com.apple.AppKit 0x00007fff8ae43427 -[NSApplication run] + 1002
13 com.cabbageaudio.cabbage 0x00000001005456ec main + 348
14 libdyld.dylib 0x00007fffa2ae9235 start + 1

```

this is the crash dump. In fact clicking the save button too causes a crash. Haven’t tried the others

Can report the examples working 🙌

cheers

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [3 May 2019 13:43 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/11 "2019-05-03T13:43:10Z")

</div>

Great, I can recreate that problem. Leave it with me. Ill get a fix up shortly…

[edit] fixed, I’ll update the release in a half hour or so once all packages have been rebuilt. Thanks for reporting this issue. I could have been using Cabbage for weeks without having ever encountered it!

---

<div class="post-metadata">

**Author:** ![boonier](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/boonier/32/1707_2.png) [@boonier](https://forum.cabbageaudio.com/u/boonier)\
**Post date:** [3 May 2019 15:43 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/12 "2019-05-03T15:43:37Z")

</div>

no problem at all! thanks for fixing it

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [3 May 2019 15:56 UTC](https://forum.cabbageaudio.com/t/ide-crash-on-macosx-sierra/1412/13 "2019-05-03T15:56:47Z")

</div>

Can you try the latest package from the current release? Should be good to go now 😉
