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

Crash upon control-clicking a method name in the Editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 9.0.2
    • Editors
    • None
    • clang64 bit compiler
    • macOS
    • d63c57ef4 (10.0), 95b4da9ba (11.0)

    Description

      I tried to follow a method by control-clicking a method - possibly, the method was not existing or the context invalid, I had a spelling mistake there.
      Nevertheless, I wasn't expecting the crash.

      -------------------------------------
      Translated Report (Full Report Below)
      -------------------------------------

      Process: Qt Creator [29635]
      Path: /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
      Identifier: org.qt-project.qtcreator
      Version: 9.0.2 (9.0.2)
      Code Type: X86-64 (Native)
      Parent Process: launchd [1]
      User ID: 501

      Date/Time: 2023-04-02 17:49:44.5942 +0200
      OS Version: macOS 13.3 (22E252)
      Report Version: 12
      Bridge OS Version: 7.4 (20P4252)
      Anonymous UUID: B41CD9D6-5BF5-B12B-8869-FED9EA24E046

      Sleep/Wake UUID: 0DE9DE6D-DB5D-4602-9DFF-74CD1CF4B7E2

      Time Awake Since Boot: 95000 seconds
      Time Since Wake: 3290 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 0x0000000100000029
      Exception Codes: 0x0000000000000001, 0x0000000100000029

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

      VM Region Info: 0x100000029 is not in any region. Bytes before following region: 111923159
      REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
      UNUSED SPACE AT START
      --->
      __TEXT 106abd000-106ad5000 [ 96K] r-x/r-x SM=COW ...OS/Qt Creator

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 libTextEditor.dylib 0x10e33a3de 0x10e227000 + 1127390
      1 libCppEditor.dylib 0x10def3a76 0x10de1a000 + 891510
      2 libClangCodeModel.dylib 0x1106494e9 0x1105e2000 + 423145
      3 libClangCodeModel.dylib 0x11064da6a 0x1105e2000 + 440938
      4 libClangCodeModel.dylib 0x11062bccf 0x1105e2000 + 302287
      5 libClangCodeModel.dylib 0x1106012f6 0x1105e2000 + 127734
      6 libClangCodeModel.dylib 0x1105ffbb7 0x1105e2000 + 121783
      7 libLanguageClient.dylib 0x10eccdd03 LanguageClient::Client::handleMessage(LanguageServerProtocol::JsonRpcMessage const&) + 387
      8 QtCore 0x1094f6295 0x10943b000 + 766613
      9 libLanguageClient.dylib 0x10ecd5574 0x10ecb0000 + 152948
      10 QtCore 0x1094ee869 QObject::event(QEvent*) + 729
      11 QtWidgets 0x10834a0b7 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247
      12 QtWidgets 0x10834affc QApplication::notify(QObject*, QEvent*) + 508
      13 QtCore 0x1094a71da QCoreApplication::notifyInternal2(QObject*, QEvent*) + 170
      14 QtCore 0x1094a842c QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1468
      15 libqcocoa.dylib 0x10896521b 0x10894e000 + 94747
      16 libqcocoa.dylib 0x10896592b 0x10894e000 + 96555
      17 CoreFoundation 0x7ff81c9c706a _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 17
      18 CoreFoundation 0x7ff81c9c700c __CFRunLoopDoSource0 + 157
      19 CoreFoundation 0x7ff81c9c6de5 __CFRunLoopDoSources0 + 217
      20 CoreFoundation 0x7ff81c9c5a6f __CFRunLoopRun + 916
      21 CoreFoundation 0x7ff81c9c5071 CFRunLoopRunSpecific + 560
      22 HIToolbox 0x7ff82642dfcd RunCurrentEventLoopInMode + 292
      23 HIToolbox 0x7ff82642dc14 ReceiveNextEventCommon + 199
      24 HIToolbox 0x7ff82642db38 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      25 AppKit 0x7ff81fa577a0 _DPSNextEvent + 858
      26 AppKit 0x7ff81fa5664a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214
      27 AppKit 0x7ff81fa48cb8 -[NSApplication run] + 586
      28 libqcocoa.dylib 0x108964833 0x10894e000 + 92211
      29 QtCore 0x1094b0526 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 486
      30 QtCore 0x1094a77d5 QCoreApplication::exec() + 133
      31 Qt Creator 0x106ac99ea 0x106abd000 + 51690
      32 dyld 0x7ff81c59141f start + 1903

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-28989
        # Subject Branch Project Status CR V

        Activity

          People

            davschul David Schulz
            frodo Jens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes