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

Regression: Crash after typing in editor while debugger is stopped at breakpoint

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 14.0.2
    • Qt Creator 14.0.0-beta2
    • Editors
    • None
    • Linux/X11
    • e986dc8938050a8d14a092f15ad875603df80c97

    Description

      Thread 1 (Thread 0x7d61b9ffb640 (LWP 153923)):
      #0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=137858685843008) at ./nptl/pthread_kill.c:44
      #1  __pthread_kill_internal (signo=6, threadid=137858685843008) at ./nptl/pthread_kill.c:78
      #2  __GI___pthread_kill (threadid=137858685843008, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
      #3  0x00007d6245042476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      #4  0x00007d62450287f3 in __GI_abort () at ./stdlib/abort.c:79
      #5  0x00007d62458f323e in qAbort () at /home/jarek/dev/qt-66/qtbase/src/corelib/global/qglobal.cpp:161
      #6  0x00007d6245902efa in qt_message_fatal<QString&> (context=..., message=...) at /home/jarek/dev/qt-66/qtbase/src/corelib/global/qlogging.cpp:2030
      #7  0x00007d62458fd3c0 in qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, context=..., msg=0x7d6245e6d968 "ASSERT: \"%s\" in file %s, line %d", ap=0x7d61b9ff9d00) at /home/jarek/dev/qt-66/qtbase/src/corelib/global/qlogging.cpp:378
      #8  0x00007d62458fea98 in QMessageLogger::fatal (this=0x7d61b9ff9e00, msg=0x7d6245e6d968 "ASSERT: \"%s\" in file %s, line %d") at /home/jarek/dev/qt-66/qtbase/src/corelib/global/qlogging.cpp:901
      #9  0x00007d62458f1729 in qt_assert (assertion=0x7d61dfb2eb42 "it.isUnused()", file=0x7d61dfb2e958 "/home/jarek/dev/qt-66/qtbase/src/corelib/tools/qhash.h", line=727) at /home/jarek/dev/qt-66/qtbase/src/corelib/global/qassert.cpp:68
      #10 0x00007d61df52aa6b in QHashPrivate::Data<QHashPrivate::Node<QString, QHashDummyValue> >::findOrInsert (this=0x7d5e7c14ac30, key=...) at /home/jarek/dev/qt-66/qtbase/src/corelib/tools/qhash.h:727
      #11 0x00007d61df5299d8 in QHash<QString, QHashDummyValue>::emplace_helper<QHashDummyValue> (this=0x7d61dfeaac10 <CppEditor::isOwnershipRAIIName(QString const&)::knownNames>, key=...) at /home/jarek/dev/qt-66/qtbase/src/corelib/tools/qhash.h:1335
      #12 0x00007d61df7862cc in QHash<QString, QHashDummyValue>::emplace<QHashDummyValue> (this=0x7d61dfeaac10 <CppEditor::isOwnershipRAIIName(QString const&)::knownNames>, key=...) at /home/jarek/dev/qt-66/qtbase/src/corelib/tools/qhash.h:1316
      #13 0x00007d61df77f29f in QSet<QString>::insert (this=0x7d61dfeaac10 <CppEditor::isOwnershipRAIIName(QString const&)::knownNames>, value=...) at /home/jarek/dev/qt-66/qtbase/src/corelib/tools/qset.h:158
      #14 0x00007d61df805e37 in CppEditor::isOwnershipRAIIName (name=...) at /home/jarek/dev/creator-14/src/plugins/cppeditor/cpptoolsreuse.cpp:154
      #15 0x00007d61df806369 in CppEditor::isOwnershipRAIIType (symbol=0x7d5ed48032a0, context=...) at /home/jarek/dev/creator-14/src/plugins/cppeditor/cpptoolsreuse.cpp:184
      #16 0x00007d61df535db3 in CppEditor::(anonymous namespace)::FindUses::splitLocalUses (this=0x7d61b9ffa2b0, uses=..., rangesForLocalVariableUnderCursor=0x7d61b9ffa980, rangesForLocalUnusedVariables=0x7d61b9ffa9a0) at /home/jarek/dev/creator-14/src/plugins/cppeditor/builtincursorinfo.cpp:210
      #17 0x00007d61df535aad in CppEditor::(anonymous namespace)::FindUses::doFind (this=0x7d61b9ffa2b0) at /home/jarek/dev/creator-14/src/plugins/cppeditor/builtincursorinfo.cpp:176
      #18 0x00007d61df5358f4 in CppEditor::(anonymous namespace)::FindUses::find (document=..., content=..., snapshot=..., line=310, column=47, scope=0x0, expression=...) at /home/jarek/dev/creator-14/src/plugins/cppeditor/builtincursorinfo.cpp:147
      #19 0x00007d61df53f55e in std::__invoke_impl<CppEditor::CursorInfo, CppEditor::CursorInfo (*&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>&, QString&, CPlusPlus::Snapshot&, int&, int&, CPlusPlus::Scope*&, QString&> (__f=@0x7d61b9ffa618: 0x7d61df53580d <CppEditor::(anonymous namespace)::FindUses::find(CPlusPlus::Document::Ptr, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&)>) at /usr/include/c++/11/bits/invoke.h:61
      #20 0x00007d61df53ef02 in std::__invoke<CppEditor::CursorInfo (*&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>&, QString&, CPlusPlus::Snapshot&, int&, int&, CPlusPlus::Scope*&, QString&> (__fn=@0x7d61b9ffa618: 0x7d61df53580d <CppEditor::(anonymous namespace)::FindUses::find(CPlusPlus::Document::Ptr, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&)>) at /usr/include/c++/11/bits/invoke.h:97
      #21 0x00007d61df53eaab in std::invoke<CppEditor::CursorInfo (*&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>&, QString&, CPlusPlus::Snapshot&, int&, int&, CPlusPlus::Scope*&, QString&> (__fn=@0x7d61b9ffa618: 0x7d61df53580d <CppEditor::(anonymous namespace)::FindUses::find(CPlusPlus::Document::Ptr, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&)>) at /usr/include/c++/11/functional:98
      #22 0x00007d61df53e6ca in QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}::operator()(CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString) const (__closure=0x7d61b9ffa97f, function=0x7d61df53580d <CppEditor::(anonymous namespace)::FindUses::find(CPlusPlus::Document::Ptr, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&)>, args#0=..., args#1=..., args#2=..., args#3=310, args#4=47, args#5=0x0, args#6=...) at /home/jarek/dev/qt-66/qtbase/src/concurrent/qtconcurrentstoredfunctioncall.h:116
      #23 0x00007d61df53f1eb in std::__invoke_impl<CppEditor::CursorInfo, QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (* const&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}, CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>(std::__invoke_other, QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (* const&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}, CppEditor::CursorInfo (*&&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>&&, QString&&, CPlusPlus::Snapshot&&, int&&, int&&, CPlusPlus::Scope*&&, QString&&) (__f=...) at /usr/include/c++/11/bits/invoke.h:61
      #24 0x00007d61df53ed53 in std::__invoke<QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (* const&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}, CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>(QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (* const&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}, CppEditor::CursorInfo (*&&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>&&, QString&&, CPlusPlus::Snapshot&&, int&&, int&&, CPlusPlus::Scope*&&, QString&&) (__fn=...) at /usr/include/c++/11/bits/invoke.h:97
      #25 0x00007d61df53e804 in std::__apply_impl<QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (* const&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}, std::tuple<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul>(QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (* const&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}, std::tuple<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>&&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul>) (__f=..., __t=...) at /usr/include/c++/11/tuple:1855
      #26 0x00007d61df53e887 in std::apply<QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (* const&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}, std::tuple<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString> >(QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor()::{lambda(CppEditor::CursorInfo (* const&)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString)#1}, std::tuple<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>&&) (__f=..., __t=...) at /usr/include/c++/11/tuple:1867
      #27 0x00007d61df53e8ec in QtConcurrent::StoredFunctionCall<CppEditor::CursorInfo (*)(QSharedPointer<CPlusPlus::Document>, QString const&, CPlusPlus::Snapshot const&, int, int, CPlusPlus::Scope*, QString const&), QSharedPointer<CPlusPlus::Document>, QString, CPlusPlus::Snapshot, int, int, CPlusPlus::Scope*, QString>::runFunctor (this=0x632d76844250) at /home/jarek/dev/qt-66/qtbase/src/concurrent/qtconcurrentstoredfunctioncall.h:122
      #28 0x00007d61df53e54c in QtConcurrent::RunFunctionTaskBase<CppEditor::CursorInfo>::run (this=0x632d76844250) at /home/jarek/dev/qt-66/qtbase/src/concurrent/qtconcurrentrunbase.h:83
      #29 0x00007d6245c887a0 in QThreadPoolThread::run (this=0x632d6d4850f0) at /home/jarek/dev/qt-66/qtbase/src/corelib/thread/qthreadpool.cpp:66
      #30 0x00007d6245c813ff in operator() (__closure=0x7d61b9ffabd8) at /home/jarek/dev/qt-66/qtbase/src/corelib/thread/qthread_unix.cpp:324
      #31 0x00007d6245c82663 in (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >(struct {...} &&) (t=...) at /home/jarek/dev/qt-66/qtbase/src/corelib/thread/qthread_unix.cpp:260
      #32 0x00007d6245c814cb in QThreadPrivate::start (arg=0x632d6d4850f0) at /home/jarek/dev/qt-66/qtbase/src/corelib/thread/qthread_unix.cpp:283
      #33 0x00007d6245094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
      #34 0x00007d6245126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
      

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes