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

Closing a script saved in the tlpx without saving it crashes Tulip #69

Closed
renoust opened this issue Jan 16, 2019 · 1 comment
Closed

Comments

@renoust
Copy link

renoust commented Jan 16, 2019

This one I can reproduce easily on my setting with the attached tlpx file (remove .zip):
paintingsvis.tlpx.zip

Try quit the third script from the python view, this one is not saved on disk (other scripts are saved on disk here).
While quitting this script and saying no to saving it, I get the systematic crash (here is the stack trace)

#00 0x00007fff5e2473bf in szone_malloc_should_clear (+0x1a6) from /usr/lib/system/libsystem_malloc.dylib

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

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

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

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

#5 0x0000000113f1e52b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (+0x37b) from /Applications/Tulip-5.2.0-dev.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore

#6 0x00000001171b013e in qt_plugin_instance (+0x2083e) from /Applications/Tulip-5.2.0-dev.app/Contents/PlugIns/platforms/libqcocoa.dylib

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#24 0x0000000000000004 in ??? from ???

p-mary added a commit that referenced this issue Jan 18, 2019
…ive PythonCodeEditor at a time, only single instances of AutoCompletionList and AutoCompletionDatabase classes are needed
@p-mary
Copy link
Contributor

p-mary commented Jan 18, 2019

Thanks a lot for your report.

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