Qt Creator 16 crash under Wayland during debugger break mode
-
I realize this backtrace is almost useless; my current situation is that I'm trying to get some work done and this keeps crashing when I interact in break mode (ie, either via a breakpoint or if the application I'm working on crashes). This has been happening regularly & every time I enter break mode since a recent update a week or two ago. GDB 15.2.0 is the debugger, Qt libs are 6.8.3, distro is Gentoo.
Qt Creator has been 16.0.1 & 16.0.2, maybe 16.0.0 too but I'm not certain...though definitely also updated kde plasma stuff during the same set of updates that preceded this issue.
I'll have to build qt-creator from git to get debugging symbols & a useful backtrace...I'll see if I can do that later this week some time if I don't find any other solution.In the meantime, does this look familiar to anybody?
Unfortunately Gentoo already pulled v15 from portage, so downgrading is not an easy solution...hoping to find an easier solution or an informed suggestion to help debug...#0 0x00007ffff1b782be in QtWaylandClient::QWaylandWindow::safeCommit(QtWaylandClient::QWaylandBuffer*, QRegion const&) () at /usr/lib64/qt6/plugins/platforms/../../../libQt6WaylandClient.so.6 #1 0x00007ffff1b7ce26 in QtWaylandClient::QWaylandShmBackingStore::flush(QWindow*, QRegion const&, QPoint const&) () at /usr/lib64/qt6/plugins/platforms/../../../libQt6WaylandClient.so.6 #2 0x00007ffff69f2b31 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) () at /usr/lib64/libQt6Gui.so.6 #3 0x00007ffff74e13b4 in QWidgetRepaintManager::flush(QWidget*, QRegion const&, QPlatformTextureList*) () at /usr/lib64/libQt6Widgets.so.6 #4 0x00007ffff74e1a61 in QWidgetRepaintManager::flush() () at /usr/lib64/libQt6Widgets.so.6 #5 0x00007ffff7506b78 in QWidgetRepaintManager::paintAndFlush() () at /usr/lib64/libQt6Widgets.so.6 #6 0x00007ffff75071e3 in QWidgetRepaintManager::sync(QWidget*, QRegion const&) () at /usr/lib64/libQt6Widgets.so.6 #7 0x00007ffff7532436 in ??? () at /usr/lib64/libQt6Widgets.so.6 #8 0x00007ffff7520e75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt6Widgets.so.6 #9 0x00007ffff6308700 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt6Core.so.6 #10 0x00007ffff69804a3 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib64/libQt6Gui.so.6 #11 0x00007ffff69d865c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Gui.so.6 #12 0x00007ffff6dcae74 in ??? () at /usr/lib64/libQt6Gui.so.6 #13 0x00007ffff4f0c5ab in ??? () at /usr/lib64/libglib-2.0.so.0 #14 0x00007ffff4f0f987 in ??? () at /usr/lib64/libglib-2.0.so.0 #15 0x00007ffff4f10130 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #16 0x00007ffff60cb5c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6 #17 0x00007ffff63301ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6 #18 0x00007ffff6330388 in QCoreApplication::exec() () at /usr/lib64/libQt6Core.so.6 #19 0x0000555555563f9d in ??? () #20 0x00007ffff5a333ee in ??? () at /lib64/libc.so.6 #21 0x00007ffff5a334a9 in __libc_start_main () at /lib64/libc.so.6 #22 0x00005555555649f5 in ??? ()
-
@username31480 It seems to crash in Qt (Wayland) so I'm not sure it's really a Creator problem.
If you really need to get work done, maybe a precompiled older version is the way to go (even that's not the Gentoo way)? -> https://download.qt.io/official_releases/qtcreator
Otherwise, could you try to disable Wayland?
The crash itself should be reported to bugreports.qt.io, the devs there can tell you best how to isolate the problem.
Regards
-
This seems to have done the trick, as a workaround. I'll try to get more details & follow up with sometime useful for a bug report.
Thx for the quick pointer!!QT_QPA_PLATFORM=xcb qtcreator
-