Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Stack trace of crash during changing graph in the histogram view #99

Closed
renoust opened this issue Apr 19, 2019 · 3 comments
Closed

Stack trace of crash during changing graph in the histogram view #99

renoust opened this issue Apr 19, 2019 · 3 comments

Comments

@renoust
Copy link

renoust commented Apr 19, 2019

Just in case it may help.
The crash is rather random. Action taken: linking the histogram view with graph selection, and operating many changes with keyboard (in an animated fashion).

#00 0x00007fff66d7c342 in tiny_malloc_from_free_list (+0x1af) from /usr/lib/system/libsystem_malloc.dylib

#1 0x000000011ac0c8b1 in tlp::HistogramView::draw() (+0x261) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/view/libHistogramView-5.2.0-dev.dylib

#2 0x000000011ac09a42 in tlp::HistogramView::viewConfigurationChanged() (+0x292) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/view/libHistogramView-5.2.0-dev.dylib

#3 0x000000011ac07fe6 in tlp::HistogramView::setState(tlp::DataSet const&) (+0x2816) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/view/libHistogramView-5.2.0-dev.dylib

#4 0x000000011ac0d07c in tlp::HistogramView::graphChanged(tlp::Graph*) (+0x2c) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/view/libHistogramView-5.2.0-dev.dylib

#5 0x0000000109220952 in tlp::View::setGraph(tlp::Graph*) (+0x82) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/libtulip-gui-5.2.dylib

#6 0x000000011af00cba in GraphPerspective::currentGraphChanged(tlp::Graph*) (+0x2ea) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/perspective/libGraphPerspective-5.2.0-dev.dylib

#7 0x0000000110cf3279 in QMetaObject::activate(QObject*, int, int, void**) (+0xc29) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#8 0x00000001092a706c in tlp::GraphHierarchiesModel::currentGraphChanged(tlp::Graph*) (+0x3c) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/libtulip-gui-5.2.dylib

#9 0x00000001092438f9 in tlp::GraphHierarchiesModel::setCurrentGraph(tlp::Graph*) (+0x349) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/libtulip-gui-5.2.dylib

#10 0x000000011aeea89f in GraphHierarchiesEditor::currentChanged(QModelIndex const&, QModelIndex const&) (+0x12f) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/perspective/libGraphPerspective-5.2.0-dev.dylib

#11 0x0000000110cf3279 in QMetaObject::activate(QObject*, int, int, void**) (+0xc29) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#12 0x0000000110c7fb34 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlagsQItemSelectionModel::SelectionFlag) (+0x104) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#13 0x000000010a2e1fc7 in QAbstractItemView::mousePressEvent(QMouseEvent*) (+0x3b7) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#14 0x000000010a353619 in QTreeView::mousePressEvent(QMouseEvent*) (+0x1a9) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#15 0x000000010a0a6bea in QWidget::event(QEvent*) (+0x22a) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#16 0x000000010a15aa4d in QFrame::event(QEvent*) (+0x2d) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#17 0x000000010a165197 in QAbstractScrollArea::viewportEvent(QEvent*) (+0x87) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#18 0x000000010a2e1a69 in QAbstractItemView::viewportEvent(QEvent*) (+0x599) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#19 0x000000010a34ff75 in QTreeView::viewportEvent(QEvent*) (+0x205) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#20 0x000000010a165e14 in QAbstractScrollArea::qt_metacall(QMetaObject::Call, int, void**) (+0x184) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#21 0x0000000110cc163b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (+0xcb) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#22 0x000000010a06d628 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (+0x118) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#23 0x000000010a07061f in QApplication::notify(QObject*, QEvent*) (+0x1def) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#24 0x0000000110cc13a4 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (+0xa4) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#25 0x000000010a06df6a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) (+0x36a) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#26 0x000000010a0c72e6 in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**) (+0x2346) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#27 0x000000010a0c6169 in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**) (+0x11c9) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#28 0x000000010a06d63d in QApplicationPrivate::notify_helper(QObject*, QEvent*) (+0x12d) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#29 0x000000010a06e9b7 in QApplication::notify(QObject*, QEvent*) (+0x187) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#30 0x0000000110cc13a4 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (+0xa4) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#31 0x000000011010a96c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (+0xbfc) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui

#32 0x00000001100f05fb in QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) (+0x9b) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui

#33 0x0000000113c30a01 in qt_plugin_instance (+0x21101) from /Applications/Tulip-5.2.0-dev.app/Contents/PlugIns/platforms/libqcocoa.dylib

#34 0x00007fff3e8d6a61 in CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION (+0x11) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#35 0x00007fff3e99047c in __CFRunLoopDoSource0 (+0x6c) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#36 0x00007fff3e8b94c0 in __CFRunLoopDoSources0 (+0xd0) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#37 0x00007fff3e8b893d in __CFRunLoopRun (+0x50d) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#38 0x00007fff3e8b81a3 in CFRunLoopRunSpecific (+0x1e3) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#39 0x00007fff3dba0d96 in RunCurrentEventLoopInMode (+0x11e) from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox

#40 0x00007fff3dba0a0f in ReceiveNextEventCommon (+0x16e) from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox

#41 0x00007fff3dba0884 in _BlockUntilNextEventMatchingListInModeWithFilter (+0x40) from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox

#42 0x00007fff3be53a73 in _DPSNextEvent (+0x825) from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

#43 0x00007fff3c5e9e34 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (+0xbe4) from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

#44 0x00007fff3be48885 in -[NSApplication run] (+0x2fc) from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

#45 0x0000000113c2f76d in qt_plugin_instance (+0x1fe6d) from /Applications/Tulip-5.2.0-dev.app/Contents/PlugIns/platforms/libqcocoa.dylib

#46 0x0000000110cbcea1 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) (+0x1a1) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#47 0x0000000110cc1a48 in QCoreApplication::exec() (+0x188) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#48 0x00000001090ae54f in main (+0x149f) from /Applications/Tulip-5.2.0-dev.app/Contents/bin/tulip_perspective

#49 0x00007fff66bd2015 in start (+0x1) from /usr/lib/system/libdyld.dylib

@renoust
Copy link
Author

renoust commented Apr 19, 2019

