https://bugs.kde.org/show_bug.cgi?id=500866
Bug ID: 500866 Summary: Crash in GNOME Wayland Classification: Applications Product: krfb Version: 24.12.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: grundleb...@googlemail.com Reporter: ballog...@gmail.com Target Milestone: --- SUMMARY Krfb doesn't work in GNOME Shell Wayland session. If I don't enable the remote interaction option, it won't crash, just can't connect to the session remotely. If I enable that option, the application crashes. STEPS TO REPRODUCE 1. Log in into GNOME Wayland session 2. Launch Krfb application 3. On the remote desktop dialog displayed by GNOME, enable the remote interaction option, then click on the Share button. OBSERVED RESULT Krfb aborts with malloc(): invalid size (unsorted) EXPECTED RESULT No crash. SOFTWARE/OS VERSIONS GNOME Shell Version: 47.4 KDE Frameworks Version: 6.11 Qt Version: 6.8.2 Distribution: Arch Linux ADDITIONAL INFORMATION Backtrace: #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007062340a56d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89 #2 0x000070623404bba0 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 #3 0x0000706235a484da in KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kcrash/kcrash-6.11.0/src/kcrash.cpp:605 #4 <signal handler called> #5 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #6 0x00007062340a56d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89 #7 0x000070623404bba0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #8 0x0000706234033582 in __GI_abort () at abort.c:73 #9 0x00007062340343bf in __libc_message_impl (fmt=fmt@entry=0x7062341c131f "%s\n") at ../sysdeps/posix/libc_fatal.c:134 #10 0x00007062340af765 in malloc_printerr (str=str@entry=0x7062341c4968 "malloc(): invalid size (unsorted)") at malloc.c:5829 #11 0x00007062340b2fbc in _int_malloc (av=av@entry=0x7062341f6ac0 <main_arena>, bytes=bytes@entry=1048) at malloc.c:4136 #12 0x00007062340b429f in __GI___libc_malloc (bytes=bytes@entry=1048) at malloc.c:3414 #13 0x00007062336aebc5 in operator new (sz=sz@entry=1048) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/new_op.cc:50 #14 0x00007062344c8d25 in QRasterPaintEngine::createState (this=<optimized out>, orig=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/painting/qpaintengine_raster.cpp:546 #15 QRasterPaintEngine::createState (this=<optimized out>, orig=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/painting/qpaintengine_raster.cpp:542 #16 0x00007062344e98d2 in QPainter::begin (this=0x7ffda18cc2e8, pd=0x6480fbb05fc0) at /usr/src/debug/qt6-base/qtbase/src/gui/painting/qpainter.cpp:1729 #17 0x00007062344e9be7 in QPainter::QPainter (this=<optimized out>, pd=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/painting/qpainter.cpp:1464 #18 0x000070623199fdcf in QtWaylandClient::QWaylandShmBackingStore::beginPaint (this=0x6480fbb3d2a0, region=...) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandshmbackingstore.cpp:198 --Type <RET> for more, q to quit, c to continue without paging--c #19 0x0000706234410d99 in QBackingStore::beginPaint (this=0x6480fa1e07d0, region=...) at /usr/src/debug/qt6-base/qtbase/src/gui/painting/qbackingstore.cpp:125 #20 0x0000706234d656b8 in QWidgetRepaintManager::paintAndFlush (this=0x6480fbb1bb10) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetrepaintmanager.cpp:873 #21 0x0000706234d50e68 in QWidget::event (this=0x7ffda18cce90, event=0x6480fb7d5120) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:9296 #22 0x0000706235b38491 in KXmlGuiWindow::event (this=0x7ffda18cce90, ev=0x6480fb7d5120) at /usr/src/debug/kxmlgui/kxmlgui-6.11.0/src/kxmlguiwindow.cpp:253 #23 0x0000706234cff0ca in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7ffda18cce90, e=0x6480fb7d5120) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296 #24 0x0000706233b55b00 in QCoreApplication::notifyInternal2 (receiver=0x7ffda18cce90, event=event@entry=0x6480fb7d5120) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1172 #25 0x0000706233b55edc in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x6480fb7d5120) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1612 #26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6480f82f69b0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1946 #27 0x0000706233dc859c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1800 #28 postEventSourceDispatch (s=0x6480f83546a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246 #29 0x00007062324bd919 in g_main_dispatch (context=0x706228000f00) at ../glib/glib/gmain.c:3357 #30 0x00007062325205d7 in g_main_context_dispatch_unlocked (context=0x706228000f00) at ../glib/glib/gmain.c:4208 #31 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x706228000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273 #32 0x00007062324bce15 in g_main_context_iteration (context=0x706228000f00, may_block=1) at ../glib/glib/gmain.c:4338 #33 0x0000706233dc575d in QEventDispatcherGlib::processEvents (this=0x6480f83251e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #34 0x0000706233b606a6 in QEventLoop::processEvents (this=0x7ffda18ccc20, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:103 #35 QEventLoop::exec (this=0x7ffda18ccc20, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:185 #36 0x0000706233b591d6 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74 #37 0x00006480de7c49e3 in ?? () #38 0x0000706234035488 in __libc_start_call_main (main=main@entry=0x6480de7c3080, argc=argc@entry=1, argv=argv@entry=0x7ffda18cd1d8) at ../sysdeps/nptl/libc_start_call_main.h:58 #39 0x000070623403554c in __libc_start_main_impl (main=0x6480de7c3080, argc=1, argv=0x7ffda18cd1d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffda18cd1c8) at ../csu/libc-start.c:360 #40 0x00006480de7c4e35 in ?? () -- You are receiving this mail because: You are watching all bug changes.