https://bugs.kde.org/show_bug.cgi?id=466725
Bug ID: 466725
Summary: kwin_wayland crashes when using recordme
Classification: Plasma
Product: kwin
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Using the recordme example from kpipewire. When clicking "Add virtual monitor"
kwin crashed
kwin 851a025fe00c1e2646067a3b0cb343af5aa0cf61, Qt 6.4
#0 KWin::GbmSurface::format() const (this=0x0) at
/home/nico/kde6/src/kwin/src/backends/drm/drm_gbm_surface.cpp:100
#1 0x00007f254801f51e in KWin::ScreenCastStream::createStream()
(this=0x3fc9d80) at
/home/nico/kde6/src/kwin/src/plugins/screencast/screencaststream.cpp:343
#2 0x00007f254801fd8e in KWin::ScreenCastStream::init()
(this=this@entry=0x3fc9d80) at
/home/nico/kde6/src/kwin/src/plugins/screencast/screencaststream.cpp:312
#3 0x00007f25480187ee in
KWin::ScreencastManager::integrateStreams(KWaylandServer::ScreencastStreamV1Interface*,
KWin::ScreenCastStream*) (this=<optimized out>, waylandStream=0x3c80d30,
stream=0x3fc9d80)
at
/home/nico/kde6/src/kwin/src/plugins/screencast/screencastmanager.cpp:220
#4 0x00007f25480189e3 in
KWin::ScreencastManager::streamOutput(KWaylandServer::ScreencastStreamV1Interface*,
KWin::Output*, KWaylandServer::ScreencastV1Interface::CursorMode)
(this=<optimized out>, waylandStream=<optimized out>,
streamOutput=<optimized out>, mode=<optimized out>) at
/home/nico/kde6/src/kwin/src/plugins/screencast/screencastmanager.cpp:162
#5 0x00007f2548018adc in
KWin::ScreencastManager::streamVirtualOutput(KWaylandServer::ScreencastStreamV1Interface*,
QString const&, QSize const&, double,
KWaylandServer::ScreencastV1Interface::CursorMode)
(this=<optimized out>, stream=0x3c80d30, name=<optimized out>,
size=<optimized out>, scale=<optimized out>,
mode=KWaylandServer::ScreencastV1Interface::Metadata)
at
/home/nico/kde6/src/kwin/src/plugins/screencast/screencastmanager.cpp:128
#6 0x00007f2568dc7d30 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff1bf2fd90, r=<optimized out>, this=0x243e100)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qobjectdefs_impl.h:363
#7 doActivate<false>(QObject*, int, void**) (sender=0x243dab0, signal_index=4,
argv=0x7fff1bf2fd90) at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qobject.cpp:3979
#8 0x00007f2568dc0cc7 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**)
(sender=sender@entry=0x243dab0, m=m@entry=0x7f256cb56780
<KWaylandServer::ScreencastV1Interface::staticMetaObject>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff1bf2fd90)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qobject.cpp:4039
#9 0x00007f256c65839b in
KWaylandServer::ScreencastV1Interface::virtualOutputScreencastRequested(KWaylandServer::ScreencastStreamV1Interface*,
QString const&, QSize const&, double,
KWaylandServer::ScreencastV1Interface::CursorMode) (this=this@entry=0x243dab0,
_t1=<optimized out>, _t1@entry=0x3c80d30, _t2=..., _t3=..., _t4=<optimized
out>, _t4@entry=1, _t5=<optimized out>,
_t5@entry=KWaylandServer::ScreencastV1Interface::Metadata) at
/home/nico/kde6/build/kwin/src/kwin_autogen/IEXH3JLKNG/moc_screencast_v1_interface.cpp:406
#10 0x00007f256c96ece0 in
KWaylandServer::ScreencastV1InterfacePrivate::zkde_screencast_unstable_v1_stream_virtual_output(QtWaylandServer::zkde_screencast_unstable_v1::Resource*,
unsigned int, QString const&, int, int, int, unsigned int) (this=<optimized
out>, resource=0x3fd9a00, streamid=65, name=..., width=<optimized out>,
height=<optimized out>, scale=256, pointer=4)
at /home/nico/kde6/src/kwin/src/wayland/screencast_v1_interface.cpp:86
#11 0x00007f256c63256a in
QtWaylandServer::zkde_screencast_unstable_v1::handle_stream_virtual_output(wl_client*,
wl_resource*, unsigned int, char const*, int, int, int, unsigned int)
(client=<optimized out>, resource=<optimized out>, stream=65,
name=0x3fcc390 "recordme", width=1920, height=1080, scale=256, pointer=4)
at
/home/nico/kde6/build/kwin/src/wayland/qwayland-server-zkde-screencast-unstable-v1.cpp:298
#12 0x00007f2567c59a06 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#13 0x00007f2567c5649d in ffi_call_int (cif=<optimized out>, fn=<optimized
out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>)
at ../src/x86/ffi64.c:673
#14 0x00007f2567c59083 in ffi_call (cif=cif@entry=0x7fff1bf30090, fn=<optimized
out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fff1bf30160) at
../src/x86/ffi64.c:710
#15 0x00007f256afb2276 in wl_closure_invoke (closure=closure@entry=0x3fcc2b0,
flags=flags@entry=2, target=<optimized out>, target@entry=0x38e7350,
opcode=opcode@entry=3, data=<optimized out>,
data@entry=0x3ba8280) at ../src/connection.c:1025
#16 0x00007f256afada33 in wl_client_connection_data (fd=<optimized out>,
mask=<optimized out>, data=0x3ba8280) at ../src/wayland-server.c:437
#17 0x00007f256afb0462 in wl_event_loop_dispatch (loop=0x1e797a0,
timeout=<optimized out>) at ../src/event-loop.c:1027
#18 0x00007f256c935294 in KWaylandServer::Display::dispatchEvents()
(this=<optimized out>) at /home/nico/kde6/src/kwin/src/wayland/display.cpp:114
#19 0x00007f2568dc7d30 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff1bf30600, r=<optimized out>, this=0x2203d10)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qobjectdefs_impl.h:363
#20 doActivate<false>(QObject*, int, void**) (sender=0x243ff30, signal_index=3,
argv=0x7fff1bf30600) at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qobject.cpp:3979
#21 0x00007f2568dc0cc7 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**)
(sender=sender@entry=0x243ff30, m=m@entry=0x7f256922ef00
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff1bf30600)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qobject.cpp:4039
#22 0x00007f2568dd61d3 in QSocketNotifier::activated(QSocketDescriptor,
QSocketNotifier::Type, QSocketNotifier::QPrivateSignal)
(this=this@entry=0x243ff30, _t1=..., _t2=<optimized out>, _t3=...)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:207
#23 0x00007f2568dd697d in QSocketNotifier::event(QEvent*) (this=0x243ff30,
e=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qsocketnotifier.cpp:326
#24 0x00007f2569fbaa65 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x243ff30, e=0x7fff1bf306f0)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/widgets/kernel/qapplication.cpp:3315
#25 0x00007f2568d68068 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x243ff30, event=0x7fff1bf306f0)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qcoreapplication.cpp:1026
--Type <RET> for more, q to quit, c to continue without paging--
#26 0x00007f2568f03cf6 in
QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x1e8ae90) at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qeventdispatcher_unix.cpp:269
#27 0x00007f2568f042d1 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/kernel/qeventdispatcher_unix.cpp:476
#28 0x00007f2569b084f1 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/gui/platform/unix/qunixeventdispatcher.cpp:27
#29 0x00007f2568d7465b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fff1bf308b0, flags=..., flags@entry=...)
at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/global/qflags.h:34
#30 0x00007f2568d70528 in QCoreApplication::exec() () at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/corelib/global/qflags.h:74
#31 0x00007f25695eefc0 in QGuiApplication::exec() () at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/gui/kernel/qguiapplication.cpp:1859
#32 0x00007f2569fba9d9 in QApplication::exec() () at
/usr/src/debug/qt6-qtbase-6.4.2-4.fc37.x86_64/src/widgets/kernel/qapplication.cpp:2595
#33 0x0000000000436849 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /home/nico/kde6/src/kwin/src/main_wayland.cpp:613
--
You are receiving this mail because:
You are watching all bug changes.