It seems to be recurrent. Here is another trace.
I am not completely certain, but I think the bug comes after I am closing the view's minibar.
(video available here: https://drive.google.com/file/d/1e4aK8SwdORMRxoL8SYWxi8k5K2gacTgM/view?usp=sharing)

#00 0x00000001053edff8 in QWidget::setEnabled(bool) (+0x8) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#1 0x0000000115d1a692 in tlp::HistogramView::draw() (+0x42) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/view/libHistogramView-5.2.0-dev.dylib

#2 0x0000000115d17a42 in tlp::HistogramView::viewConfigurationChanged() (+0x292) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/view/libHistogramView-5.2.0-dev.dylib

#3 0x0000000115d15fe6 in tlp::HistogramView::setState(tlp::DataSet const&) (+0x2816) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/view/libHistogramView-5.2.0-dev.dylib

#4 0x0000000115d1b07c in tlp::HistogramView::graphChanged(tlp::Graph*) (+0x2c) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/view/libHistogramView-5.2.0-dev.dylib

#5 0x000000010455c952 in tlp::View::setGraph(tlp::Graph*) (+0x82) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/libtulip-gui-5.2.dylib

#6 0x000000011600ecba in GraphPerspective::currentGraphChanged(tlp::Graph*) (+0x2ea) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/perspective/libGraphPerspective-5.2.0-dev.dylib

#7 0x000000010c258279 in QMetaObject::activate(QObject*, int, int, void**) (+0xc29) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#8 0x00000001045e306c in tlp::GraphHierarchiesModel::currentGraphChanged(tlp::Graph*) (+0x3c) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/libtulip-gui-5.2.dylib

#9 0x000000010457f8f9 in tlp::GraphHierarchiesModel::setCurrentGraph(tlp::Graph*) (+0x349) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/libtulip-gui-5.2.dylib

#10 0x0000000115ff889f in GraphHierarchiesEditor::currentChanged(QModelIndex const&, QModelIndex const&) (+0x12f) from /Applications/Tulip-5.2.0-dev.app/Contents/lib/tulip/perspective/libGraphPerspective-5.2.0-dev.dylib

#11 0x000000010c258279 in QMetaObject::activate(QObject*, int, int, void**) (+0xc29) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#12 0x000000010c1e4b34 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlagsQItemSelectionModel::SelectionFlag) (+0x104) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#13 0x0000000105635fc7 in QAbstractItemView::mousePressEvent(QMouseEvent*) (+0x3b7) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#14 0x00000001056a7619 in QTreeView::mousePressEvent(QMouseEvent*) (+0x1a9) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#15 0x00000001053fabea in QWidget::event(QEvent*) (+0x22a) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#16 0x00000001054aea4d in QFrame::event(QEvent*) (+0x2d) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#17 0x00000001054b9197 in QAbstractScrollArea::viewportEvent(QEvent*) (+0x87) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#18 0x0000000105635a69 in QAbstractItemView::viewportEvent(QEvent*) (+0x599) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#19 0x00000001056a3f75 in QTreeView::viewportEvent(QEvent*) (+0x205) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#20 0x00000001054b9e14 in QAbstractScrollArea::qt_metacall(QMetaObject::Call, int, void**) (+0x184) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#21 0x000000010c22663b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (+0xcb) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#22 0x00000001053c1628 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (+0x118) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#23 0x00000001053c461f in QApplication::notify(QObject*, QEvent*) (+0x1def) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#24 0x000000010c2263a4 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (+0xa4) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#25 0x00000001053c1f6a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) (+0x36a) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#26 0x000000010541b2e6 in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**) (+0x2346) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#27 0x000000010541a169 in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**) (+0x11c9) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#28 0x00000001053c163d in QApplicationPrivate::notify_helper(QObject*, QEvent*) (+0x12d) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#29 0x00000001053c29b7 in QApplication::notify(QObject*, QEvent*) (+0x187) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets

#30 0x000000010c2263a4 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (+0xa4) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#31 0x000000010b7e996c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (+0xbfc) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui

#32 0x000000010b7cf5fb in QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) (+0x9b) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui

#33 0x000000010f030a01 in qt_plugin_instance (+0x21101) from /Applications/Tulip-5.2.0-dev.app/Contents/PlugIns/platforms/libqcocoa.dylib

#34 0x00007fff3e8d6a61 in CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION (+0x11) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#35 0x00007fff3e99047c in __CFRunLoopDoSource0 (+0x6c) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#36 0x00007fff3e8b94c0 in __CFRunLoopDoSources0 (+0xd0) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#37 0x00007fff3e8b893d in __CFRunLoopRun (+0x50d) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#38 0x00007fff3e8b81a3 in CFRunLoopRunSpecific (+0x1e3) from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

#39 0x00007fff3dba0d96 in RunCurrentEventLoopInMode (+0x11e) from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox

#40 0x00007fff3dba0a0f in ReceiveNextEventCommon (+0x16e) from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox

#41 0x00007fff3dba0884 in _BlockUntilNextEventMatchingListInModeWithFilter (+0x40) from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox

#42 0x00007fff3be53a73 in _DPSNextEvent (+0x825) from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

#43 0x00007fff3c5e9e34 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (+0xbe4) from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

#44 0x00007fff3be48885 in -[NSApplication run] (+0x2fc) from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

#45 0x000000010f02f76d in qt_plugin_instance (+0x1fe6d) from /Applications/Tulip-5.2.0-dev.app/Contents/PlugIns/platforms/libqcocoa.dylib

#46 0x000000010c221ea1 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) (+0x1a1) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#47 0x000000010c226a48 in QCoreApplication::exec() (+0x188) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#48 0x00000001043e854f in main (+0x149f) from /Applications/Tulip-5.2.0-dev.app/Contents/bin/tulip_perspective

#49 0x00007fff66bd2015 in start (+0x1) from /usr/lib/system/libdyld.dylib

@renoust
Copy link
Author

renoust commented Apr 19, 2019

Yes I can confirm, the crash occurs after closing the minibar below the view.

@p-mary
Copy link
Contributor

p-mary commented Apr 19, 2019

Thank you very much for your report. I cannot reproduce your bug with Tulip 5.3.
From my point of view, this problem has been fixed by commit e8f85ce.

@p-mary p-mary closed this as completed Apr 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants