You are not logged in.

#1 2021-11-07 13:35:44

Iizuki
Member
Registered: 2020-09-07
Posts: 1

QT Creator crashes after a while on Wayland Plasma

QT Creator starts and works fine for around 5 minutes but then abruptly crashes. The crash doesn't seem to correspond to any particular activity within the app, except that splitting the view appears to hasten it. It doesn't crash if I use Plasma with X.

This is what it says in the command line:

$ qtcreator
Icon theme "gnome" not found.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
ConnectionServer error: "QLocalSocket: Remote closed" "/tmp/QtCreator-hUbTfz/ClangBackEnd-14503"
Segmentation fault (core dumped)

And here's the dump:

(gdb) bt
#0  0x00007f4a9be1d3f0 in QScreen::availableSize() const () at /usr/lib/libQt5Gui.so.5
#1  0x00007f4a9cc6bb57 in Utils::ToolTip::show(QPoint const&, QLayout*, QWidget*, QVariant const&, QRect const&) ()
    at /usr/bin/../lib/qtcreator/libUtils.so.5
#2  0x00007f4a48f78864 in TextEditor::BaseHoverHandler::operateTooltip(TextEditor::TextEditorWidget*, QPoint const&) ()
    at /usr/lib/qtcreator/plugins/libTextEditor.so
#3  0x00007f4a3eb2d668 in  () at /usr/lib/qtcreator/plugins/libCppEditor.so
#4  0x00007f4a3eb2e60d in  () at /usr/lib/qtcreator/plugins/libCppEditor.so
#5  0x00007f4a48f78f90 in TextEditor::BaseHoverHandler::process(TextEditor::TextEditorWidget*, int, std::function<void (int)>) ()
    at /usr/lib/qtcreator/plugins/libTextEditor.so
#6  0x00007f4a48f79216 in TextEditor::BaseHoverHandler::checkPriority(TextEditor::TextEditorWidget*, int, std::function<void (int)>) ()
    at /usr/lib/qtcreator/plugins/libTextEditor.so
#7  0x00007f4a49049578 in  () at /usr/lib/qtcreator/plugins/libTextEditor.so
#8  0x00007f4a48fa55a8 in  () at /usr/lib/qtcreator/plugins/libTextEditor.so
#9  0x00007f4a48fa5f2d in TextEditor::ColorPreviewHoverHandler::identifyMatch(TextEditor::TextEditorWidget*, int, std::function<void (int)>) ()
    at /usr/lib/qtcreator/plugins/libTextEditor.so
#10 0x00007f4a48f78f90 in TextEditor::BaseHoverHandler::process(TextEditor::TextEditorWidget*, int, std::function<void (int)>) ()
    at /usr/lib/qtcreator/plugins/libTextEditor.so
#11 0x00007f4a48f79216 in TextEditor::BaseHoverHandler::checkPriority(TextEditor::TextEditorWidget*, int, std::function<void (int)>) ()
    at /usr/lib/qtcreator/plugins/libTextEditor.so
#12 0x00007f4a49049578 in  () at /usr/lib/qtcreator/plugins/libTextEditor.so
#13 0x00007f4a3e9add9b in  () at /usr/lib/qtcreator/plugins/libClangCodeModel.so
#14 0x00007f4a3e9ae961 in  () at /usr/lib/qtcreator/plugins/libClangCodeModel.so
#15 0x00007f4a9b8ac7ab in  () at /usr/lib/libQt5Core.so.5
#16 0x00007f4a9b694475 in QFutureWatcherBase::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f4a9c4f0d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f4a9b8753fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f4a9b8784f9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f4a9b8ce9f4 in  () at /usr/lib/libQt5Core.so.5
#21 0x00007f4a99d2d4dc in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#22 0x00007f4a99d81799 in  () at /usr/lib/libglib-2.0.so.0
#23 0x00007f4a99d2abc1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#24 0x00007f4a9b8ce026 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f4a9b873d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x00007f4a9b87c2d4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#27 0x0000564d1c0916c7 in  ()
#28 0x00007f4a9b1e4b25 in __libc_start_main () at /usr/lib/libc.so.6
#29 0x0000564d1c091c3e in  ()

While using X suffices for a workaround, but any help fixing this would be appreciated.

Last edited by Iizuki (2021-11-07 17:58:41)

Offline

Board footer

Powered by FluxBB