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

Assert inside parseBlameOutput() triggered

    XMLWordPrintable

Details

    • Linux/X11
    • b9af26adf (10.0)

    Description

      The assert was introduced in https://codereview.qt-project.org/c/qt-creator/qt-creator/+/441126.

      The assert was triggered when I pressed Ctrl+LMB over: "#include <QFutureInterface>", and when the new editor opened, I repeated the same over: "#include "qfutureinterface.h", maybe also in next step over: "#include "../../../../qt-64/qtbase/src/corelib/thread/qfutureinterface.h".

      I use self build of Creator built against self build of Qt (6.4).

      Call stack:

      1  Git::Internal::parseBlameOutput                                                                                                                                                                                                                                                                                        gitplugin.cpp             1506 0x7fff7ce49b32 
      2  operator()                                                                                                                                                                                                                                                                                                             gitplugin.cpp             1583 0x7fff7ce4a35a 
      3  std::__invoke_impl<void, Git::Internal::GitPluginPrivate::instantBlame()::<lambda(const VcsBase::CommandResult&)>&, const VcsBase::CommandResult&>(std::__invoke_other, struct {...} &)                                                                                                                                invoke.h                  61   0x7fff7ce53eab 
      4  std::__invoke_r<void, Git::Internal::GitPluginPrivate::instantBlame()::<lambda(const VcsBase::CommandResult&)>&, const VcsBase::CommandResult&>(struct {...} &)                                                                                                                                                        invoke.h                  111  0x7fff7ce53933 
      5  std::_Function_handler<void(const VcsBase::CommandResult&), Git::Internal::GitPluginPrivate::instantBlame()::<lambda(const VcsBase::CommandResult&)>>::_M_invoke(const std::_Any_data &, const VcsBase::CommandResult &)                                                                                               std_function.h            290  0x7fff7ce52ebb 
      6  std::function<void (VcsBase::CommandResult const&)>::operator()(VcsBase::CommandResult const&) const                                                                                                                                                                                                                   std_function.h            590  0x7fff8117cdab 
      7  operator()                                                                                                                                                                                                                                                                                                             vcsbaseclient.cpp         168  0x7fff8117531f 
      8  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, VcsBase::VcsBaseClientImpl::vcsExecWithHandler(const Utils::FilePath&, const QStringList&, const QObject *, const CommandHandler&, VcsBase::RunFlags, QTextCodec *) const::<lambda()>>::call(struct {...} &, void * *)                       qobjectdefs_impl.h        127  0x7fff8117bea9 
      9  QtPrivate::Functor<VcsBase::VcsBaseClientImpl::vcsExecWithHandler(const Utils::FilePath&, const QStringList&, const QObject *, const CommandHandler&, VcsBase::RunFlags, QTextCodec *) const::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void * *)                                          qobjectdefs_impl.h        241  0x7fff8117bc88 
      10 QtPrivate::QFunctorSlotObject<VcsBase::VcsBaseClientImpl::vcsExecWithHandler(const Utils::FilePath&, const QStringList&, const QObject *, const CommandHandler&, VcsBase::RunFlags, QTextCodec *) const::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *) qobjectdefs_impl.h        408  0x7fff8117b83c 
      11 QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                                                                                                       qobjectdefs_impl.h        363  0x7ffff52998c3 
      12 doActivate<false>                                                                                                                                                                                                                                                                                                      qobject.cpp               3979 0x7ffff5314a9c 
      13 QMetaObject::activate                                                                                                                                                                                                                                                                                                  qobject.cpp               4039 0x7ffff530ae73 
      14 VcsBase::VcsCommand::done                                                                                                                                                                                                                                                                                              moc_vcscommand.cpp        187  0x7fff811309b3 
      15 VcsBase::Internal::VcsCommandPrivate::processDone                                                                                                                                                                                                                                                                      vcscommand.cpp            209  0x7fff811ca767 
      16 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (VcsBase::Internal::VcsCommandPrivate:: *)()>::call(void (VcsBase::Internal::VcsCommandPrivate:: *)(), VcsBase::Internal::VcsCommandPrivate *, void * *)                                                                                qobjectdefs_impl.h        135  0x7fff811cd971 
      17 QtPrivate::FunctionPointer<void (VcsBase::Internal::VcsCommandPrivate:: *)()>::call<QtPrivate::List<>, void>(void (VcsBase::Internal::VcsCommandPrivate:: *)(), VcsBase::Internal::VcsCommandPrivate *, void * *)                                                                                                      qobjectdefs_impl.h        172  0x7fff811cd343 
      18 QtPrivate::QSlotObject<void (VcsBase::Internal::VcsCommandPrivate:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                                                                                                               qobjectdefs_impl.h        383  0x7fff811cd0c5 
      19 QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                                                                                                       qobjectdefs_impl.h        363  0x7ffff52998c3 
      20 doActivate<false>                                                                                                                                                                                                                                                                                                      qobject.cpp               3979 0x7ffff5314a9c 
      21 QMetaObject::activate                                                                                                                                                                                                                                                                                                  qobject.cpp               4039 0x7ffff530ae73 
      22 Utils::QtcProcess::done                                                                                                                                                                                                                                                                                                moc_qtcprocess.cpp        248  0x7ffff78ed129 
      23 Utils::Internal::QtcProcessPrivate::emitGuardedSignal                                                                                                                                                                                                                                                                  qtcprocess.cpp            699  0x7ffff7bbf0ba 
      24 Utils::Internal::QtcProcessPrivate::handleDone                                                                                                                                                                                                                                                                         qtcprocess.cpp            1958 0x7ffff7bb8ddd 
      25 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Utils::ProcessResultData const&>, void, void (Utils::Internal::QtcProcessPrivate:: *)(Utils::ProcessResultData const&)>::call                                                                                                                        qobjectdefs_impl.h        135  0x7ffff7bc844a 
      26 QtPrivate::FunctionPointer<void (Utils::Internal::QtcProcessPrivate:: *)(Utils::ProcessResultData const&)>::call<QtPrivate::List<Utils::ProcessResultData const&>, void>                                                                                                                                               qobjectdefs_impl.h        172  0x7ffff7bc70c5 
      27 QtPrivate::QSlotObject<void (Utils::Internal::QtcProcessPrivate:: *)(Utils::ProcessResultData const&), QtPrivate::List<Utils::ProcessResultData const&>, void>::impl                                                                                                                                                   qobjectdefs_impl.h        383  0x7ffff7bc54b5 
      28 QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                                                                                                       qobjectdefs_impl.h        363  0x7ffff52998c3 
      29 doActivate<false>                                                                                                                                                                                                                                                                                                      qobject.cpp               3979 0x7ffff5314a9c 
      30 QMetaObject::activate                                                                                                                                                                                                                                                                                                  qobject.cpp               4039 0x7ffff530ae73 
      31 Utils::ProcessInterface::done                                                                                                                                                                                                                                                                                          moc_processinterface.cpp  215  0x7ffff78eb7ca 
      32 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Utils::ProcessResultData const&>, void, void (Utils::ProcessInterface:: *)(Utils::ProcessResultData const&)>::call                                                                                                                                   qobjectdefs_impl.h        135  0x7ffff7bc80b5 
      33 QtPrivate::FunctionPointer<void (Utils::ProcessInterface:: *)(Utils::ProcessResultData const&)>::call<QtPrivate::List<Utils::ProcessResultData const&>, void>                                                                                                                                                          qobjectdefs_impl.h        172  0x7ffff7bc6ebb 
      34 QtPrivate::QSlotObject<void (Utils::ProcessInterface:: *)(Utils::ProcessResultData const&), QtPrivate::List<Utils::ProcessResultData const&>, void>::impl                                                                                                                                                              qobjectdefs_impl.h        383  0x7ffff7bc4fc1 
      35 QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                                                                                                       qobjectdefs_impl.h        363  0x7ffff52998c3 
      36 doActivate<false>                                                                                                                                                                                                                                                                                                      qobject.cpp               3979 0x7ffff5314a9c 
      37 QMetaObject::activate                                                                                                                                                                                                                                                                                                  qobject.cpp               4039 0x7ffff530ae73 
      38 Utils::Internal::CallerHandle::done                                                                                                                                                                                                                                                                                    moc_launchersocket.cpp    239  0x7ffff78e86aa 
      39 Utils::Internal::CallerHandle::handleDone                                                                                                                                                                                                                                                                              launchersocket.cpp        154  0x7ffff7b16423 
      40 Utils::Internal::CallerHandle::flushFor                                                                                                                                                                                                                                                                                launchersocket.cpp        120  0x7ffff7b160b5 
      41 Utils::Internal::CallerHandle::flush                                                                                                                                                                                                                                                                                   launchersocket.cpp        72   0x7ffff7b15bbb 
      42 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Utils::Internal::CallerHandle:: *)()>::call(void (Utils::Internal::CallerHandle:: *)(), Utils::Internal::CallerHandle *, void * *)                                                                                                     qobjectdefs_impl.h        135  0x7ffff7b21f20 
      43 QtPrivate::FunctionPointer<void (Utils::Internal::CallerHandle:: *)()>::call<QtPrivate::List<>, void>(void (Utils::Internal::CallerHandle:: *)(), Utils::Internal::CallerHandle *, void * *)                                                                                                                           qobjectdefs_impl.h        172  0x7ffff7b20b64 
      44 QtPrivate::QSlotObject<void (Utils::Internal::CallerHandle:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                                                                                                                      qobjectdefs_impl.h        383  0x7ffff7b1f1b9 
      45 QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                                                                                                       qobjectdefs_impl.h        363  0x7ffff52998c3 
      46 QMetaCallEvent::placeMetaCall                                                                                                                                                                                                                                                                                          qobject.cpp               608  0x7ffff5301c8d 
      47 QObject::event                                                                                                                                                                                                                                                                                                         qobject.cpp               1378 0x7ffff5302f05 
      48 QApplicationPrivate::notify_helper                                                                                                                                                                                                                                                                                     qapplication.cpp          3315 0x7ffff6d40f74 
      49 QApplication::notify                                                                                                                                                                                                                                                                                                   qapplication.cpp          3266 0x7ffff6d40d66 
      50 QCoreApplication::notifyInternal2                                                                                                                                                                                                                                                                                      qcoreapplication.cpp      1026 0x7ffff52783e5 
      51 QCoreApplication::sendEvent                                                                                                                                                                                                                                                                                            qcoreapplication.cpp      1442 0x7ffff5278f83 
      52 QCoreApplicationPrivate::sendPostedEvents                                                                                                                                                                                                                                                                              qcoreapplication.cpp      1804 0x7ffff5279eda 
      53 QCoreApplication::sendPostedEvents                                                                                                                                                                                                                                                                                     qcoreapplication.cpp      1663 0x7ffff52797a8 
      54 postEventSourceDispatch                                                                                                                                                                                                                                                                                                qeventdispatcher_glib.cpp 243  0x7ffff56b3ec0 
      55 g_main_context_dispatch                                                                                                                                                                                                                                                                                                                               0x7ffff3bd5d3b 
      56 ??                                                                                                                                                                                                                                                                                                                                                    0x7ffff3c2a6c8 
      57 g_main_context_iteration                                                                                                                                                                                                                                                                                                                              0x7ffff3bd33e3 
      58 QEventDispatcherGlib::processEvents                                                                                                                                                                                                                                                                                    qeventdispatcher_glib.cpp 393  0x7ffff56b4782 
      59 QXcbGlibEventDispatcher::processEvents                                                                                                                                                                                                                                                                                 qxcbeventdispatcher.cpp   96   0x7ffff0f8764c 
      60 QEventLoop::processEvents                                                                                                                                                                                                                                                                                              qeventloop.cpp            100  0x7ffff528c745 
      61 QEventLoop::exec                                                                                                                                                                                                                                                                                                       qeventloop.cpp            182  0x7ffff528cab4 
      62 QCoreApplication::exec                                                                                                                                                                                                                                                                                                 qcoreapplication.cpp      1347 0x7ffff5278d50 
      63 QGuiApplication::exec                                                                                                                                                                                                                                                                                                  qguiapplication.cpp       1859 0x7ffff5ebecea 
      64 QApplication::exec                                                                                                                                                                                                                                                                                                     qapplication.cpp          2595 0x7ffff6d3df7d 
      65 main                                                                                                                                                                                                                                                                                                                   main.cpp                  794  0x5555555639d0 
      

      Attachments

        Activity

          People

            aha_1980 André Hartmann
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: