[Qt-creator] 4.4 Freezes/crashes

Alexandru Croitor alexandru.croitor at qt.io
Mon Sep 11 10:38:54 CEST 2017


Hi,

I have had the exact same issue on macOS 10.12, with Creator 4.4.
Aka, right clicking on some code froze the UI, but menus were still accessible.
I didn't check the CPU usage, and it didn't crash for me in the end, because after lots of clicking and switching it somehow restored to normal behavior, although I don't know which part helps.

On 8. Sep 2017, at 21:52, Andy <asmaloney at gmail.com<mailto:asmaloney at gmail.com>> wrote:

Just wondering if anyone else is experiencing freezes with 4.4?

I'm on macOS 10.12.6. It's not reproducible (at least I haven't figured out the pattern yet).

It seems to happen (occasionally) when I right-click to get a context menu on a symbol. Keyboard does not respond, mouse doesn't respond in the text area, but I can select menu items (which don't do anything because it's frozen).

Eventually it either crashes or I have to force quit.


Process:               Qt Creator [89433]
Path:                  /Applications/Qt Creator44.app/Contents/MacOS/Qt Creator
Identifier:            org.qt-project.qtcreator
Version:               4.4 (4.4.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Qt Creator [89433]
User ID:               501

Date/Time:             2017-09-08 15:49:35.058 -0400
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        BAFB1198-E108-24F5-0223-0CA33EBD8ED4


Time Awake Since Boot: 710000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtGui              0x000000010743a838 QTextDocument::revision() const + 8
1   libCppEditor.dylib                0x00000001129afb0c CppEditor::Internal::CppUseSelectionsUpdater::update(CppEditor::Internal::CppUseSelectionsUpdater::CallType) + 1292
2   libCppEditor.dylib                0x000000011293152d CppEditor::Internal::CppEditorWidget::contextMenuEvent(QContextMenuEvent*) + 381
3   org.qt-project.QtWidgets          0x0000000106d9d2aa QWidget::event(QEvent*) + 2826
4   org.qt-project.QtWidgets          0x0000000106e922dd QFrame::event(QEvent*) + 45
5   org.qt-project.QtWidgets          0x0000000106f16573 QAbstractScrollArea::viewportEvent(QEvent*) + 179
6   libTextEditor.dylib               0x00000001119887a9 TextEditor::TextEditorWidget::viewportEvent(QEvent*) + 617
7   org.qt-project.QtWidgets          0x0000000106f17125 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 37
8   org.qt-project.QtCore             0x0000000107a23c8a QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 202
9   org.qt-project.QtWidgets          0x0000000106d62bc8 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 248
10  org.qt-project.QtWidgets          0x0000000106d64495 QApplication::notify(QObject*, QEvent*) + 1733
11  org.qt-project.QtCore             0x0000000107a239f4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
12  org.qt-project.QtWidgets          0x0000000106dbdd9f QWidgetWindow::handleMouseEvent(QMouseEvent*) + 3519
13  org.qt-project.QtWidgets          0x0000000106dbc58f QWidgetWindow::event(QEvent*) + 175
14  org.qt-project.QtWidgets          0x0000000106d62bdd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
15  org.qt-project.QtWidgets          0x0000000106d654ac QApplication::notify(QObject*, QEvent*) + 5852
16  org.qt-project.QtCore             0x0000000107a239f4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
17  org.qt-project.QtGui              0x000000010734ade7 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2855
18  org.qt-project.QtGui              0x000000010733225b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155
19  libqcocoa.dylib                   0x0000000109c7db21 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
20  com.apple.CoreFoundation          0x00007fffc221a321 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
21  com.apple.CoreFoundation          0x00007fffc21fb21d __CFRunLoopDoSources0 + 557
22  com.apple.CoreFoundation          0x00007fffc21fa716 __CFRunLoopRun + 934
23  com.apple.CoreFoundation          0x00007fffc21fa114 CFRunLoopRunSpecific + 420
24  com.apple.HIToolbox               0x00007fffc175aebc RunCurrentEventLoopInMode + 240
25  com.apple.HIToolbox               0x00007fffc175abf9 ReceiveNextEventCommon + 184
26  com.apple.HIToolbox               0x00007fffc175ab26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
27  com.apple.AppKit                  0x00007fffbfcf3a54 _DPSNextEvent + 1120
28  com.apple.AppKit                  0x00007fffc046f7ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
29  com.apple.AppKit                  0x00007fffbfce83db -[NSApplication run] + 926
30  libqcocoa.dylib                   0x0000000109c7c9bf QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2143
31  org.qt-project.QtCore             0x0000000107a1f631 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
32  org.qt-project.QtCore             0x0000000107a24099 QCoreApplication::exec() + 393
33  org.qt-project.qtcreator          0x0000000106adb9e1 main + 15793
34  libdyld.dylib                     0x00007fffd797a235 start + 1

---
Andy Maloney  //  https://asmaloney.com<https://asmaloney.com/>
twitter ~ @asmaloney<https://twitter.com/asmaloney>

_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org<mailto:Qt-creator at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/qt-creator

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20170911/2c95c277/attachment.html>


More information about the Qt-creator mailing list