Bug 470996 - krfb-virtualmonitor 23.x crashes
Summary: krfb-virtualmonitor 23.x crashes
Status: RESOLVED FIXED
Alias: None
Product: krfb
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.02.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: George Goldberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-13 22:59 UTC by Caballo Juan
Modified: 2024-07-03 14:22 UTC (History)
13 users (show)

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 Caballo Juan 2023-06-13 22:59:11 UTC
SUMMARY
krfb-virtualmonitor simply crashes when trying to use it 

STEPS TO REPRODUCE
1. Try to use krfb-virtualmonitor 23.x 

OBSERVED RESULT
krfb-virtualmonitor segfaults for no apparent reason

EXPECTED RESULT
- the program shouldn't segfault 
- downgrading to krfb-virtualmonitor 22.x solves the issue (specifically, this version works just fine: https://archive.archlinux.org/packages/k/krfb/krfb-22.12.3-1-x86_64.pkg.tar.zst)


SOFTWARE/OS VERSIONS
KDE Plasma Version:  5.27.5-1 
KDE Frameworks Version: 5.107.0-1
Qt Version: 5.15.9
(latest as of today)

ADDITIONAL INFORMATION
-
CPU: 12th Gen Intel(R) Core(TM) i7-1280P (20) @ 4.7 GHz
GPU: Intel Alder Lake-P Integrated Graphics Controller
-
krfb-virtualmonitor also crashes even after deleting the default config file in ~/.config
-
Some logs:
QT_LOGGING_RULES="krfb.krfb=true" krfb-virtualmonitor --name test --resolution 2400x1080 --password test --port 5900 
krfb.krfb: Loaded plugin with name  "pw"
krfb.krfb: Using FrameBuffer: "pw"
krfb.krfb: Starting server. Listen port: 5900 Listen Address: "0.0.0.0" Password enabled: true
13/06/2023 04:55:26 PM Listening for VNC connections on TCP port 5900
13/06/2023 04:55:26 PM Listening for VNC connections on TCP6 port 5900
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
Segmentation fault
Comment 1 Caballo Juan 2023-06-13 23:18:42 UTC
gdb backtrace:

kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
[New Thread 0x7fff937fe6c0 (LWP 4568)]
[New Thread 0x7fff92ffd6c0 (LWP 4569)]
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"

Thread 1 "krfb-virtualmon" received signal SIGSEGV, Segmentation fault.
__memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:706
706             VMOVU   %VMM(0), (%rdi)                                                                                                                                                                             
(gdb) backtrace
#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:706
#1  0x00007fff7fea6255 in memcpy (__len=8294400, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:29
#2  PWFrameBuffer::Private::handleFrame (frame=..., this=0x55555583fde0) at /usr/src/debug/krfb/krfb-23.04.2/framebuffers/pipewire/pw_framebuffer.cpp:392
#3  operator() (frame=..., __closure=<optimized out>) at /usr/src/debug/krfb/krfb-23.04.2/framebuffers/pipewire/pw_framebuffer.cpp:156
#4  QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<const PipeWireFrame&>, void, PWFrameBuffer::Private::Private(PWFrameBuffer*)::<lambda(const PipeWireFrame&)> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#5  QtPrivate::Functor<PWFrameBuffer::Private::Private(PWFrameBuffer*)::<lambda(const PipeWireFrame&)>, 1>::call<QtPrivate::List<PipeWireFrame const&>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#6  QtPrivate::QFunctorSlotObject<PWFrameBuffer::Private::Private(PWFrameBuffer*)::<lambda(const PipeWireFrame&)>, 1, QtPrivate::List<const PipeWireFrame&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#7  0x00007ffff6be9fe7 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false> (sender=0x55555597b4e0, signal_index=7, argv=0x7fffffffd760) at kernel/qobject.cpp:3923
#9  0x00007fff7fa466aa in PipeWireSourceStream::frameReceived (this=this@entry=0x55555597b4e0, _t1=...) at /usr/src/debug/kpipewire/build/src/KPipeWire_autogen/EWIEGA46WW/moc_pipewiresourcestream.cpp:219
#10 0x00007fff7fa521fe in PipeWireSourceStream::handleFrame (this=this@entry=0x55555597b4e0, buffer=buffer@entry=0x555555c2f0a8) at /usr/src/debug/kpipewire/kpipewire-5.27.5/src/pipewiresourcestream.cpp:533
#11 0x00007fff7fa52b4d in PipeWireSourceStream::process (this=0x55555597b4e0) at /usr/src/debug/kpipewire/kpipewire-5.27.5/src/pipewiresourcestream.cpp:551
#12 0x00007fff7f8a4108 in do_call_process (loop=<optimized out>, async=<optimized out>, seq=<optimized out>, data=<optimized out>, size=<optimized out>, user_data=0x555555c2ec90) at ../pipewire/src/pipewire/stream.c:420
#13 0x00007fff7f8148e1 in flush_items (impl=0x555555c11138) at ../pipewire/spa/plugins/support/loop.c:171
#14 0x00007fff7f813a09 in source_event_func (source=0x5555555b08e0) at ../pipewire/spa/plugins/support/loop.c:650
#15 0x00007fff7f8155b6 in loop_iterate (object=0x555555c11138, timeout=<optimized out>) at ../pipewire/spa/plugins/support/loop.c:483
#16 0x00007fff7fa485d0 in operator() (__closure=<optimized out>) at /usr/src/debug/kpipewire/kpipewire-5.27.5/src/pipewirecore.cpp:78
#17 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, PipeWireCore::init(int)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#18 QtPrivate::Functor<PipeWireCore::init(int)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#19 QtPrivate::QFunctorSlotObject<PipeWireCore::init(int)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#20 0x00007ffff6be9fe7 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false> (sender=0x55555558aba0, signal_index=3, argv=0x7fffffffde00) at kernel/qobject.cpp:3923
#22 0x00007ffff6beb7e4 in QSocketNotifier::activated (this=this@entry=0x55555558aba0, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#23 0x00007ffff6beb928 in QSocketNotifier::event (this=0x55555558aba0, e=<optimized out>) at kernel/qsocketnotifier.cpp:302
#24 0x00007ffff76ae93f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55555558aba0, e=0x7fffffffdf20) at kernel/qapplication.cpp:3640
#25 0x00007ffff6bb4b18 in QCoreApplication::notifyInternal2 (receiver=0x55555558aba0, event=0x7fffffffdf20) at kernel/qcoreapplication.cpp:1064
#26 0x00007ffff6c02c76 in socketNotifierSourceDispatch (source=0x5555555d48a0) at kernel/qeventdispatcher_glib.cpp:107
#27 0x00007ffff4cd1981 in g_main_dispatch (context=0x7fffec000ee0) at ../glib/glib/gmain.c:3460
#28 g_main_context_dispatch (context=0x7fffec000ee0) at ../glib/glib/gmain.c:4200
#29 0x00007ffff4d2eb39 in g_main_context_iterate.isra.0 (context=context@entry=0x7fffec000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#30 0x00007ffff4ccf032 in g_main_context_iteration (context=0x7fffec000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#31 0x00007ffff6c03f0c in QEventDispatcherGlib::processEvents (this=0x555555593150, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007ffff6bb3824 in QEventLoop::exec (this=this@entry=0x7fffffffe1a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x00007ffff6bb4cc3 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00007ffff6fee7c2 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#35 0x00007ffff76accda in QApplication::exec () at kernel/qapplication.cpp:2832
#36 0x000055555555bb83 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/krfb/krfb-23.04.2/krfb/main-virtualmonitor.cpp:174
Comment 2 Caballo Juan 2023-06-13 23:32:38 UTC
Forgot to mention this is happening under KDE Wayland.
Comment 3 lp 2023-09-06 12:09:25 UTC
(In reply to Juan Méndez from comment #2)
> Forgot to mention this is happening under KDE Wayland.

Same problem here with krfb 23.04.3 in wayland. Here is thebacktrace:
Starting program: /usr/bin/krfb-virtualmonitor --resolution 2000x1200 --name usb --port 5900 --password jadranka1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff2460640 (LWP 139334)]
[New Thread 0x7fffeb9ff640 (LWP 139335)]
[New Thread 0x7fffeb1fe640 (LWP 139336)]
[New Thread 0x7fffe881d640 (LWP 139342)]
[New Thread 0x7fffd4fff640 (LWP 139343)]
[New Thread 0x7fffd47fe640 (LWP 139344)]
[New Thread 0x7fffd3ffd640 (LWP 139345)]
[New Thread 0x7fffd37fc640 (LWP 139346)]
[New Thread 0x7fffd2ffb640 (LWP 139347)]
[New Thread 0x7fffd27fa640 (LWP 139348)]
[New Thread 0x7fffd1fc4640 (LWP 139349)]
[Thread 0x7fffd1fc4640 (LWP 139349) exited]
[Thread 0x7fffd27fa640 (LWP 139348) exited]
[Thread 0x7fffd2ffb640 (LWP 139347) exited]
[Thread 0x7fffd37fc640 (LWP 139346) exited]
[New Thread 0x7fffd37fc640 (LWP 139370)]
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
[New Thread 0x7fffd2ffb640 (LWP 139387)]
[New Thread 0x7fffd27fa640 (LWP 139388)]
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"

Thread 1 "krfb-virtualmon" received signal SIGSEGV, Segmentation fault.
__memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:749
749     ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
(gdb) bt
#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:749
#1  0x00007fffebeb2209 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/krfb/framebuffer/pw.so
#2  0x00007ffff68f48f4 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fffebe54d09 in PipeWireSourceStream::frameReceived(PipeWireFrame const&) () from /lib/x86_64-linux-gnu/libKPipeWire.so.5
#4  0x00007fffebe6073c in PipeWireSourceStream::handleFrame(pw_buffer*) () from /lib/x86_64-linux-gnu/libKPipeWire.so.5
#5  0x00007fffebe60f3b in PipeWireSourceStream::process() () from /lib/x86_64-linux-gnu/libKPipeWire.so.5
#6  0x00007fffd145c6a8 in ?? () from /lib/x86_64-linux-gnu/libpipewire-0.3.so.0
#7  0x00007fffd1fe2769 in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#8  0x00007fffd1fe18aa in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#9  0x00007fffd1fe2e33 in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#10 0x00007fffebe56c70 in ?? () from /lib/x86_64-linux-gnu/libKPipeWire.so.5
#11 0x00007ffff68f48f4 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff68f7e33 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff68f8663 in QSocketNotifier::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff756c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff68bce4a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff6916f45 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff51c7d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff521d258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff51c53e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff6916338 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff68bb76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff68c3d14 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x000055555555d2ef in ?? ()
#24 0x00007ffff5e29d90 in __libc_start_call_main (main=main@entry=0x55555555c7a0, argc=argc@entry=9, argv=argv@entry=0x7fffffffdb38)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#25 0x00007ffff5e29e40 in __libc_start_main_impl (main=0x55555555c7a0, argc=9, argv=0x7fffffffdb38, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffdb28) at ../csu/libc-start.c:392
#26 0x000055555555dcf5 in ?? ()
Comment 4 lp 2023-09-06 12:12:53 UTC
(In reply to lp from comment #3)
> (In reply to Juan Méndez from comment #2)
> > Forgot to mention this is happening under KDE Wayland.
> 
> Same problem here with krfb 23.04.3 in wayland. Here is thebacktrace:
> Starting program: /usr/bin/krfb-virtualmonitor --resolution 2000x1200 --name
> usb --port 5900 --password XXXXX
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [New Thread 0x7ffff2460640 (LWP 139334)]
> [New Thread 0x7fffeb9ff640 (LWP 139335)]
> [New Thread 0x7fffeb1fe640 (LWP 139336)]
> [New Thread 0x7fffe881d640 (LWP 139342)]
> [New Thread 0x7fffd4fff640 (LWP 139343)]
> [New Thread 0x7fffd47fe640 (LWP 139344)]
> [New Thread 0x7fffd3ffd640 (LWP 139345)]
> [New Thread 0x7fffd37fc640 (LWP 139346)]
> [New Thread 0x7fffd2ffb640 (LWP 139347)]
> [New Thread 0x7fffd27fa640 (LWP 139348)]
> [New Thread 0x7fffd1fc4640 (LWP 139349)]
> [Thread 0x7fffd1fc4640 (LWP 139349) exited]
> [Thread 0x7fffd27fa640 (LWP 139348) exited]
> [Thread 0x7fffd2ffb640 (LWP 139347) exited]
> [Thread 0x7fffd37fc640 (LWP 139346) exited]
> [New Thread 0x7fffd37fc640 (LWP 139370)]
> kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
> [New Thread 0x7fffd2ffb640 (LWP 139387)]
> [New Thread 0x7fffd27fa640 (LWP 139388)]
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR
> -  "EGL_SUCCESS"
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR
> -  "EGL_SUCCESS"
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR
> -  "EGL_SUCCESS"
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR
> -  "EGL_SUCCESS"
> 
> Thread 1 "krfb-virtualmon" received signal SIGSEGV, Segmentation fault.
> __memmove_avx_unaligned_erms () at
> ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:749
> 749     ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such
> file or directory.
> (gdb) bt
> #0  __memmove_avx_unaligned_erms () at
> ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:749
> #1  0x00007fffebeb2209 in ?? () from
> /usr/lib/x86_64-linux-gnu/qt5/plugins/krfb/framebuffer/pw.so
> #2  0x00007ffff68f48f4 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #3  0x00007fffebe54d09 in PipeWireSourceStream::frameReceived(PipeWireFrame
> const&) () from /lib/x86_64-linux-gnu/libKPipeWire.so.5
> #4  0x00007fffebe6073c in PipeWireSourceStream::handleFrame(pw_buffer*) ()
> from /lib/x86_64-linux-gnu/libKPipeWire.so.5
> #5  0x00007fffebe60f3b in PipeWireSourceStream::process() () from
> /lib/x86_64-linux-gnu/libKPipeWire.so.5
> #6  0x00007fffd145c6a8 in ?? () from
> /lib/x86_64-linux-gnu/libpipewire-0.3.so.0
> #7  0x00007fffd1fe2769 in ?? () from
> /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
> #8  0x00007fffd1fe18aa in ?? () from
> /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
> #9  0x00007fffd1fe2e33 in ?? () from
> /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
> #10 0x00007fffebe56c70 in ?? () from /lib/x86_64-linux-gnu/libKPipeWire.so.5
> #11 0x00007ffff68f48f4 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #12 0x00007ffff68f7e33 in QSocketNotifier::activated(QSocketDescriptor,
> QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) ()
>    from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #13 0x00007ffff68f8663 in QSocketNotifier::event(QEvent*) () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #14 0x00007ffff756c763 in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #15 0x00007ffff68bce4a in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #16 0x00007ffff6916f45 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #17 0x00007ffff51c7d3b in g_main_context_dispatch () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #18 0x00007ffff521d258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #19 0x00007ffff51c53e3 in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #20 0x00007ffff6916338 in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #21 0x00007ffff68bb76b in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #22 0x00007ffff68c3d14 in QCoreApplication::exec() () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #23 0x000055555555d2ef in ?? ()
> #24 0x00007ffff5e29d90 in __libc_start_call_main
> (main=main@entry=0x55555555c7a0, argc=argc@entry=9,
> argv=argv@entry=0x7fffffffdb38)
>     at ../sysdeps/nptl/libc_start_call_main.h:58
> #25 0x00007ffff5e29e40 in __libc_start_main_impl (main=0x55555555c7a0,
> argc=9, argv=0x7fffffffdb38, init=<optimized out>, fini=<optimized out>, 
>     rtld_fini=<optimized out>, stack_end=0x7fffffffdb28) at
> ../csu/libc-start.c:392
> #26 0x000055555555dcf5 in ?? ()
Comment 5 phrxmd 2023-09-27 07:01:07 UTC
I can confirm this, am seeing the same behaviour.

Operating System: openSUSE Tumbleweed 20230917
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.3-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20LDCTO1WW
System Version: ThinkPad X1 Yoga 3rd

Here is the backtrace (upon calling `krfb-virtualmonitor --name Virtual --resolution 1024x768 --password password --port 5900`):
#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:660
#1  0x00007f05c00196ac in ?? () from /usr/lib64/qt5/plugins/krfb/framebuffer/pw.so
#2  0x00007f05c7b25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd25c0baf0, r=0x55848d758f30, this=0x55848d759a70)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#3  doActivate<false> (sender=0x55848d7b3790, signal_index=7, argv=0x7ffd25c0baf0) at kernel/qobject.cpp:3925
#4  0x00007f05b85e10c5 in PipeWireSourceStream::frameReceived(PipeWireFrame const&) () from /lib64/libKPipeWire.so.5
#5  0x00007f05b85ec78b in PipeWireSourceStream::handleFrame(pw_buffer*) () from /lib64/libKPipeWire.so.5
#6  0x00007f05b85ecfb7 in PipeWireSourceStream::process() () from /lib64/libKPipeWire.so.5
#7  0x00007f05b8441760 in do_call_process (loop=<optimized out>, async=<optimized out>, seq=<optimized out>, 
    data=<optimized out>, size=<optimized out>, user_data=0x55848d870a50) at ../src/pipewire/stream.c:449
#8  do_call_process (loop=<optimized out>, async=<optimized out>, seq=<optimized out>, data=<optimized out>, 
    size=<optimized out>, user_data=0x55848d870a50) at ../src/pipewire/stream.c:442
#9  0x00007f05b83a6bb1 in flush_items (impl=0x55848d84d678) at ../spa/plugins/support/loop.c:171
#10 0x00007f05b83a5d15 in source_event_func (source=0x55848d6769b0) at ../spa/plugins/support/loop.c:650
#11 0x00007f05b83a7576 in loop_iterate (object=0x55848d84d678, timeout=<optimized out>)
    at ../spa/plugins/support/loop.c:483
#12 0x00007f05b85e2ee9 in ?? () from /lib64/libKPipeWire.so.5
#13 0x00007f05c7b25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd25c0c190, r=0x55848d7fa9e0, this=0x55848d7eb8b0)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x55848d7f7f30, signal_index=3, argv=0x7ffd25c0c190) at kernel/qobject.cpp:3925
#15 0x00007f05c7b1e47f in QMetaObject::activate (sender=sender@entry=0x55848d7f7f30, m=m@entry=0x7f05c7dc7860, 
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd25c0c190) at kernel/qobject.cpp:3985
#16 0x00007f05c7b28b0f in QSocketNotifier::activated (this=this@entry=0x55848d7f7f30, _t1=..., _t2=<optimized out>, 
    _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#17 0x00007f05c7b29315 in QSocketNotifier::event (this=0x55848d7f7f30, e=<optimized out>) at kernel/qsocketnotifier.cpp:302
#18 0x00007f05c87a519e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55848d7f7f30, 
--Type <RET> for more, q to quit, c to continue without paging--
    e=0x7ffd25c0c290) at kernel/qapplication.cpp:3640
#19 0x00007f05c7aed568 in QCoreApplication::notifyInternal2 (receiver=0x55848d7f7f30, event=0x7ffd25c0c290)
    at kernel/qcoreapplication.cpp:1064
#20 0x00007f05c7aed72e in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>)
    at kernel/qcoreapplication.cpp:1462
#21 0x00007f05c7b46f7d in socketNotifierSourceDispatch (source=0x55848d6a64a0) at kernel/qeventdispatcher_glib.cpp:107
#22 0x00007f05c5d169d8 in g_main_dispatch (context=0x7f05bc000ee0) at ../glib/gmain.c:3460
#23 g_main_context_dispatch (context=context@entry=0x7f05bc000ee0) at ../glib/gmain.c:4200
#24 0x00007f05c5d16de8 in g_main_context_iterate (context=context@entry=0x7f05bc000ee0, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#25 0x00007f05c5d16e7c in g_main_context_iteration (context=0x7f05bc000ee0, may_block=1) at ../glib/gmain.c:4343
#26 0x00007f05c7b464a6 in QEventDispatcherGlib::processEvents (this=0x55848d635390, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f05c7aebffb in QEventLoop::exec (this=this@entry=0x7ffd25c0c4a0, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x00007f05c7af4490 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x000055848bf2a701 in ?? ()
#30 0x00007f05c70281b0 in __libc_start_call_main (main=main@entry=0x55848bf29c10, argc=argc@entry=9, 
    argv=argv@entry=0x7ffd25c0c848) at ../sysdeps/nptl/libc_start_call_main.h:58
#31 0x00007f05c7028279 in __libc_start_main_impl (main=0x55848bf29c10, argc=9, argv=0x7ffd25c0c848, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd25c0c838) at ../csu/libc-start.c:360
#32 0x000055848bf2b085 in ?? ()
Comment 6 ian+bugs.kde.org 2023-11-28 21:41:23 UTC
Confirmed this is still happening

KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.2-1-MANJARO (64-bit)
Graphics Platform: Wayland
package: krfb 23.08.3-1

kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
zsh: segmentation fault (core dumped)  krfb-virtualmonitor --name ipad --resolution 1024x768 --port 5900 --password
Comment 7 geqch0akc 2023-12-18 04:14:18 UTC
Yep happening for on kubuntu 23.10
Comment 8 luciros601084 2023-12-27 07:50:57 UTC
I observed that when I kill pipewire process, then run kvfb-virtualmonitor command it does work, then later I can start again pipewire
Comment 9 Angkun-ane "Diskette" Khunpradith 2024-01-30 19:16:22 UTC
I also observed Wayland somehow "crashes" (by putting "impossible" number of resolution sizes or scales eg `krfb-virtualmonitor --scale 100 --resolution 1280x800 --name test1 --password a --port 5900`), the krfb manages to survive.
Comment 10 Karel Matějovský 2024-02-06 19:54:45 UTC
I have tried the command above, even killing pipewire, the process didn't die to SEGFAULT, but still doesn't work the way it's supposed to. I'm getting all my screens black except the first one which shows a menu for new display. In system settings the only monitor that appears to be there is the virtual one, all the other ones are gone for some reason and there's plenty of gibberish text (probably labels for physical monitors) in the display field.
Comment 11 Karel Matějovský 2024-02-06 20:01:13 UTC
One more thing I've noticed. When I look at my displays, the resolution of the virtual display is 100 times more than it should be, I guess it has something to do with the scale factor. Changing the scale to 1 doesn't work, so I'm currently stuck only with resolutions that end up with 00, because you can't type in decimal resolution (also crashes). Don't have enough skills to dig through the code, so I'd appreciate any help regarding this issue. I will also try to VNC to the newly created display (what did work for me was 'krfb-virtualmonitor --scale 100 --resolution 12x8 --name test1 --password a --port 5900') and report on whether I'm really getting somewhere.
Comment 12 Karel Matějovský 2024-02-06 20:06:48 UTC
After connecting to the virtual display through AVNC on Android, I got this issue:

new client request
/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-virtualmonitor --scale 100 --resolution 12x8 --name test1 --password a
Comment 13 Antti Savolainen 2024-02-14 17:06:54 UTC
Came here to add my two cents that the crash is still happening on krfb-virtualmonitor 24.01.95
Comment 14 Fabian Arndt 2024-03-08 00:18:58 UTC
This is still a problem.

Manjaro "Vulcan 23.1.3"
krfb 23.08.5-1
pipewire 1.0.3-1

> [Thread debugging using libthread_db enabled]                                                                                                                                                                                               
> Using host libthread_db library "/usr/lib/libthread_db.so.1".
> [New Thread 0x7ffff18006c0 (LWP 18852)]                                                                                                                                                                                                     
> [New Thread 0x7fffeb8006c0 (LWP 18853)]                                                                                                                                                                                                     
> [New Thread 0x7fffeae006c0 (LWP 18854)]
> [New Thread 0x7fffe0c006c0 (LWP 18855)]                                                                                                                                                                                                     
> [New Thread 0x7fffd16006c0 (LWP 18856)]
> [New Thread 0x7fffd0c006c0 (LWP 18857)]
> [New Thread 0x7fffcbe006c0 (LWP 18858)]
> [New Thread 0x7fffcb4006c0 (LWP 18859)]
> [New Thread 0x7fffcaa006c0 (LWP 18860)]
> [Thread 0x7fffcaa006c0 (LWP 18860) exited]
> [Thread 0x7fffcb4006c0 (LWP 18859) exited]
> [Thread 0x7fffcbe006c0 (LWP 18858) exited]
> [Thread 0x7fffd0c006c0 (LWP 18857) exited]
> [New Thread 0x7fffd0c006c0 (LWP 18875)]                                                                                                                                                                                                     
> kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
> [New Thread 0x7fffcbe006c0 (LWP 18901)]
> [New Thread 0x7fffcb4006c0 (LWP 18902)]
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
> kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
> kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
> 
> Thread 1 "krfb-virtualmon" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff6175587 in ?? () from /usr/lib/libc.so.6
> (gdb) bt
> #0  0x00007ffff6175587 in ??? () at /usr/lib/libc.so.6
> #1  0x00007fffe3f36255 in ??? () at /usr/lib/qt/plugins/krfb/framebuffer/pw.so
> #2  0x00007ffff68c8e27 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffc580, r=<optimized out>, this=0x555555759d50, this=<optimized out>, r=<optimized out>, a=<optimized out>)
>     at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
> #3  doActivate<false> (sender=0x555555765010, signal_index=7, argv=0x7fffffffc580) at kernel/qobject.cpp:3925
> #4  0x00007fffe3f116aa in PipeWireSourceStream::frameReceived(PipeWireFrame const&) () at /usr/lib/libKPipeWire.so.5
> #5  0x00007fffe3f1d1ce in PipeWireSourceStream::handleFrame(pw_buffer*) () at /usr/lib/libKPipeWire.so.5
> #6  0x00007fffe3f1db1d in PipeWireSourceStream::process() () at /usr/lib/libKPipeWire.so.5
> #7  0x00007fffe11432a8 in do_call_process (loop=<optimized out>, async=<optimized out>, seq=<optimized out>, data=<optimized out>, size=<optimized out>, user_data=0x555555856e60) at ../pipewire/src/pipewire/stream.c:453
> #8  do_call_process (loop=<optimized out>, async=<optimized out>, seq=<optimized out>, data=<optimized out>, size=<optimized out>, user_data=0x555555856e60) at ../pipewire/src/pipewire/stream.c:446
> #9  0x00007fffe10a6988 in flush_items (impl=0x55555582e098) at ../pipewire/spa/plugins/support/loop.c:180
> #10 0x00007fffe10a5cb9 in source_event_func (source=0x5555555b5bd0) at ../pipewire/spa/plugins/support/loop.c:663
> #11 0x00007fffe10a7646 in loop_iterate (object=0x55555582e098, timeout=<optimized out>) at ../pipewire/spa/plugins/support/loop.c:496
> #12 0x00007fffe3f135e9 in ??? () at /usr/lib/libKPipeWire.so.5
> #13 0x00007ffff68c8e27 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffcc20, r=<optimized out>, this=0x555555780980, this=<optimized out>, r=<optimized out>, a=<optimized out>)
>     at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
> #14 doActivate<false> (sender=0x555555814360, signal_index=3, argv=0x7fffffffcc20) at kernel/qobject.cpp:3925
> #15 0x00007ffff68ca624 in QSocketNotifier::activated (this=this@entry=0x555555814360, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
> #16 0x00007ffff68ca768 in QSocketNotifier::event (this=0x555555814360, e=<optimized out>) at kernel/qsocketnotifier.cpp:302
> #17 0x00007ffff75578ff in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555555814360, e=0x7fffffffcd40) at kernel/qapplication.cpp:3640
> #18 0x00007ffff6893ef8 in QCoreApplication::notifyInternal2 (receiver=0x555555814360, event=0x7fffffffcd40) at kernel/qcoreapplication.cpp:1064
> #19 0x00007ffff68e1a66 in socketNotifierSourceDispatch (source=0x5555555fddb0) at kernel/qeventdispatcher_glib.cpp:107
> #20 0x00007ffff4d0df69 in g_main_dispatch (context=0x7fffec000ec0) at ../glib/glib/gmain.c:3476
> #21 0x00007ffff4d6c3a7 in g_main_context_dispatch_unlocked (context=0x7fffec000ec0) at ../glib/glib/gmain.c:4284
> #22 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffec000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
> #23 0x00007ffff4d0c162 in g_main_context_iteration (context=0x7fffec000ec0, may_block=1) at ../glib/glib/gmain.c:4414
> #24 0x00007ffff68e2d0c in QEventDispatcherGlib::processEvents (this=0x555555601d80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
> #25 0x00007ffff6892c04 in QEventLoop::exec (this=this@entry=0x7fffffffcfc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
> #26 0x00007ffff68940a3 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
> #27 0x000055555555ab83 in ??? ()
> #28 0x00007ffff6043cd0 in ??? () at /usr/lib/libc.so.6
> #29 0x00007ffff6043d8a in __libc_start_main () at /usr/lib/libc.so.6
> #30 0x000055555555b525 in ??? ()
Comment 15 Caballo Juan 2024-03-08 00:34:40 UTC
Yeah, I can confirm this is a problem as of the latest Plasma (6.0.1). I don't think krfb was ever touched in the Qt migration, so I guess it's okay to assume krfb is still broken.

