Carbon plugins in JUCE plugin host?

Is this possible at all? When trying to display the GUI, with some plugins (e.q. Stillwell 1973 EQ) I get a white window and then a crash:

[code]Process: Plugin Host [300]
Path: /Volumes/NO NAME/programming/juce/extras/audio plugin host/Builds/MacOSX/build/Release/Plugin Host.app/Contents/MacOS/Plugin Host
Identifier: com.rawmaterialsoftware.pluginhost
Version: 1.0.0 (1.0.0)
Code Type: X86 (Native)
Parent Process: launchd [76]

Date/Time: 2010-03-18 09:45:46.168 +0100
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6

Interval Since Last Report: 367719 sec
Crashes Since Last Report: 140
Per-App Interval Since Last Report: 1620 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: 52670AE4-343E-460D-8279-2365FA88949B

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000064
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 …illwellaudio.audiounit.1973 0x14279857 -[IGraphicsCocoa_v1002 drawRect:] + 39
1 com.apple.AppKit 0x91b8da99 -[NSView _drawRect:clip:] + 3510
2 com.apple.AppKit 0x91b8c737 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1600
3 com.apple.AppKit 0x91b8ca6c -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2421
4 com.apple.AppKit 0x91b8ca6c -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2421
5 com.apple.AppKit 0x91b8ac56 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 711
6 com.apple.AppKit 0x91c29b5f -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 311
7 com.apple.AppKit 0x91b87111 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3309
8 com.apple.AppKit 0x91ae7d6e -[NSView displayIfNeeded] + 818
9 com.apple.AppKit 0x91a9b9c5 -[NSNextStepFrame displayIfNeeded] + 98
10 com.apple.AppKit 0x91ab1094 -[NSWindow displayIfNeeded] + 204
11 com.apple.AppKit 0x91ae25aa _handleWindowNeedsDisplay + 696
12 com.apple.Foundation 0x94af796c __NSFireTimer + 141
13 com.apple.CoreFoundation 0x912ffedb __CFRunLoopRun + 8059
14 com.apple.CoreFoundation 0x912fd864 CFRunLoopRunSpecific + 452
15 com.apple.CoreFoundation 0x912fd691 CFRunLoopRunInMode + 97
16 com.apple.HIToolbox 0x96711f0c RunCurrentEventLoopInMode + 392
17 com.apple.HIToolbox 0x96711cc3 ReceiveNextEventCommon + 354
18 com.apple.HIToolbox 0x96711b48 BlockUntilNextEventMatchingListInMode + 81
19 com.apple.AppKit 0x91ab8ac5 _DPSNextEvent + 847
20 com.apple.AppKit 0x91ab8306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
21 com.apple.AppKit 0x91a7a49f -[NSApplication run] + 821
22 …materialsoftware.pluginhost 0x001813a9 juce::MessageManager::runDispatchLoop() + 707
23 …materialsoftware.pluginhost 0x00087a4c juce::JUCEApplication::main(juce::String&, juce::JUCEApplication*) + 56
24 …materialsoftware.pluginhost 0x00087ba3 juce::JUCEApplication::main(int, char**, juce::JUCEApplication*) + 139
25 …materialsoftware.pluginhost 0x0000a02d main + 96
26 …materialsoftware.pluginhost 0x0000476d _start + 208
27 …materialsoftware.pluginhost 0x0000469c start + 40[/code]

With others (e.g. PSPAudioware effects) the GUI is displayed but not responsive (i.e. you can’t turn any knobs). When using the VST versions of said plugins in the plugin host there are no issues.

Is that a carbon plugin? Looks like a crash in the plugin’s cocoa method to me…

That confuses me also… but auval says it has a carbon GUI.

Can’t really see what’s going on from the stack trace - it’s the sort of bug that’d be easy for the plugin writers to debug, but very hard to figure out from the outside.

Ok, I’ll try to get them to debug this then.

That’s not to say it’s not a juce problem - it’s just very hard to guess exactly what it is that their code doesn’t like…