Bug 482767 - krfb crashes when kscreenlocker_greet is activated
Summary: krfb crashes when kscreenlocker_greet is activated
Status: RESOLVED DUPLICATE of bug 472453
Alias: None
Product: krfb
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.02.0
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: George Goldberg
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-07 19:21 UTC by alain
Modified: 2024-03-12 18:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alain 2024-03-07 19:21:14 UTC
STEPS TO REPRODUCE
1. Start krfb
2. Connect remotely
3. Hit Super-L (locally or remotely)

OBSERVED RESULT
krfb crashes when a remote session is active

EXPECTED RESULT
krfb doesn't crash

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.21-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 28.3 Gio of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: AZW
Product Name: SER

ADDITIONAL INFORMATION
When called from the command line, krfb displays this:

Initializing D-Bus connectivity with XDG Desktop Portal
DBus session created:  "/org/freedesktop/portal/desktop/request/1_87/krfb4254490118"
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
kf.notifications: No event config could be found for event id "NewConnectionAutoAccepted" under notifyrc file for app "krfb"
kf.notifications: No event config could be found for event id "UserAcceptsConnection" under notifyrc file for app "krfb"
/usr/include/c++/13.2.1/optional:477: constexpr _Tp& std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = PipeWireCursor; _Dp = std::_Optional_base<PipeWireCursor, false, false>]: Assertion 'this->_M_is_engaged()' failed.
zsh: IOT instruction (core dumped)  krfb

Backtrace:

#0  0x00007efd4b6ab32c in ??? () at /usr/lib/libc.so.6
#1  0x00007efd4b65a6c8 in raise () at /usr/lib/libc.so.6
#2  0x00007efd4b6424b8 in abort () at /usr/lib/libc.so.6
#3  0x00007efd4b8dd3b2 in std::__glibcxx_assert_fail
    (file=file@entry=0x7efd44056328 "/usr/include/c++/13.2.1/optional", line=line@entry=477, function=function@entry=0x7efd44056290 "constexpr _Tp& std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = PipeWireCursor; _Dp = std::_Optional_base<PipeWireCursor, false, false>]", condition=condition@entry=0x7efd4405600e "this->_M_is_engaged()") at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61
#4  0x00007efd4404ae7c in std::_Optional_base_impl<PipeWireCursor, std::_Optional_base<PipeWireCursor, false, false> >::_M_get (this=<optimized out>)
    at /usr/include/c++/13.2.1/optional:477
#5  std::_Optional_base_impl<PipeWireCursor, std::_Optional_base<PipeWireCursor, false, false> >::_M_get (this=<optimized out>)
    at /usr/include/c++/13.2.1/optional:475
#6  std::optional<PipeWireCursor>::operator-> (this=<optimized out>) at /usr/include/c++/13.2.1/optional:966
#7  PWFrameBuffer::cursorPosition (this=<optimized out>) at /usr/src/debug/krfb/krfb-24.02.0/framebuffers/pipewire/pw_framebuffer.cpp:514
#8  0x0000560afad11f29 in RfbServerManager::updateScreens
    (this=0x560afad298d0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS_s_instanceEEEE8instanceEvE6holder.lto_priv.0>)
    at /usr/src/debug/krfb/krfb-24.02.0/krfb/rfbservermanager.cpp:156
#9  0x00007efd4bd90ca9 in QtPrivate::QSlotObjectBase::call
    (a=0x7ffe1eb907b0, r=0x560afad298d0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS_s_instanceEEEE8instanceEvE6holder.lto_priv.0>, this=0x560afba979b0, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#10 doActivate<false> (sender=0x560afba224a0, signal_index=3, argv=0x7ffe1eb907b0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#11 0x00007efd4bd98d64 in QTimer::timeout (_t1=..., this=0x560afba224a0) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qtimer.cpp:272
#12 QTimer::timerEvent (e=<optimized out>, this=0x560afba224a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qtimer.cpp:252
#13 QTimer::timerEvent (this=0x560afba224a0, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qtimer.cpp:246
#14 0x00007efd4bd7c236 in QObject::event (this=0x560afba224a0, e=0x7ffe1eb90950)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:1414
#15 0x00007efd4ccf438b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x560afba224a0, e=0x7ffe1eb90950)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#16 0x00007efd4bd39818 in QCoreApplication::notifyInternal2 (receiver=0x560afba224a0, event=0x7ffe1eb90950)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#17 0x00007efd4be9efa6 in QCoreApplication::sendEvent (event=0x7ffe1eb90950, receiver=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1539
#18 QTimerInfoList::activateTimers (this=0x560afb7a6170) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qtimerinfo_unix.cpp:507
#19 0x00007efd4bf756dc in timerSourceDispatch (source=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:149
#20 0x00007efd4a81ff69 in g_main_dispatch (context=0x7efd40000ef0) at ../glib/glib/gmain.c:3476
#21 0x00007efd4a87e3a7 in g_main_context_dispatch_unlocked (context=0x7efd40000ef0) at ../glib/glib/gmain.c:4284
#22 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7efd40000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4349
#23 0x00007efd4a81e162 in g_main_context_iteration (context=0x7efd40000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#24 0x00007efd4bf739c4 in QEventDispatcherGlib::processEvents (this=0x560afb758b50, flags=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#25 0x00007efd4bd43d6e in QEventLoop::processEvents (flags=..., this=0x7ffe1eb90c20)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#26 QEventLoop::exec (this=0x7ffe1eb90c20, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#27 0x00007efd4bd3c2b8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#28 0x00007efd4ccf0f0a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#29 0x0000560afad036c3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/krfb/krfb-24.02.0/krfb/main.cpp:183
Comment 1 Nicolas Fella 2024-03-12 18:36:22 UTC

*** This bug has been marked as a duplicate of bug 472453 ***