On Plasma 6.x krfb even manages to crash the desktop bringing everything down (except for Qt apps) with it. 
-----------------------
krfb --version
krfb 24.02.0

plasma-desktop 6.0.1-1
Comment 16 Antti Savolainen 2024-03-30 13:31:25 UTC
Can you retest this issue? There's been changes and as of 6.0.3 I can no longer cause krfb-virtualmonitor to crash nor can I use it to crash plasmashell.
Comment 17 ian+bugs.kde.org 2024-03-30 23:16:28 UTC
@Antti - I tested and you're right - it doesn't crash "automatically" any more.

I'm using remote ripple on an ipad to test the vnc connection (image quality normal, encoding I tried Raw and ZRLE so far)

> krfb-virtualmonitor --resolution 1024x768 --name [name] --password [password] --port 5900 --scale 1

I can see the new "display" in the display configuration (with the correct dimensions and everything - win!)
I try to connect with the ipad and I"m prompted for the password as expected.
As soon as I complete authentication, krfb-virtualmonitor crashes:

Output:
=================================
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
new client request
kf.notifications: No event config could be found for event id "UserAcceptsConnection" under notifyrc file for app "krfb-virtualmonitor"
/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.
fish: Job 1, 'krfb-virtualmonitor --resolutio…' terminated by signal SIGABRT (Abort)
==================================
and the ipad returns that the connection was shut down "gracefully"

Happy to do additional tests to assist with debugging (I'll need detailed instructions/commandlines)
System details:
Garuda Linux (updated about 20 min ago)
Kernel 6.8.2-AMD-znver3
krfb-virtualmonitor 24.02.1
plasmashell 6.0.3
Comment 18 Antti Savolainen 2024-03-30 23:38:35 UTC
Nice. Head on over to bug 472453 for discussion about crashes during connection.
Comment 19 Timur Mangliev 2024-07-03 14:22:51 UTC
krfb-virtualmonitor crashes for me on Arch with Plasma 6.1.1
```
mango in ~ λ QT_LOGGING_RULES="krfb.krfb=true" krfb-virtualmonitor --name test --resolution 1024x768 --password test --port 5900  

krfb.krfb: Loaded plugin with name  "pw"
krfb.krfb: Using FrameBuffer: "pw"
krfb.krfb: Starting server. Listen port: 5900 Listen Address: "0.0.0.0" Password enabled: true
04/07/2024 12:21:02 AM Listening for VNC connections on TCP port 5900
04/07/2024 12:21:02 AM Listening for VNC connections on TCP6 port 5900
04/07/2024 12:21:02 AM WARNING: New width (1) is not a multiple of 4.
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
kpipewire_logging: invalid image "EGL_BAD_PARAMETER"
kpipewire_dmabuf_logging: Failed to record frame: Error creating EGLImageKHR -  "EGL_SUCCESS"
/usr/include/c++/14.1.1/optional:482: constexpr const _Tp& std::_Optional_base_impl<_Tp, _Dp>::_M_get() const [with _Tp = DmaBufAttributes; _Dp = std::_Optional_base<DmaBufAttributes, false, false>]: Assertion 'this->_M_is_engaged()' failed.
[1]    12004 IOT instruction (core dumped)  QT_LOGGING_RULES="krfb.krfb=true" krfb-virtualmonitor --name test --resolutio
```
Is there another bug for this now? If i do the pipewire shenanigans (stop pipewire -> launch virtualmonitor -> launch pipewire) it works but crashes on connection.