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

Crash while repetitive change of window #60

Closed
renoust opened this issue Dec 25, 2018 · 4 comments
Closed

Crash while repetitive change of window #60

renoust opened this issue Dec 25, 2018 · 4 comments

Comments

@renoust
Copy link

renoust commented Dec 25, 2018

Hard to trigger on purpose, but a recurring crash.
I am currently curating a dataset using Tulip visualization and frequently changing window (mostly Ms. Excel) using option+tab. The frequent change and repetitive change occasionally results in a crash of Tulip (stack trace pasted below). Note that the graph contains a lot of node textures.

(The version of Tulip is self compiled from 5.2 / mac / clang / x82_64)

#00 0x00007fff719dae9d in objc_msgSend (+0x1d) from /usr/lib/libobjc.A.dylib

#1 0x00000001124b2886 in qt_plugin_instance (+0x2a646) from /Applications/Tulip-5.2.ben.app/Contents/PlugIns/platforms/libqcocoa.dylib

#2 0x00000001124b055b in qt_plugin_instance (+0x2831b) from /Applications/Tulip-5.2.ben.app/Contents/PlugIns/platforms/libqcocoa.dylib

#3 0x00000001124b4810 in qt_plugin_instance (+0x2c5d0) from /Applications/Tulip-5.2.ben.app/Contents/PlugIns/platforms/libqcocoa.dylib

#4 0x00000001124b3b40 in qt_plugin_instance (+0x2b900) from /Applications/Tulip-5.2.ben.app/Contents/PlugIns/platforms/libqcocoa.dylib

#5 0x0000000110fbbaaa in QMetaObject::activate(QObject*, int, int, void**) (+0xb8a) from /Applications/Tulip-5.2.ben.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#6 0x00000001103d0e33 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) (+0x2d3) from /Applications/Tulip-5.2.ben.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui

#7 0x00000001103b5d4b in QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) (+0x9b) from /Applications/Tulip-5.2.ben.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui

#8 0x00000001124abaf1 in qt_plugin_instance (+0x238b1) from /Applications/Tulip-5.2.ben.app/Contents/PlugIns/platforms/libqcocoa.dylib

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

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

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

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

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

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

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

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

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

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

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

#20 0x00000001124aa8ed in qt_plugin_instance (+0x226ad) from /Applications/Tulip-5.2.ben.app/Contents/PlugIns/platforms/libqcocoa.dylib

#21 0x0000000110f863b2 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) (+0x1a2) from /Applications/Tulip-5.2.ben.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#22 0x0000000110f8af72 in QCoreApplication::exec() (+0x192) from /Applications/Tulip-5.2.ben.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#23 0x000000010893b7c5 in main (+0x1555) from /Applications/Tulip-5.2.ben.app/Contents/bin/tulip_perspective

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

#25 0x0000000000000005 in ??? from ???

@renoust renoust changed the title Crash with repetitive change of window Crash while repetitive change of window Dec 25, 2018
@renoust
Copy link
Author

renoust commented Dec 25, 2018

(I tried to reproduce it on purpose but it is difficult, here are some other clues that may help:

  • the instance of Tulip (not the perspective because this is the one that crashed) was open for quite a while, I had to quit and relaunch it because no new graph perspective was loading my graph anymore at some point.
  • I was regularly suppressing couples nodes between my quick opt+tab manipulations)

Anyways, I wrote this message to share the stack trace should it help.

@p-mary
Copy link
Contributor

p-mary commented Jan 2, 2019

Seems to be a qt/MacOSX specific problem.
As you can see in the stack trace of the crash, Tulip is not involved (no tlp:: function in the stack).
Since the problem occured in your own build of Tulip, I suggest you to try to reproduce it in using the downloadable build of Tulip 5.2.

@renoust
Copy link
Author

renoust commented Jan 4, 2019 via email

@p-mary
Copy link
Contributor

p-mary commented Jan 4, 2019

Let me know if it works or not with the official bundle.

@p-mary p-mary closed this as completed Jan 4, 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