i-score-old / i-score

an interactive intermedia sequencer
www.i-score.org
23 stars 5 forks source link

refreshing a Minuit device crashes when boxes have content #43

Closed bltzr closed 10 years ago

bltzr commented 10 years ago

it only happens when something has been assigned to the end and start events of a box AND at least one remains to reproduce:

theod commented 10 years ago

same for me. here is the crash log :

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 OSSIA.i-score 0x0000000106da854c QTreeWidgetItem::parent() const + 12 (qtreewidget.h:180) 1 OSSIA.i-score 0x0000000106d9c4c3 NetworkTree::expandItems(QList<QTreeWidgetItem*>&) + 131 (NetworkTree.cpp:1071) 2 OSSIA.i-score 0x0000000106d9fb96 NetworkTree::refreshItemNamespace(QTreeWidgetItem_, bool) + 5334 (NetworkTree.cpp:1473) 3 OSSIA.i-score 0x0000000106d9fcb8 NetworkTree::refreshCurrentItemNamespace() + 72 (NetworkTree.cpp:1480) 4 OSSIA.i-score 0x0000000106ddfdf1 NetworkTree::qt_staticmetacall(QObject, QMetaObject::Call, int, void) + 1905 (mocNetworkTree.cpp:253) 5 QtCore 0x00000001083cbc6f QMetaObject::activate(QObject*, int, int, void**) + 1871 6 QtWidgets 0x00000001076052f4 QAction::activate(QAction::ActionEvent) + 260 7 QtWidgets 0x000000010775f65d QMenuPrivate::activateCausedStack(QList<QPointer > const&, QAction, QAction::ActionEvent, bool) + 77 8 QtWidgets 0x000000010775dc92 QMenuPrivate::activateAction(QAction, QAction::ActionEvent, bool) + 594 9 QtWidgets 0x00000001076454ee QWidget::event(QEvent) + 1486 10 QtWidgets 0x0000000107763894 QMenu::event(QEvent_) + 948 11 QtWidgets 0x000000010760d2dc QApplicationPrivate::notifyhelper(QObject, QEvent) + 300 12 QtWidgets 0x0000000107610727 QApplication::notify(QObject, QEvent) + 8631 13 OSSIA.i-score 0x0000000106dd4bc4 IScoreApplication::notify(QObject, QEvent) + 36 (IScoreApplication.cpp:24) 14 QtCore 0x0000000108397a52 QCoreApplication::notifyInternal(QObject, QEvent) + 114 15 QtWidgets 0x000000010760dbc8 QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer&, bool) + 952 16 QtWidgets 0x0000000107663beb QWidgetWindow::handleMouseEvent(QMouseEvent) + 2235 17 QtWidgets 0x0000000107662adf QWidgetWindow::event(QEvent_) + 111 18 QtWidgets 0x000000010760d2dc QApplicationPrivate::notifyhelper(QObject, QEvent) + 300 19 QtWidgets 0x000000010760fd9b QApplication::notify(QObject, QEvent) + 6187 20 OSSIA.i-score 0x0000000106dd4bc4 IScoreApplication::notify(QObject, QEvent) + 36 (IScoreApplication.cpp:24) 21 QtCore 0x0000000108397a52 QCoreApplication::notifyInternal(QObject, QEvent) + 114 22 QtGui 0x0000000107c5390c QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent) + 2140 23 QtGui 0x0000000107c52875 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent) + 117 24 QtGui 0x0000000107c417ab QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) + 315 25 libqcocoa.dylib 0x0000000109e49add QCocoaEventDispatcherPrivate::processPostedEvents() + 285 26 libqcocoa.dylib 0x0000000109e4a478 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void) + 40 27 com.apple.CoreFoundation 0x00007fff8fb68b31 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 28 com.apple.CoreFoundation 0x00007fff8fb68455 CFRunLoopDoSources0 + 245 29 com.apple.CoreFoundation 0x00007fff8fb8b7f5 CFRunLoopRun + 789 30 com.apple.CoreFoundation 0x00007fff8fb8b0e2 CFRunLoopRunSpecific + 290 31 com.apple.HIToolbox 0x00007fff88065eb4 RunCurrentEventLoopInMode + 209 32 com.apple.HIToolbox 0x00007fff88065b94 ReceiveNextEventCommon + 166 33 com.apple.HIToolbox 0x00007fff88065ae3 BlockUntilNextEventMatchingListInMode + 62 34 com.apple.AppKit 0x00007fff8b229533 DPSNextEvent + 685 35 com.apple.AppKit 0x00007fff8b228df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 36 com.apple.AppKit 0x00007fff8b2201a3 -[NSApplication run] + 517 37 libqcocoa.dylib 0x0000000109e491d4 QCocoaEventDispatcher::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 2420 38 QtCore 0x0000000108394acd QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 381 39 QtWidgets 0x0000000107761ee2 QMenu::exec(QPoint const&, QAction) + 114 40 OSSIA.i-score 0x0000000106da08e8 NetworkTree::mousePressEvent(QMouseEvent) + 760 (NetworkTree.cpp:1729) 41 QtWidgets 0x00000001076454da QWidget::event(QEvent) + 1466 42 QtWidgets 0x0000000107725867 QFrame::event(QEvent) + 183 43 QtWidgets 0x00000001077a3aaa QAbstractScrollArea::viewportEvent(QEvent) + 122 44 QtWidgets 0x0000000107827c7f QAbstractItemView::viewportEvent(QEvent) + 1391 45 QtWidgets 0x0000000107863c48 QTreeView::viewportEvent(QEvent) + 520 46 QtWidgets 0x00000001077a45b5 QAbstractScrollAreaFilter::eventFilter(QObject, QEvent) + 37 47 QtCore 0x0000000108397d4c QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject, QEvent) + 156 48 QtWidgets 0x000000010760d2c9 QApplicationPrivate::notifyhelper(QObject, QEvent) + 281 49 QtWidgets 0x0000000107610727 QApplication::notify(QObject, QEvent) + 8631 50 OSSIA.i-score 0x0000000106dd4bc4 IScoreApplication::notify(QObject, QEvent) + 36 (IScoreApplication.cpp:24) 51 QtCore 0x0000000108397a52 QCoreApplication::notifyInternal(QObject, QEvent) + 114 52 QtWidgets 0x000000010760dbc8 QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer&, bool) + 952 53 QtWidgets 0x00000001076637fc QWidgetWindow::handleMouseEvent(QMouseEvent) + 1228 54 QtWidgets 0x0000000107662adf QWidgetWindow::event(QEvent_) + 111 55 QtWidgets 0x000000010760d2dc QApplicationPrivate::notifyhelper(QObject, QEvent) + 300 56 QtWidgets 0x000000010760fd9b QApplication::notify(QObject, QEvent) + 6187 57 OSSIA.i-score 0x0000000106dd4bc4 IScoreApplication::notify(QObject, QEvent) + 36 (IScoreApplication.cpp:24) 58 QtCore 0x0000000108397a52 QCoreApplication::notifyInternal(QObject, QEvent) + 114 59 QtGui 0x0000000107c5390c QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent) + 2140 60 QtGui 0x0000000107c52875 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent_) + 117 61 QtGui 0x0000000107c417ab QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) + 315 62 libqcocoa.dylib 0x0000000109e49add QCocoaEventDispatcherPrivate::processPostedEvents() + 285 63 libqcocoa.dylib 0x0000000109e4a478 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40 64 com.apple.CoreFoundation 0x00007fff8fb68b31 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 17 65 com.apple.CoreFoundation 0x00007fff8fb68455 CFRunLoopDoSources0 + 245 66 com.apple.CoreFoundation 0x00007fff8fb8b7f5 CFRunLoopRun + 789 67 com.apple.CoreFoundation 0x00007fff8fb8b0e2 CFRunLoopRunSpecific + 290 68 com.apple.HIToolbox 0x00007fff88065eb4 RunCurrentEventLoopInMode + 209 69 com.apple.HIToolbox 0x00007fff88065b94 ReceiveNextEventCommon + 166 70 com.apple.HIToolbox 0x00007fff88065ae3 BlockUntilNextEventMatchingListInMode + 62 71 com.apple.AppKit 0x00007fff8b229533 _DPSNextEvent + 685 72 com.apple.AppKit 0x00007fff8b228df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 73 com.apple.AppKit 0x00007fff8b2201a3 -[NSApplication run] + 517 74 libqcocoa.dylib 0x0000000109e491d4 QCocoaEventDispatcher::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 2420 75 QtCore 0x0000000108394acd QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 381 76 QtCore 0x0000000108398007 QCoreApplication::exec() + 359 77 OSSIA.i-score 0x0000000106c9d64d main + 413 (main.cpp:53) 78 OSSIA.i-score 0x0000000106c9d4a4 start + 52

bltzr commented 10 years ago

fixed now, thanks @jcelerier