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

Segfault on autocompletion with LSP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 9.0.2
    • Qt Creator 7.0.0, Qt Creator 7.0.1, Qt Creator 7.0.2, Qt Creator 8.0.0, Qt Creator 8.0.1, Qt Creator 8.0.2, Qt Creator 9.0.0, Qt Creator 9.0.1
    • Editors
    • None
    • Linux/X11
    • f0dba78f4 (9.0)

    Description

      See screenshot attached. This red thing pops up at the end when you autocomplete a method(as in ctrl+space, without selecting anything, so it should autocomplete on space)( .get into .get() in this case), in my case with rust-analyzer. If you move cursor into it and type anything, creator segfaults. Pressing ESC removes the red thingie. It's like a segfault Clippy.

       

      Log

       

      Unable to create custom wizard for class qmakeproject.
       Custom wizard factory function failed for Z.Snippet from /usr/share/qtcreator/templates/wizards/codesnippet.
       QObject::connect: Cannot queue arguments of type 'LanguageServerProtocol::ServerCapabilities'
       (Make sure 'LanguageServerProtocol::ServerCapabilities' is registered using qRegisterMetaType().)
       Segmentation fault
       
      

       

      Attachments

        Activity

          People

            davschul David Schulz
            anomalocaris Alex Drozdov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: