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

Segfault when opening session when language server is enabled

    XMLWordPrintable

Details

    Description

      I had been using Creator without any problems, when suddenly I switched sessions and it crashes. Now whenever I open that session, it crashes. The session contains qtdeclarative and various Qt Quick apps.

      1  LanguageClient::LanguageClientManager::clientFinished                                                                                                                                                                                languageclientmanager.cpp 168  0x7fff7c3afe1f 
      2  operator()                                                                                                                                                                                                                           languageclientmanager.cpp 90   0x7fff7c3aefd1 
      3  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, LanguageClient::LanguageClientManager::addClient(LanguageClient::Client *)::<lambda()>>::call(struct {...} &, void * *)                                    qobjectdefs_impl.h        127  0x7fff7c3b5ccf 
      4  QtPrivate::Functor<LanguageClient::LanguageClientManager::addClient(LanguageClient::Client *)::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void * *)                                                       qobjectdefs_impl.h        241  0x7fff7c3b5721 
      5  QtPrivate::QFunctorSlotObject<LanguageClient::LanguageClientManager::addClient(LanguageClient::Client *)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)              qobjectdefs_impl.h        408  0x7fff7c3b4ffc 
      6  ??                                                                                                                                                                                                                                                                  0x7ffff5b97a32 
      7  LanguageClient::Client::finished                                                                                                                                                                                                     moc_client.cpp            301  0x7fff7c2739cf 
      8  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (LanguageClient::Client:: *)()>::call(void (LanguageClient::Client:: *)(), LanguageClient::Client *, void * *)                                        qobjectdefs_impl.h        135  0x7fff7c31198b 
      9  QtPrivate::FunctionPointer<void (LanguageClient::Client:: *)()>::call<QtPrivate::List<>, void>(void (LanguageClient::Client:: *)(), LanguageClient::Client *, void * *)                                                              qobjectdefs_impl.h        172  0x7fff7c30550c 
      10 QtPrivate::QSlotObject<void (LanguageClient::Client:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                                           qobjectdefs_impl.h        383  0x7fff7c2f9557 
      11 ??                                                                                                                                                                                                                                                                  0x7ffff5b97a32 
      12 LanguageClient::InterfaceController::finished                                                                                                                                                                                        client.moc                212  0x7fff7c2c280b 
      13 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (LanguageClient::InterfaceController:: *)()>::call(void (LanguageClient::InterfaceController:: *)(), LanguageClient::InterfaceController *, void * *) qobjectdefs_impl.h        135  0x7fff7c3106cd 
      14 QtPrivate::FunctionPointer<void (LanguageClient::InterfaceController:: *)()>::call<QtPrivate::List<>, void>(void (LanguageClient::InterfaceController:: *)(), LanguageClient::InterfaceController *, void * *)                       qobjectdefs_impl.h        172  0x7fff7c3045ec 
      15 QtPrivate::QSlotObject<void (LanguageClient::InterfaceController:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                              qobjectdefs_impl.h        383  0x7fff7c2f8a1b 
      16 QObject::event(QEvent *)                                                                                                                                                                                                                                            0x7ffff5b8937c 
      17 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                                                                                                                             0x7ffff6f770f2 
      18 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                                                                                                                              0x7ffff5b3929a 
      19 QCoreApplicationPrivate::sendPostedEvents(QObject *, int, QThreadData *)                                                                                                                                                                                            0x7ffff5b3fdfd 
      20 ??                                                                                                                                                                                                                                                                  0x7ffff5de11b3 
      21 g_main_context_dispatch                                                                                                                                                                                                                                             0x7ffff551bd3b 
      22 ??                                                                                                                                                                                                                                                                  0x7ffff5571258 
      23 g_main_context_iteration                                                                                                                                                                                                                                            0x7ffff55193e3 
      24 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                          0x7ffff5de0bbf 
      25 TextEditor::TextDocument::openImpl                                                                                                                                                                                                   textdocument.cpp          796  0x7fffbc400b02 
      26 TextEditor::TextDocument::open                                                                                                                                                                                                       textdocument.cpp          749  0x7fffbc40074b 
      27 Core::Internal::EditorManagerPrivate::openEditor                                                                                                                                                                                     editormanager.cpp         846  0x7fff5228b81b 
      28 Core::Internal::SplitterOrView::restoreState                                                                                                                                                                                         editorview.cpp            940  0x7fff522d4159 
      29 Core::EditorManager::restoreState                                                                                                                                                                                                    editormanager.cpp         3639 0x7fff5229a9db 
      30 ProjectExplorer::SessionManagerPrivate::restoreEditors                                                                                                                                                                               session.cpp               259  0x7fff51a83a54 
      31 ProjectExplorer::ProjectManager::loadSession                                                                                                                                                                                         projectmanager.cpp        828  0x7fff519a5282 
      32 ProjectExplorer::ProjectExplorerPluginPrivate::setSession                                                                                                                                                                            projectexplorer.cpp       4141 0x7fff51941857 
      33 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QAction *>, void, void (ProjectExplorer::ProjectExplorerPluginPrivate:: *)(QAction *)>::call                                                                       qobjectdefs_impl.h        135  0x7fff5197323f 
      34 QtPrivate::FunctionPointer<void (ProjectExplorer::ProjectExplorerPluginPrivate:: *)(QAction *)>::call<QtPrivate::List<QAction *>, void>                                                                                              qobjectdefs_impl.h        172  0x7fff5196e031 
      35 QtPrivate::QSlotObject<void (ProjectExplorer::ProjectExplorerPluginPrivate:: *)(QAction *), QtPrivate::List<QAction *>, void>::impl                                                                                                  qobjectdefs_impl.h        383  0x7fff51968beb 
      36 ??                                                                                                                                                                                                                                                                  0x7ffff5b97a32 
      37 QActionGroup::triggered(QAction *)                                                                                                                                                                                                                                  0x7ffff698dcff 
      38 ??                                                                                                                                                                                                                                                                  0x7ffff5b97a32 
      39 QAction::triggered(bool)                                                                                                                                                                                                                                            0x7ffff6989a12 
      40 QAction::activate(QAction::ActionEvent)                                                                                                                                                                                                                             0x7ffff698c7c9 
      41 ??                                                                                                                                                                                                                                                                  0x7ffff7135192 
      42 ??                                                                                                                                                                                                                                                                  0x7ffff713cb39 
      43 QMenu::keyPressEvent(QKeyEvent *)                                                                                                                                                                                                                                   0x7ffff713ef01 
      44 QWidget::event(QEvent *)                                                                                                                                                                                                                                            0x7ffff6fcda97 
      45 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                                                                                                                             0x7ffff6f770f2 
      46 QApplication::notify(QObject *, QEvent *)                                                                                                                                                                                                                           0x7ffff6f7fca2 
      47 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                                                                                                                              0x7ffff5b3929a 
      48 ??                                                                                                                                                                                                                                                                  0x7ffff6fe11e3 
      49 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                                                                                                                             0x7ffff6f770f2 
      50 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                                                                                                                              0x7ffff5b3929a 
      51 QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent *)                                                                                                                                                                                  0x7ffff65b9fcb 
      52 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                               0x7ffff660e22c 
      53 ??                                                                                                                                                                                                                                                                  0x7ffff6aa3020 
      54 g_main_context_dispatch                                                                                                                                                                                                                                             0x7ffff551bd3b 
      55 ??                                                                                                                                                                                                                                                                  0x7ffff5571258 
      56 g_main_context_iteration                                                                                                                                                                                                                                            0x7ffff55193e3 
      57 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                          0x7ffff5de0b3a 
      58 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                                             0x7ffff5b44d5b 
      59 QCoreApplication::exec()                                                                                                                                                                                                                                            0x7ffff5b4113e 
      60 main                                                                                                                                                                                                                                 main.cpp                  810  0x555555564cc4 
      
      Qt Creator 10.0.0
      Based on Qt 6.4.2 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)
      Built on Mar 28 2023 10:27:49
      From revision 9af26dd086
      

      Attachments

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

        Activity

          People

            davschul David Schulz
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes