Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt Creator 12.0.0
-
None
-
66d49e6a5 (11.0)
Description
This started after an update from f02d0354c481f00fc23c92e71afbaf62736912c9 to 53d06feecdc0d2cba67101be9a3672df48c6ac60.
Backtrace:
#0 std::__atomic_base<int>::fetch_add () at /usr/include/c++/13/bits/atomic_base.h:635 #1 QAtomicOps<int>::ref<int> () at /home/tjmaciei/obj/qt/installed/include/QtCore/qatomic_cxx11.h:259 #2 QBasicAtomicInteger<int>::ref () at /home/tjmaciei/obj/qt/installed/include/QtCore/qbasicatomic.h:55 #3 QArrayData::ref () at /home/tjmaciei/obj/qt/installed/include/QtCore/qarraydata.h:51 #4 QArrayDataPointer<char16_t>::ref () at /home/tjmaciei/obj/qt/installed/include/QtCore/qarraydatapointer.h:414 #5 QArrayDataPointer<char16_t>::QArrayDataPointer () at /home/tjmaciei/obj/qt/installed/include/QtCore/qarraydatapointer.h:40 #6 QString::QString () at /home/tjmaciei/obj/qt/installed/include/QtCore/qstring.h:1109 #7 TextEditor::TextMarkCategory::TextMarkCategory () at /home/tjmaciei/src/qt/qt-creator/src/plugins/texteditor/textmark.h:32 #8 TextEditor::TextMark::category () at /home/tjmaciei/src/qt/qt-creator/src/plugins/texteditor/textmark.h:98 #9 TextEditor::markToHighlight () at /home/tjmaciei/src/qt/qt-creator/src/plugins/texteditor/texteditor.cpp:6887 #10 TextEditor::Internal::TextEditorWidgetPrivate::updateHighlightScrollBarNow () at /home/tjmaciei/src/qt/qt-creator/src/plugins/texteditor/texteditor.cpp:6913 #11 0x00007fd0fed9c155 in QObject::event(QEvent*) () from /home/tjmaciei/obj/qt/installed/bin/../lib64/glibc-hwcaps/x86-64-v4/libQt6Core.t.so.6 #12 0x00007fd0fff9d403 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/tjmaciei/obj/qt/installed/bin/../lib64/glibc-hwcaps/x86-64-v4/libQt6Widgets.t.so.6 #13 0x00007fd0fed576c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/tjmaciei/obj/qt/installed/bin/../lib64/glibc-hwcaps/x86-64-v4/libQt6Core.t.so.6 #14 0x00007fd0fed57a2b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/tjmaciei/obj/qt/installed/bin/../lib64/glibc-hwcaps/x86-64-v4/libQt6Core.t.so.6 #15 0x00007fd0fef5e9c0 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /home/tjmaciei/obj/qt/installed/bin/../lib64/glibc-hwcaps/x86-64-v4/libQt6Core.t.so.6 #16 0x00007fd0fdf16988 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #17 0x00007fd0fdf16d98 in ?? () from /lib64/libglib-2.0.so.0 #18 0x00007fd0fdf16e2c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #19 0x00007fd0fef5c5e4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/tjmaciei/obj/qt/installed/bin/../lib64/glibc-hwcaps/x86-64-v4/libQt6Core.t.so.6 #20 0x00007fd0fed6020d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/tjmaciei/obj/qt/installed/bin/../lib64/glibc-hwcaps/x86-64-v4/libQt6Core.t.so.6 #21 0x00007fd0fed5b5d6 in QCoreApplication::exec() () from /home/tjmaciei/obj/qt/installed/bin/../lib64/glibc-hwcaps/x86-64-v4/libQt6Core.t.so.6 #22 0x000000000040cb7e in main () at /home/tjmaciei/src/qt/qt-creator/src/app/main.cpp:830
Sorry this is a release-LTO build, so I don't have more information.
I don't have steps to reproduce. It happened simply by staring at Qt Creator.
This has happened twice with nearly identical backtraces (the other one was inside a QDialog::exec(), but otherwise an event loop run).