MAX crashs with simple juce VST when quitting

I build the tutorial VST Audio Plugin in Juce with a Slider and a Listener.
Both in the Juce Plugin Host and in MAX/msp: Everything fine.

Now i replace the slider by a textbutton with Button::Listener. The Button-Listener function does nothing.
In the Juce Plugin Host: Everything fine.
In MAX/msp: Everything works if i do not click on the button. If i click on the button and then leave MAX, MAX crashs. (Crash log says something about JuceNSView).

I am using
MAX7.2.3 (cycling74)
Mac OSX10.11.2.
Juce 4.2.3

What’s the reason?
Thanks Thomas

Sounds simple enough, can you post code?

you registered your editor as a listener of the button yes? post the actual stack trace

Hi Jake_penn,

here comes the code and the crash log. The settings when building the project with Projucer were just standard “NewProject”, only “is Synth” and “needs MIDI input” were extra selected. I am a new user, so i have to copy/paste file contents to this post. Crash log in next post. Thank you for helping

Thomas

PluginEditor.h**********************
/*

This file was auto-generated!

It contains the basic framework code for a JUCE plugin editor.

==============================================================================
*/

#ifndef PLUGINEDITOR_H_INCLUDED
#define PLUGINEDITOR_H_INCLUDED

#include “…/JuceLibraryCode/JuceHeader.h”
#include “PluginProcessor.h”

//==============================================================================
/**
*/
class NewProjectAudioProcessorEditor : public AudioProcessorEditor,private Button::Listener
{
public:
NewProjectAudioProcessorEditor (NewProjectAudioProcessor&);
~NewProjectAudioProcessorEditor();

//==============================================================================
void paint (Graphics&) override;
void resized() override;

private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
NewProjectAudioProcessor& processor;
void buttonClicked(Button* button);
TextButton tt;

JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NewProjectAudioProcessorEditor)

};

#endif // PLUGINEDITOR_H_INCLUDED

PluginEditor.cpp***************
/*

This file was auto-generated!

It contains the basic framework code for a JUCE plugin editor.

==============================================================================
*/

#include “PluginProcessor.h”
#include “PluginEditor.h”

//==============================================================================
NewProjectAudioProcessorEditor::NewProjectAudioProcessorEditor (NewProjectAudioProcessor& p)
: AudioProcessorEditor (&p), processor §
{
// Make sure that before the constructor has finished, you’ve set the
// editor’s size to whatever you need it to be.
setSize (400, 300);

tt.setButtonText("ok");
tt.addListener(this);
addAndMakeVisible(tt);

}

NewProjectAudioProcessorEditor::~NewProjectAudioProcessorEditor()
{
}

//==============================================================================
void NewProjectAudioProcessorEditor::paint (Graphics& g)
{
g.fillAll (Colours::white);

g.setColour (Colours::black);
g.setFont (15.0f);
g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1);

}

void NewProjectAudioProcessorEditor::resized()
{
// This is generally where you’ll want to lay out the positions of any
// subcomponents in your editor…
tt.setBounds(75,61,90,18);
}

void NewProjectAudioProcessorEditor::buttonClicked(Button *lbut)
{

}

Hi Jake_Penn,

here comes the beginning of the crash log (i am not yet allowed to send attachments).

Thank you Thomas

Process: Max [1188]
Path: /Applications/max/Max.app/Contents/MacOS/Max
Identifier: com.cycling74.Max
Version: 7.2.3 [46583fa] (7.2.3)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Max [1188]
User ID: 501

Date/Time: 2016-07-18 07:20:39.668 +0100
OS Version: Mac OS X 10.11.2 (15C50)
Report Version: 11
Anonymous UUID: A6A0CDC5-A898-53C0-A8E2-28277AEE06AD

Sleep/Wake UUID: 70E587FA-42BD-407C-BA20-366D6621DBE2

Time Awake Since Boot: 4900 seconds
Time Since Wake: 630 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff8e46f6f3 realizeClass(objc_class*) + 44
1 libobjc.A.dylib 0x00007fff8e46f7df realizeClass(objc_class*) + 280
2 libobjc.A.dylib 0x00007fff8e471c45 lookUpImpOrForward + 108
3 libobjc.A.dylib 0x00007fff8e46b591 objc_msgSend + 209
4 com.apple.AppKit 0x00007fff8c64e180 -[NSView _removeFromKeyViewLoop] + 50
5 com.apple.AppKit 0x00007fff8c64d9ea -[NSView _finalizeWithReferenceCounting] + 752
6 com.apple.AppKit 0x00007fff8c64d6d2 -[NSView dealloc] + 151
7 com.cycling74.Max 0x00000001037c5d4e -[JuceNSView_1_52_105_3 dealloc] + 164
8 libobjc.A.dylib 0x00007fff8e4732f4 objc_object::sidetable_release(bool) + 242
9 libobjc.A.dylib 0x00007fff8e471ac4 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 476
10 com.apple.CoreFoundation 0x00007fff88b55102 _CFAutoreleasePoolPop + 50
11 com.apple.Foundation 0x00007fff8f8196c5 -[NSAutoreleasePool release] + 146
12 com.cycling74.Max 0x00000001037d320f juce::AppDelegateRedirector::runLoopCallback() + 115
13 com.apple.CoreFoundation 0x00007fff88b9b5c1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
14 com.apple.CoreFoundation 0x00007fff88b8d41c __CFRunLoopDoSources0 + 556
15 com.apple.CoreFoundation 0x00007fff88b8c93f __CFRunLoopRun + 927
16 com.apple.CoreFoundation 0x00007fff88b8c338 CFRunLoopRunSpecific + 296
17 com.apple.AppKit 0x00007fff8c807021 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 124
18 libsystem_trace.dylib 0x00007fff8e33b07a _os_activity_initiate + 75
19 com.apple.AppKit 0x00007fff8c805f05 -[NSMenu performKeyEquivalent:] + 357
20 com.apple.AppKit 0x00007fff8c8050aa -[NSApplication _handleKeyEquivalent:] + 920
21 com.apple.AppKit 0x00007fff8c71d50f -[NSApplication sendEvent:] + 4274
22 com.cycling74.Max 0x0000000103686bbd -[MaxCefApplication sendEvent:] + 118
23 com.apple.AppKit 0x00007fff8c65003a -[NSApplication run] + 796
24 com.cycling74.Max 0x0000000103686b12 -[MaxCefApplication run] + 49
25 com.cycling74.chromium 0x00000001042bd311 0x1041a1000 + 1164049
26 com.cycling74.chromium 0x00000001042bcc1c 0x1041a1000 + 1162268
27 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
28 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
29 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
30 com.cycling74.chromium 0x00000001042134b2 0x1041a1000 + 468146
31 com.cycling74.Max 0x0000000103686b20 -[MaxCefApplication run] + 63
32 com.cycling74.Max 0x00000001037ce175 juce::MessageManager::runDispatchLoop() + 81
33 com.cycling74.Max 0x000000010369f851 juce::JUCEApplication::main(juce::StringArray const&) + 59
34 com.cycling74.Max 0x000000010369f968 juce::JUCEApplication::main(int, char const**) + 68
35 com.cycling74.Max 0x0000000103345f14 start + 52

Thread 1:
0 libsystem_kernel.dylib 0x00007fff90cb46de __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8bfce729 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8bfcc365 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff90cb4ff6 kevent_qos + 10
1 libdispatch.dylib 0x00007fff951a5099 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff951a4d01 _dispatch_mgr_thread + 52

Thread 3:
0 libsystem_kernel.dylib 0x00007fff90cb46de __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8bfce729 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8bfcc365 start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff90cb46de __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8bfce729 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8bfcc365 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff90cb46de __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8bfce729 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8bfcc365 start_wqthread + 13

Thread 6:: NetworkConfigWatcher
0 libsystem_kernel.dylib 0x00007fff90cae386 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff90cad7c7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff88b8d624 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff88b8caec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff88b8c338 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff8f889e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
6 com.cycling74.chromium 0x00000001042bd124 0x1041a1000 + 1163556
7 com.cycling74.chromium 0x00000001042bcc1c 0x1041a1000 + 1162268
8 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
9 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
10 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
11 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
12 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
13 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
14 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
15 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 7:: DnsConfigService
0 libsystem_kernel.dylib 0x00007fff90cb4fc6 kevent + 10
1 com.cycling74.chromium 0x000000010433cdd3 0x1041a1000 + 1686995
2 com.cycling74.chromium 0x000000010433a8f0 0x1041a1000 + 1677552
3 com.cycling74.chromium 0x00000001042bba72 0x1041a1000 + 1157746
4 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
5 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
6 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
7 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
8 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
9 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
10 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
11 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 8:: WorkerPool/23555
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf186 _pthread_cond_wait + 821
2 com.cycling74.chromium 0x000000010432060e 0x1041a1000 + 1570318
3 com.cycling74.chromium 0x000000010432d2b2 0x1041a1000 + 1622706
4 com.cycling74.chromium 0x000000010432d7d0 0x1041a1000 + 1624016
5 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
6 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 9:: WorkerPool/23811
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf186 _pthread_cond_wait + 821
2 com.cycling74.chromium 0x000000010432060e 0x1041a1000 + 1570318
3 com.cycling74.chromium 0x000000010432d2b2 0x1041a1000 + 1622706
4 com.cycling74.chromium 0x000000010432d7d0 0x1041a1000 + 1624016
5 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
6 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 10:: Chrome_DBThread
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf150 _pthread_cond_wait + 767
2 com.cycling74.chromium 0x0000000104320535 0x1041a1000 + 1570101
3 com.cycling74.chromium 0x0000000104320ff8 0x1041a1000 + 1572856
4 com.cycling74.chromium 0x0000000104320e2f 0x1041a1000 + 1572399
5 com.cycling74.chromium 0x00000001042ff4b6 0x1041a1000 + 1434806
6 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
7 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
8 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
9 com.cycling74.chromium 0x000000010437b4c8 0x1041a1000 + 1942728
10 com.cycling74.chromium 0x000000010437b855 0x1041a1000 + 1943637
11 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
12 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
13 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
14 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
15 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 11:: Chrome_FileThread
0 libsystem_kernel.dylib 0x00007fff90cb4fc6 kevent + 10
1 com.cycling74.chromium 0x000000010433cdd3 0x1041a1000 + 1686995
2 com.cycling74.chromium 0x000000010433a8f0 0x1041a1000 + 1677552
3 com.cycling74.chromium 0x00000001042bba72 0x1041a1000 + 1157746
4 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
5 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
6 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
7 com.cycling74.chromium 0x000000010437b548 0x1041a1000 + 1942856
8 com.cycling74.chromium 0x000000010437b865 0x1041a1000 + 1943653
9 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
10 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
11 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 12:: Chrome_FileUserBlockingThread
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf150 _pthread_cond_wait + 767
2 com.cycling74.chromium 0x0000000104320535 0x1041a1000 + 1570101
3 com.cycling74.chromium 0x0000000104320ff8 0x1041a1000 + 1572856
4 com.cycling74.chromium 0x0000000104320e2f 0x1041a1000 + 1572399
5 com.cycling74.chromium 0x00000001042ff4b6 0x1041a1000 + 1434806
6 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
7 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
8 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
9 com.cycling74.chromium 0x000000010437b5c8 0x1041a1000 + 1942984
10 com.cycling74.chromium 0x000000010437b872 0x1041a1000 + 1943666
11 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
12 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
13 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
14 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
15 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 13:: Chrome_ProcessLauncherThread
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf150 _pthread_cond_wait + 767
2 com.cycling74.chromium 0x0000000104320535 0x1041a1000 + 1570101
3 com.cycling74.chromium 0x0000000104320ff8 0x1041a1000 + 1572856
4 com.cycling74.chromium 0x0000000104320e2f 0x1041a1000 + 1572399
5 com.cycling74.chromium 0x00000001042ff4b6 0x1041a1000 + 1434806
6 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
7 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
8 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
9 com.cycling74.chromium 0x000000010437b648 0x1041a1000 + 1943112
10 com.cycling74.chromium 0x000000010437b87f 0x1041a1000 + 1943679
11 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
12 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
13 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
14 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
15 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 14:: Chrome_CacheThread
0 libsystem_kernel.dylib 0x00007fff90cb4fc6 kevent + 10
1 com.cycling74.chromium 0x000000010433cdd3 0x1041a1000 + 1686995
2 com.cycling74.chromium 0x000000010433a8f0 0x1041a1000 + 1677552
3 com.cycling74.chromium 0x00000001042bba72 0x1041a1000 + 1157746
4 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
5 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
6 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
7 com.cycling74.chromium 0x000000010437b6c8 0x1041a1000 + 1943240
8 com.cycling74.chromium 0x000000010437b88c 0x1041a1000 + 1943692
9 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
10 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
11 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 15:: Chrome_IOThread
0 libsystem_kernel.dylib 0x00007fff90cb4fc6 kevent + 10
1 com.cycling74.chromium 0x000000010433cdd3 0x1041a1000 + 1686995
2 com.cycling74.chromium 0x000000010433a8f0 0x1041a1000 + 1677552
3 com.cycling74.chromium 0x00000001042bbb28 0x1041a1000 + 1157928
4 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
5 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
6 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
7 com.cycling74.chromium 0x000000010437b748 0x1041a1000 + 1943368
8 com.cycling74.chromium 0x000000010437b899 0x1041a1000 + 1943705
9 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
10 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
11 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 16:: IndexedDB
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf150 _pthread_cond_wait + 767
2 com.cycling74.chromium 0x0000000104320535 0x1041a1000 + 1570101
3 com.cycling74.chromium 0x0000000104320ff8 0x1041a1000 + 1572856
4 com.cycling74.chromium 0x0000000104320e2f 0x1041a1000 + 1572399
5 com.cycling74.chromium 0x00000001042ff4b6 0x1041a1000 + 1434806
6 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
7 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
8 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
9 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
10 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
11 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 17:: MediaStreamDeviceThread
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf150 _pthread_cond_wait + 767
2 com.cycling74.chromium 0x0000000104320535 0x1041a1000 + 1570101
3 com.cycling74.chromium 0x0000000104320ff8 0x1041a1000 + 1572856
4 com.cycling74.chromium 0x0000000104320e2f 0x1041a1000 + 1572399
5 com.cycling74.chromium 0x00000001042ff4b6 0x1041a1000 + 1434806
6 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
7 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
8 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
9 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
10 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
11 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 18:: NetworkConfigWatcher
0 libsystem_kernel.dylib 0x00007fff90cae386 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff90cad7c7 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff88b8d624 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff88b8caec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff88b8c338 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff8f889e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
6 com.cycling74.chromium 0x00000001042bd124 0x1041a1000 + 1163556
7 com.cycling74.chromium 0x00000001042bcc1c 0x1041a1000 + 1162268
8 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
9 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
10 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
11 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
12 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
13 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
14 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
15 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 19:: BrowserBlockingWorker1/35587
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf150 _pthread_cond_wait + 767
2 com.cycling74.chromium 0x0000000104320535 0x1041a1000 + 1570101
3 com.cycling74.chromium 0x000000010432729b 0x1041a1000 + 1598107
4 com.cycling74.chromium 0x00000001043262d2 0x1041a1000 + 1594066
5 com.cycling74.chromium 0x000000010432a213 0x1041a1000 + 1610259
6 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
7 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
9 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 20:: Proxy resolver
0 libsystem_kernel.dylib 0x00007fff90cb3eb2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8bfcf150 _pthread_cond_wait + 767
2 com.cycling74.chromium 0x0000000104320535 0x1041a1000 + 1570101
3 com.cycling74.chromium 0x0000000104320ff8 0x1041a1000 + 1572856
4 com.cycling74.chromium 0x0000000104320e2f 0x1041a1000 + 1572399
5 com.cycling74.chromium 0x00000001042ff4b6 0x1041a1000 + 1434806
6 com.cycling74.chromium 0x00000001042fb4d0 0x1041a1000 + 1418448
7 com.cycling74.chromium 0x000000010431457a 0x1041a1000 + 1521018
8 com.cycling74.chromium 0x00000001042fae6d 0x1041a1000 + 1416813
9 com.cycling74.chromium 0x000000010432aaf1 0x1041a1000 + 1612529
10 com.cycling74.chromium 0x000000010432594b 0x1041a1000 + 1591627
11 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 21:
0 libsystem_kernel.dylib 0x00007fff90cae386 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff90cad7c7 mach_msg + 55
2 com.apple.audio.midi.CoreMIDI 0x00000001040c2bb7 XServerMachPort::ReceiveMessage(int&, void*, int&) + 125
3 com.apple.audio.midi.CoreMIDI 0x00000001040de095 MIDIProcess::RunMIDIInThread() + 135
4 com.apple.audio.midi.CoreMIDI 0x00000001040c3d02 XThread::RunHelper(void*) + 10
5 com.apple.audio.midi.CoreMIDI 0x00000001040c392e CAPThread::Entry(CAPThread*) + 80
6 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Thread 22:: civetweb-master
0 libsystem_kernel.dylib 0x00007fff90cb539e poll + 10
1 synophrys 0x00000001101be26a master_thread + 262
2 libsystem_pthread.dylib 0x00007fff8bfcec13 _pthread_body + 131
3 libsystem_pthread.dylib 0x00007fff8bfceb90 _pthread_start + 168
4 libsystem_pthread.dylib 0x00007fff8bfcc375 thread_start + 13

Hi Jake_Penn,

and here comes the source code…

Thank you Thomas

PluginEditor.h
/*

This file was auto-generated!

It contains the basic framework code for a JUCE plugin editor.

==============================================================================
*/

#ifndef PLUGINEDITOR_H_INCLUDED
#define PLUGINEDITOR_H_INCLUDED

#include “…/JuceLibraryCode/JuceHeader.h”
#include “PluginProcessor.h”

//==============================================================================
/**
*/
class NewProjectAudioProcessorEditor : public AudioProcessorEditor,private Button::Listener
{
public:
NewProjectAudioProcessorEditor (NewProjectAudioProcessor&);
~NewProjectAudioProcessorEditor();

//==============================================================================
void paint (Graphics&) override;
void resized() override;

private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
NewProjectAudioProcessor& processor;
void buttonClicked(Button* button);
TextButton tt;

JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NewProjectAudioProcessorEditor)

};

#endif // PLUGINEDITOR_H_INCLUDED

PluginEditor.cpp
/

This file was auto-generated!

It contains the basic framework code for a JUCE plugin editor.

==============================================================================
*/

#include “PluginProcessor.h”
#include “PluginEditor.h”

//==============================================================================
NewProjectAudioProcessorEditor::NewProjectAudioProcessorEditor (NewProjectAudioProcessor& p)
: AudioProcessorEditor (&p), processor §
{
// Make sure that before the constructor has finished, you’ve set the
// editor’s size to whatever you need it to be.
setSize (400, 300);

tt.setButtonText("ok");
tt.addListener(this);
addAndMakeVisible(tt);

}

NewProjectAudioProcessorEditor::~NewProjectAudioProcessorEditor()
{
}

//==============================================================================
void NewProjectAudioProcessorEditor::paint (Graphics& g)
{
g.fillAll (Colours::white);

g.setColour (Colours::black);
g.setFont (15.0f);
g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1);

}

void NewProjectAudioProcessorEditor::resized()
{
// This is generally where you’ll want to lay out the positions of any
// subcomponents in your editor…
tt.setBounds(75,61,90,18);
}

void NewProjectAudioProcessorEditor::buttonClicked(Button *lbut)
{

}

Hi Jake_Penn,

and here comes the source code

Thank you Thomas

PluginEditor.h*********
/*

This file was auto-generated!

It contains the basic framework code for a JUCE plugin editor.

==============================================================================
*/

#ifndef PLUGINEDITOR_H_INCLUDED
#define PLUGINEDITOR_H_INCLUDED

#include “…/JuceLibraryCode/JuceHeader.h”
#include “PluginProcessor.h”

//==============================================================================
/**
*/
class NewProjectAudioProcessorEditor : public AudioProcessorEditor,private Button::Listener
{
public:
NewProjectAudioProcessorEditor (NewProjectAudioProcessor&);
~NewProjectAudioProcessorEditor();

//==============================================================================
void paint (Graphics&) override;
void resized() override;

private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
NewProjectAudioProcessor& processor;
void buttonClicked(Button* button);
TextButton tt;

JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NewProjectAudioProcessorEditor)

};

#endif // PLUGINEDITOR_H_INCLUDED

PluginEditor.cpp*********
/*

This file was auto-generated!

It contains the basic framework code for a JUCE plugin editor.

==============================================================================
*/

#include “PluginProcessor.h”
#include “PluginEditor.h”

//==============================================================================
NewProjectAudioProcessorEditor::NewProjectAudioProcessorEditor (NewProjectAudioProcessor& p)
: AudioProcessorEditor (&p), processor §
{
// Make sure that before the constructor has finished, you’ve set the
// editor’s size to whatever you need it to be.
setSize (400, 300);

tt.setButtonText("ok");
tt.addListener(this);
addAndMakeVisible(tt);

}

NewProjectAudioProcessorEditor::~NewProjectAudioProcessorEditor()
{
}

//==============================================================================
void NewProjectAudioProcessorEditor::paint (Graphics& g)
{
g.fillAll (Colours::white);

g.setColour (Colours::black);
g.setFont (15.0f);
g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1);

}

void NewProjectAudioProcessorEditor::resized()
{
// This is generally where you’ll want to lay out the positions of any
// subcomponents in your editor…
tt.setBounds(75,61,90,18);
}

void NewProjectAudioProcessorEditor::buttonClicked(Button *lbut)
{

}

Hi Jake_Penn,

i try to get through the source code here. I hope it arrives.

Thank you Thomas

/*

This file was auto-generated!

It contains the basic framework code for a JUCE plugin editor.

==============================================================================
*/

#ifndef PLUGINEDITOR_H_INCLUDED
#define PLUGINEDITOR_H_INCLUDED

#include “…/JuceLibraryCode/JuceHeader.h”
#include “PluginProcessor.h”

//==============================================================================
/**
*/
class NewProjectAudioProcessorEditor : public AudioProcessorEditor,private Button::Listener
{
public:
NewProjectAudioProcessorEditor (NewProjectAudioProcessor&);
~NewProjectAudioProcessorEditor();

//==============================================================================
void paint (Graphics&) override;
void resized() override;

private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
NewProjectAudioProcessor& processor;
void buttonClicked(Button* button);
TextButton tt;

JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NewProjectAudioProcessorEditor)

};

#endif // PLUGINEDITOR_H_INCLUDED

*****PluginEditor.cpp:
/

This file was auto-generated!

It contains the basic framework code for a JUCE plugin editor.

==============================================================================
*/

#include “PluginProcessor.h”
#include “PluginEditor.h”

//==============================================================================
NewProjectAudioProcessorEditor::NewProjectAudioProcessorEditor (NewProjectAudioProcessor& p)
: AudioProcessorEditor (&p), processor §
{
// Make sure that before the constructor has finished, you’ve set the
// editor’s size to whatever you need it to be.
setSize (400, 300);

tt.setButtonText("ok");
tt.addListener(this);
addAndMakeVisible(tt);

}

NewProjectAudioProcessorEditor::~NewProjectAudioProcessorEditor()
{
}

//==============================================================================
void NewProjectAudioProcessorEditor::paint (Graphics& g)
{
g.fillAll (Colours::white);

g.setColour (Colours::black);
g.setFont (15.0f);
g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1);

}

void NewProjectAudioProcessorEditor::resized()
{
// This is generally where you’ll want to lay out the positions of any
// subcomponents in your editor…
tt.setBounds(75,61,90,18);
}

void NewProjectAudioProcessorEditor::buttonClicked(Button *lbut)
{

}

Hi Thomas,

Not quite sure what happened there…

Anyways, I can’t really see much issue from your code except that the buttonClicked() is a public method.

best

Hi Jake,

thank you. It reveals to be Max7-64bit problem, just for the VST. If i load the component or compile the VST in32bit, everything fine.

Thomas