https://bugs.kde.org/show_bug.cgi?id=526320

            Bug ID: 526320
           Summary: krdc crashes when pressing Ctrl+X and Ctrl+Z over a
                    client window repeatedly
    Classification: Applications
           Product: krdc
      Version First 26.08.1
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: RDP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Having a krdc window open to a host and then repeatedly pressing Ctrl+X and
Ctrl+Z in it causes a crash

STEPS TO REPRODUCE
1. Open krdc and connect to a host
2. Select text
3. Press Ctrl+X and Ctrl+Z repeatedly

OBSERVED RESULT
Crash

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2
Kernel Version: 7.2.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: AMD Radeon RX 5700

ADDITIONAL INFORMATION
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f6c5109a243 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#2  0x00007f6c5103e5d0 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x00007f6c53871f29 in KCrash::defaultCrashHandler (sig=6) at
/usr/src/debug/kcrash/kcrash-6.30.0/src/kcrash.cpp:653
#4  0x00007f6c5103e6f0 in <signal handler called> () at /usr/lib/libc.so.6
#5  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f6c5109a243 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#7  0x00007f6c5103e5d0 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#8  0x00007f6c51025685 in __GI_abort () at abort.c:77
#9  0x00007f6c51026704 in __libc_message_impl
(vma_name=vma_name@entry=0x7f6c511b9916 "glibc: fatal",
fmt=fmt@entry=0x7f6c511bcf65 "%s\n") at ../sysdeps/posix/libc_fatal.c:138
#10 0x00007f6c510a482c in __libc_message_wrapper (vmaname=0x7f6c511b9916
"glibc: fatal", fmt=0x7f6c511bcf65 "%s\n") at ../include/stdio.h:203
#11 malloc_printerr (str=str@entry=0x7f6c511bff40 "malloc(): unaligned tcache
chunk detected") at malloc.c:5093
#12 0x00007f6c510a99a0 in tcache_get_n (tc_idx=<optimized out>, ep=<optimized
out>, mangled=<optimized out>) at malloc.c:2857
#13 tcache_get (tc_idx=<optimized out>) at malloc.c:2879
#14 __libc_calloc (n=n@entry=1, elem_size=elem_size@entry=96) at malloc.c:3534
#15 0x00007f6c51ea0fde in zalloc (s=96) at
../wayland-1.26.0/src/wayland-private.h:265
#16 proxy_create (factory=factory@entry=0x7f6c3c06f5f0,
interface=interface@entry=0x7f6c513eeb80 <wl_callback_interface>,
version=version@entry=6) at ../wayland-1.26.0/src/wayland-client.c:486
#17 0x00007f6c51ea14d5 in create_outgoing_proxy (message=0x7f6c513eee28
<wl_surface_requests.lto_priv+72>, proxy=0x7f6c3c06f5f0, args=0x7ffe71ada290,
interface=0x7f6c513eeb80 <wl_callback_interface>, version=6) at
../wayland-1.26.0/src/wayland-client.c:752
#18 wl_proxy_marshal_array_flags (proxy=0x7f6c3c06f5f0, opcode=opcode@entry=3,
interface=interface@entry=0x7f6c513eeb80 <wl_callback_interface>,
version=version@entry=6, flags=flags@entry=0, args=args@entry=0x7ffe71ada290)
at ../wayland-1.26.0/src/wayland-client.c:917
#19 0x00007f6c51ea250e in wl_proxy_marshal_flags (proxy=<optimized out>,
opcode=3, interface=0x7f6c513eeb80 <wl_callback_interface>, version=6, flags=0)
at ../wayland-1.26.0/src/wayland-client.c:870
#20 0x00007f6c5139c451 in wl_surface_frame (wl_surface=0x7f6c3c06f5f0) at
/usr/src/debug/qt6-base/build/src/plugins/platforms/wayland/wayland-wayland-client-protocol.h:4042
#21 QtWaylandClient::QWaylandWindow::handleUpdate (this=0x55e66ffd8d60) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylandwindow.cpp:1805
#22 0x00007f6c513947b0 in QtWaylandClient::QWaylandWindow::attach
(this=0x55e66ffd8d60, buffer=0x55e67003ae40, x=0, y=0) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylandwindow.cpp:752
#23 0x00007f6c51394a2e in QtWaylandClient::QWaylandWindow::attachOffset
(this=0x55e66ffd8d60, buffer=0x55e67003ae40) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylandwindow.cpp:765
#24 QtWaylandClient::QWaylandWindow::commit (this=0x55e66ffd8d60,
buffer=0x55e67003ae40, damage=...) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylandwindow.cpp:816
#25 0x00007f6c5138d89f in QtWaylandClient::QWaylandWindow::safeCommit
(this=0x55e66ffd8d60, buffer=0x55e67003ae40, damage=...) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylandwindow.cpp:792
#26 QtWaylandClient::QWaylandShmBackingStore::flush (this=<optimized out>,
window=<optimized out>, region=..., offset=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylandshmbackingstore.cpp:336
#27 0x00007f6c5224dbad in QBackingStore::flush (this=0x55e67007c540,
region=..., window=window@entry=0x55e670051d40, offset=...) at
/usr/src/debug/qt6-base/qtbase/src/gui/painting/qbackingstore.cpp:224
#28 0x00007f6c52d7c597 in QWidgetRepaintManager::flush
(this=this@entry=0x55e6700a2b50, widget=0x55e66fb8e380, region=...,
widgetTextures=0x0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetrepaintmanager.cpp:1092
#29 0x00007f6c52d7caf6 in QWidgetRepaintManager::flush
(this=this@entry=0x55e6700a2b50) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetrepaintmanager.cpp:986
#30 0x00007f6c52d7db66 in QWidgetRepaintManager::paintAndFlush
(this=0x55e6700a2b50) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetrepaintmanager.cpp:918
#31 0x00007f6c52d647cf in QWidget::event (this=0x55e66fb8e380,
event=0x55e66fcc8ab0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:9353
#32 0x00007f6c539c430d in KXmlGuiWindow::event (this=0x55e66fb8e380,
ev=0x55e66fcc8ab0) at
/usr/src/debug/kxmlgui/kxmlgui-6.30.0/src/kxmlguiwindow.cpp:265
#33 0x00007f6c52d0325f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55e66fb8e380, e=0x55e66fcc8ab0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3273
#34 0x00007f6c519822b8 in QCoreApplication::notifyInternal2
(receiver=0x55e66fb8e380, event=event@entry=0x55e66fcc8ab0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1126
#35 0x00007f6c519826c1 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=0x55e66fcc8ab0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1571
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x55e66fb78520) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1926
#37 0x00007f6c51c9a4b8 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1779
#38 postEventSourceDispatch (s=0x55e66fb7e160) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:248
#39 0x00007f6c4fb5dc76 in g_main_dispatch (context=0x7f6c44000f00) at
../glib/glib/gmain.c:3591
#40 0x00007f6c4fb5fed7 in g_main_context_dispatch_unlocked
(context=0x7f6c44000f00) at ../glib/glib/gmain.c:4451
#41 g_main_context_iterate_unlocked (context=context@entry=0x7f6c44000f00,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4516
#42 0x00007f6c4fb60055 in g_main_context_iteration (context=0x7f6c44000f00,
may_block=1) at ../glib/glib/gmain.c:4582
#43 0x00007f6c51c96f32 in QEventDispatcherGlib::processEvents
(this=0x55e66fb7e7e0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#44 0x00007f6c5198f664 in QEventLoop::processEvents (this=0x7ffe71adb0d0,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:109
#45 QEventLoop::exec (this=0x7ffe71adb0d0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:198
#46 0x00007f6c5198685a in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1469
#47 0x00007f6c52cffb7a in QApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2543
#48 0x000055e668f49fd5 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/krdc/krdc-26.08.1/main.cpp:99

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to