Bug 462629 - kscreen_osd_service crashes in LayerShellQt::QWaylandLayerSurface::QWaylandLayerSurface upon pressing the output switch button
Summary: kscreen_osd_service crashes in LayerShellQt::QWaylandLayerSurface::QWaylandLa...
Status: RESOLVED NOT A BUG
Alias: None
Product: KScreen
Classification: Plasma
Component: OSD and Plasma applet (show other bugs)
Version: master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-04 12:25 UTC by Bharadwaj Raju
Modified: 2022-12-04 14:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bharadwaj Raju 2022-12-04 12:25:30 UTC
BACKTRACE

#0  0x00007ffff7ecbed5 in LayerShellQt::QWaylandLayerSurface::QWaylandLayerSurface (this=this@entry=0x9c2a60, shell=shell@entry=0x9ba8b0, window=window@entry=0x6e1ac0)
    at /home/bharadwaj/kde/src/layer-shell-qt/src/qwaylandlayersurface.cpp:38
#1  0x00007ffff7eccdc5 in LayerShellQt::QWaylandLayerShell::createLayerSurface (this=0x9ba8b0, window=0x6e1ac0)
    at /home/bharadwaj/kde/src/layer-shell-qt/src/qwaylandlayershell.cpp:26
#2  0x00007ffff652d515 in QtWaylandClient::QWaylandWindow::initWindow() () from /lib64/libQt5WaylandClient.so.5
#3  0x00007ffff652d84d in QtWaylandClient::QWaylandWindow::setVisible(bool) () from /lib64/libQt5WaylandClient.so.5
#4  0x00007ffff5f76097 in QWindowPrivate::setVisible(bool) () from /lib64/libQt5Gui.so.5
#5  0x0000000000405d8a in operator() (op=<optimized out>, __closure=0x6873c0) at /home/bharadwaj/kde/src/kscreen/osd/osdmanager.cpp:120
#6  QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KScreen::ConfigOperation*>, void, KScreen::OsdManager::showActionSelector()::<lambda(const KScreen::ConfigOperation*)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#7  QtPrivate::Functor<KScreen::OsdManager::showActionSelector()::<lambda(const KScreen::ConfigOperation*)>, 1>::call<QtPrivate::List<KScreen::ConfigOperation*>, void>
    (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#8  QtPrivate::QFunctorSlotObject<KScreen::OsdManager::showActionSelector()::<lambda(const KScreen::ConfigOperation*)>, 1, QtPrivate::List<KScreen::ConfigOperation*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x6873b0, r=<optimized out>, a=<optimized out>, 
    ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#9  0x00007ffff5adbc26 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007ffff7ee81ff in KScreen::ConfigOperation::finished (this=this@entry=0x5d1680, _t1=<optimized out>, _t1@entry=0x5d1680)
    at /home/bharadwaj/kde/build/libkscreen/src/KF5Screen_autogen/EWIEGA46WW/moc_configoperation.cpp:153
#11 0x00007ffff7ef54d8 in KScreen::ConfigOperationPrivate::doEmitResult (this=0x62dc50) at /home/bharadwaj/kde/src/libkscreen/src/configoperation.cpp:48
#12 0x00007ffff5ad2ec4 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007ffff5aa8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#14 0x00007ffff5aab5e4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#15 0x00007ffff5af9897 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#16 0x00007ffff4519cbf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x00007ffff456f598 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#18 0x00007ffff4516f40 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x00007ffff5af938a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007ffff5aa6cca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#21 0x00007ffff5aaed92 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#22 0x00000000004048a2 in main (argc=<optimized out>, argv=0x7fffffffdad8) at /home/bharadwaj/kde/src/kscreen/osd/main.cpp:17



SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.10-300.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Bharadwaj Raju 2022-12-04 14:48:58 UTC
Fixed when I did a rebuild after updating Qt.