score icon indicating copy to clipboard operation
score copied to clipboard

[macos][crash] on attempt to open VST3 plugin GUI

Open tekknovator opened this issue 3 years ago • 8 comments

Reproducible with foss synthesizer surge XT 1.0.0 Intermittent crashes with proprietary plugin Retrologue by Steinberg So far the majority of plug-ins tested seem to cause crashes.

Steps to reproduce

  1. create a new project in ossia score
  2. drag surge vst3 process from Processes into timeline
  3. click "show/hide GUI"

Result: crash

Ossia Score version: Official download from https://github.com/ossia/score/releases/download/v3.0.8/ossia.score-3.0.8-macOS.dmg

Hardware Overview:

Model Name: MacBook Pro Model Identifier: MacBookPro16,1 Processor Name: 8-Core Intel Core i9 Processor Speed: 2,3 GHz Number of Processors: 1 Total Number of Cores: 8 L2 Cache (per Core): 256 KB L3 Cache: 16 MB Hyper-Threading Technology: Enabled Memory: 32 GB

please pm for crashlog.

tekknovator avatar Apr 25 '22 08:04 tekknovator

thanks for the report, the crashlog would be useful indeed, can you mail it to [email protected] ?

I don't have my Mac available this week so won't be available to look at it until early next week at best, unless it's something very obvious from the crashlog, sorry..

jcelerier avatar Apr 25 '22 08:04 jcelerier

Done @jcelerier 👍

tekknovator avatar Apr 25 '22 12:04 tekknovator

seems to work correctly on my mac on 3.0.12 with Surge XT, can you check again @tekknovator ? (sorry for the long delay)

jcelerier avatar Jul 18 '22 15:07 jcelerier

Confirmed works with 3.0.12. Closing the issue, thanks a million for your work.

tekknovator avatar Jul 20 '22 12:07 tekknovator

Uhh, just tried with some proprietary VST3 synth and it crashed again 😓

tekknovator avatar Jul 20 '22 12:07 tekknovator

Crash occured in main thread. I did not include call 0 because it reveals the name of a yet to be released project which I am currently a tester. 1 io.ossia.score 0x0000000110123cb6 vst3::createVstWindowContainer(vst3::Window&, vst3::Model const&, score::DocumentContext const&) + 310 2 io.ossia.score 0x000000011010cbc1 vst3::Window::Window(vst3::Model const&, score::DocumentContext const&, QWidget*) + 113 3 io.ossia.score 0x0000000110116602 Process::EffectLayerFactory_T<vst3::Model, vst3::VSTEffectItem, vst3::Window>::makeExternalUI(Process::ProcessModel const&, score::DocumentContext const&, QWidget*) const + 50 4 io.ossia.score 0x000000010fa20838 QtPrivate::QFunctorSlotObject<Process::makeExternalUIButton(Process::ProcessModel const&, score::DocumentContext const&, QObject*, QGraphicsItem*)::$_99, 1, QtPrivate::List<bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 120 5 io.ossia.score 0x0000000117b7ddf2 void doActivate<false>(QObject*, int, void**) + 1122 6 io.ossia.score 0x000000010f8fb6bf non-virtual thunk to score::QGraphicsPixmapToggle::mousePressEvent(QGraphicsSceneMouseEvent*) + 95 7 io.ossia.score 0x000000011755c49c QGraphicsItem::sceneEvent(QEvent*) + 460 8 io.ossia.score 0x000000011757c995 QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) + 677 9 io.ossia.score 0x000000011757d15b QGraphicsScenePrivate::mousePressEventHandler(QGraphicsSceneMouseEvent*) + 1787 10 io.ossia.score 0x0000000117586b1a QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) + 90 11 io.ossia.score 0x0000000117581828 QGraphicsScene::event(QEvent*) + 888 12 io.ossia.score 0x00000001172fff56 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262 13 io.ossia.score 0x000000011730133b QApplication::notify(QObject*, QEvent*) + 475 14 io.ossia.score 0x000000010f90b185 SafeQApplication::notify(QObject*, QEvent*) + 21 15 io.ossia.score 0x0000000117b4d4b7 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167 16 io.ossia.score 0x00000001175ab229 QGraphicsView::mousePressEvent(QMouseEvent*) + 1033 17 io.ossia.score 0x000000010fbb9118 Scenario::ProcessGraphicsView::mousePressEvent(QMouseEvent*) + 200 18 io.ossia.score 0x000000011733a985 QWidget::event(QEvent*) + 421 19 io.ossia.score 0x000000011739e4bb QFrame::event(QEvent*) + 43 20 io.ossia.score 0x00000001175aa110 QGraphicsView::viewportEvent(QEvent*) + 1216 21 io.ossia.score 0x0000000117b4d789 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 249 22 io.ossia.score 0x00000001172fff41 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 241 23 io.ossia.score 0x0000000117302e09 QApplication::notify(QObject*, QEvent*) + 7337 24 io.ossia.score 0x000000010f90b185 SafeQApplication::notify(QObject*, QEvent*) + 21 25 io.ossia.score 0x0000000117b4d4b7 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167 26 io.ossia.score 0x0000000117300884 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 916 27 io.ossia.score 0x0000000117358d3d QWidgetWindow::handleMouseEvent(QMouseEvent*) + 2077 28 io.ossia.score 0x00000001173578b1 QWidgetWindow::event(QEvent*) + 241 29 io.ossia.score 0x00000001172fff56 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262 30 io.ossia.score 0x000000011730133b QApplication::notify(QObject*, QEvent*) + 475 31 io.ossia.score 0x000000010f90b185 SafeQApplication::notify(QObject*, QEvent*) + 21 32 io.ossia.score 0x0000000117b4d4b7 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167 33 io.ossia.score 0x0000000117652ece QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 3470 34 io.ossia.score 0x000000011763aacc QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 204 35 io.ossia.score 0x00000001102d98ac QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 172 36 com.apple.CoreFoundation 0x00007fff2090ccec __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 37 com.apple.CoreFoundation 0x00007fff2090cc54 __CFRunLoopDoSource0 + 180 38 com.apple.CoreFoundation 0x00007fff2090c9d4 __CFRunLoopDoSources0 + 242 39 com.apple.CoreFoundation 0x00007fff2090b3fc __CFRunLoopRun + 893 40 com.apple.CoreFoundation 0x00007fff2090a9bc CFRunLoopRunSpecific + 563 41 com.apple.HIToolbox 0x00007fff28b53a83 RunCurrentEventLoopInMode + 292 42 com.apple.HIToolbox 0x00007fff28b536b6 ReceiveNextEventCommon + 284 43 com.apple.HIToolbox 0x00007fff28b53583 _BlockUntilNextEventMatchingListInModeWithFilter + 70 44 com.apple.AppKit 0x00007fff23113b12 _DPSNextEvent + 864 45 com.apple.AppKit 0x00007fff231122e5 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364 46 com.apple.AppKit 0x00007fff23104609 -[NSApplication run] + 586 47 io.ossia.score 0x00000001102d838c QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2332 48 io.ossia.score 0x0000000117b49b86 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 502 49 io.ossia.score 0x0000000117b4da52 QCoreApplication::exec() + 130 50 io.ossia.score 0x000000010f89ec0a main + 1658 51 libdyld.dylib 0x00007fff2082ff3d start + 1

tekknovator avatar Jul 20 '22 12:07 tekknovator

arf, I guess the plug-in which crashed is proprietary info too then ?

jcelerier avatar Jul 20 '22 13:07 jcelerier

here's a debug version of score, if you have some time would you be able to run it and give me the same crash log ? it should have a bit more info...

thanks !

https://transfer.sh/8fktrj/score-3.0.12-debug.zip

jcelerier avatar Jul 20 '22 13:07 jcelerier