# Another ableton crash on plugin delete

**URL:** <https://forum.juce.com/t/another-ableton-crash-on-plugin-delete/6205>\
**Category:** Audio Plugins\
**Created:** [January 15, 2011, 2:38pm UTC](https://forum.juce.com/t/another-ableton-crash-on-plugin-delete/6205 "2011-01-15T14:38:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuniklo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/kuniklo/32/225_2.png) [@kuniklo](https://forum.juce.com/u/kuniklo)\
**Post date:** [January 15, 2011, 2:38pm UTC](https://forum.juce.com/t/another-ableton-crash-on-plugin-delete/6205/1 "2011-01-15T14:38:15Z")

</div>

This one looks similar to, but different from the one I posted about earlier. To reproduce:

1. build both an AU and a VST version of a plugin
2. start a new, empty set in live 8
3. load the VST into an empty track
4. with the editor window still open, double click the AU version to replace it

The AU is loaded and the Ableton UI indicates that the editor window is open (the wrench icon is enabled), but the editor window is not displayed. Deleting the instance of the AU will then cause a crash, with the stacktrace below. This happens with Juce 1.5.2 and with a fresh git pull from this morning (which I pulled in hopes of fixing this: [http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=6399](http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=6399)).

```auto
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x963a4ed7 objc_msgSend + 23
1 com.kuniklo.JSynth 0x29e84531 juce::MessageManager::~MessageManager() + 51
2 com.kuniklo.JSynth 0x29e53c75 juce::shutdownJuce_GUI() + 77
3 com.kuniklo.JSynth 0x29faa40c JuceAU::~JuceAU() + 248
4 com.kuniklo.JSynth 0x29fb61ff ComponentBase::ComponentEntryDispatch(ComponentParameters*, ComponentBase*) + 67
5 com.kuniklo.JSynth 0x29fb44d6 AUBase::ComponentEntryDispatch(ComponentParameters*, AUBase*) + 1270
6 com.kuniklo.JSynth 0x29faa257 ComponentEntryPoint<JuceAU>::Dispatch(ComponentParameters*, JuceAU*) + 170
7 ...ple.CoreServices.CarbonCore	0x991e47c9 CallComponentDispatch + 29
8 ...ple.CoreServices.CarbonCore	0x991e4b52 CallComponentClose + 43
9 ...ple.CoreServices.CarbonCore	0x991e4a7b CloseComponentInternal(ComponentInstanceRecord*) + 101
10 ...ple.CoreServices.CarbonCore	0x991e49fc CloseComponent + 46
11 com.ableton.live 0x000bae1f 0x1000 + 761375
12 com.ableton.live 0x000d3adc 0x1000 + 862940
13 com.ableton.live 0x000cd1ba 0x1000 + 836026
14 com.ableton.live 0x0005a1b4 0x1000 + 364980
15 com.ableton.live 0x00073908 0x1000 + 469256
16 com.ableton.live 0x0006e4a2 0x1000 + 447650
17 com.ableton.live 0x00055f16 0x1000 + 347926
18 com.ableton.live 0x00034f17 0x1000 + 212759
```

---

<div class="post-metadata">

**Author:** ![zamrate](https://avatars.discourse-cdn.com/v4/letter/z/f4b2a3/32.png) [@zamrate](https://forum.juce.com/u/zamrate)\
**Post date:** [January 15, 2011, 2:40pm UTC](https://forum.juce.com/t/another-ableton-crash-on-plugin-delete/6205/2 "2011-01-15T14:40:16Z")

</div>

Probably it’s the same problem as I had: If you’re building VST & AU version with same ObjC suffix, you’ll get this crash.

---

<div class="post-metadata">

**Author:** ![kuniklo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/kuniklo/32/225_2.png) [@kuniklo](https://forum.juce.com/u/kuniklo)\
**Post date:** [January 15, 2011, 2:58pm UTC](https://forum.juce.com/t/another-ableton-crash-on-plugin-delete/6205/3 "2011-01-15T14:58:05Z")

</div>

> [@zamrate](#):
>
> Probably it’s the same problem as I had: If you’re building VST & AU version with same ObjC suffix, you’ll get this crash.

Maybe that’s it. How did you configure the build to use different suffixes for each version?

---

<div class="post-metadata">

**Author:** ![ckk](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@ckk](https://forum.juce.com/u/ckk)\
**Post date:** [January 17, 2011, 7:33am UTC](https://forum.juce.com/t/another-ableton-crash-on-plugin-delete/6205/4 "2011-01-17T07:33:08Z")

</div>

> [@kuniklo](#):
>
> How did you configure the build to use different suffixes for each version?

I use two projects (one AU, one VST) with different suffixes for Releases.

Chris
