Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19495

Intermittent "Rename symbol under cursor" segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.5.0
    • C/C++/Obj-C++ Support
    • None
    • Mac

    Description

      Occasionally (maybe once every 5-10 times I use it), right-clicking -> refactor -> Rename symbol under cursor causes the following segfault.

      Process: Qt Creator [10576]
      Path: /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
      Identifier: org.qt-project.qtcreator
      Version: 4.5 (4.5.0)
      Code Type: X86-64 (Native)
      Parent Process: ??? [1]
      Responsible: Qt Creator [10576]
      User ID: 501
      
      Date/Time: 2017-12-20 14:36:06.249 +0000
      OS Version: Mac OS X 10.12.6 (16G1036)
      Report Version: 12
      Anonymous UUID: 42E4155B-49D4-C917-F871-D6ADB718D215
      
      Sleep/Wake UUID: B7FCDC70-82D4-4706-8B88-6BF51C5C9D21
      
      Time Awake Since Boot: 20000 seconds
      Time Since Wake: 5700 seconds
      
      System Integrity Protection: enabled
      
      Crashed Thread: 0 Dispatch queue: com.apple.main-thread
      
      Exception Type: EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
      Exception Note: EXC_CORPSE_NOTIFY
      
      Termination Signal: Segmentation fault: 11
      Termination Reason: Namespace SIGNAL, Code 0xb
      Terminating Process: exc handler [0]
      
      VM Regions Near 0x8:
      --> 
       __TEXT 00000001049fc000-0000000104a0e000 [ 72K] r-x/rwx SM=COW /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 org.qt-project.QtWidgets 0x0000000104e208f6 0x104c8c000 + 1657078
      1 org.qt-project.QtWidgets 0x0000000104e1fd8e QMenu::internalDelayedPopup() + 1086
      2 org.qt-project.QtCore 0x0000000105970b16 QObject::event(QEvent*) + 102
      3 org.qt-project.QtWidgets 0x0000000104cd6b1d QWidget::event(QEvent*) + 5117
      4 org.qt-project.QtWidgets 0x0000000104e27f92 QMenu::event(QEvent*) + 1106
      5 org.qt-project.QtWidgets 0x0000000104c9c9a2 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306
      6 org.qt-project.QtWidgets 0x0000000104c9dcbf QApplication::notify(QObject*, QEvent*) + 383
      7 org.qt-project.QtCore 0x000000010594797f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159
      8 org.qt-project.QtCore 0x000000010599e87a QTimerInfoList::activateTimers() + 890
      9 libqcocoa.dylib 0x0000000107bd5bc2 0x107bad000 + 166850
      10 com.apple.CoreFoundation 0x00007fff81cdd321 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      11 com.apple.CoreFoundation 0x00007fff81cbe197 __CFRunLoopDoSources0 + 423
      12 com.apple.CoreFoundation 0x00007fff81cbd716 __CFRunLoopRun + 934
      13 com.apple.CoreFoundation 0x00007fff81cbd114 CFRunLoopRunSpecific + 420
      14 com.apple.HIToolbox 0x00007fff8121debc RunCurrentEventLoopInMode + 240
      15 com.apple.HIToolbox 0x00007fff8121dbf9 ReceiveNextEventCommon + 184
      16 com.apple.HIToolbox 0x00007fff8121db26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
      17 com.apple.AppKit 0x00007fff7f7b4a54 _DPSNextEvent + 1120
      18 com.apple.AppKit 0x00007fff7ff307ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
      19 com.apple.AppKit 0x00007fff7f7a93db -[NSApplication run] + 926
      20 libqcocoa.dylib 0x0000000107bd689d 0x107bad000 + 170141
      21 org.qt-project.QtCore 0x0000000105943502 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      22 org.qt-project.QtWidgets 0x0000000104e2614b QMenu::exec(QPoint const&, QAction*) + 107
      23 libCppEditor.dylib 0x000000010cd31e7d CppEditor::Internal::CppEditorWidget::contextMenuEvent(QContextMenuEvent*) + 781
      24 org.qt-project.QtWidgets 0x0000000104cd5e3f QWidget::event(QEvent*) + 1823
      25 org.qt-project.QtWidgets 0x0000000104d7fb8d QFrame::event(QEvent*) + 45
      26 org.qt-project.QtWidgets 0x0000000104d89929 QAbstractScrollArea::viewportEvent(QEvent*) + 57
      27 libTextEditor.dylib 0x000000010be8b619 TextEditor::TextEditorWidget::viewportEvent(QEvent*) + 617
      28 org.qt-project.QtWidgets 0x0000000104d8a524 0x104c8c000 + 1041700
      29 org.qt-project.QtCore 0x0000000105947c62 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 210
      30 org.qt-project.QtWidgets 0x0000000104c9c98d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 285
      31 org.qt-project.QtWidgets 0x0000000104c9eccc QApplication::notify(QObject*, QEvent*) + 4492
      32 org.qt-project.QtCore 0x000000010594797f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159
      33 org.qt-project.QtWidgets 0x0000000104cf6ce9 0x104c8c000 + 437481
      34 org.qt-project.QtWidgets 0x0000000104cf5300 0x104c8c000 + 430848
      35 org.qt-project.QtWidgets 0x0000000104c9c9a2 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306
      36 org.qt-project.QtWidgets 0x0000000104c9dcbf QApplication::notify(QObject*, QEvent*) + 383
      37 org.qt-project.QtCore 0x000000010594797f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159
      38 org.qt-project.QtGui 0x000000010525a44c QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2956
      39 org.qt-project.QtGui 0x0000000105241b5b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155
      40 libqcocoa.dylib 0x0000000107bd7aa1 0x107bad000 + 174753
      41 com.apple.CoreFoundation 0x00007fff81cdd321 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      42 com.apple.CoreFoundation 0x00007fff81cbe21d __CFRunLoopDoSources0 + 557
      43 com.apple.CoreFoundation 0x00007fff81cbd716 __CFRunLoopRun + 934
      44 com.apple.CoreFoundation 0x00007fff81cbd114 CFRunLoopRunSpecific + 420
      45 com.apple.HIToolbox 0x00007fff8121debc RunCurrentEventLoopInMode + 240
      46 com.apple.HIToolbox 0x00007fff8121dbf9 ReceiveNextEventCommon + 184
      47 com.apple.HIToolbox 0x00007fff8121db26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
      48 com.apple.AppKit 0x00007fff7f7b4a54 _DPSNextEvent + 1120
      49 com.apple.AppKit 0x00007fff7ff307ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
      50 com.apple.AppKit 0x00007fff7f7a93db -[NSApplication run] + 926
      51 libqcocoa.dylib 0x0000000107bd689d 0x107bad000 + 170141
      52 org.qt-project.QtCore 0x0000000105943502 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      53 org.qt-project.QtCore 0x0000000105948092 QCoreApplication::exec() + 402
      54 org.qt-project.qtcreator 0x0000000104a075e1 main + 16145
      55 libdyld.dylib 0x00007fff97443235 start + 1
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kosjar Nikolai Kosjar
              timmmm Tim
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes