Package: libkysdk-applications
Version: 3.0.1.2-1
Severity: normal

Under an X11 desktop session on Debian unstable, Qt6 applications that
initialize kdk::WindowManager::self() (such as kylin-video) crash with
SIGSEGV on startup when existing X11 windows have Window IDs with
differing decimal digit lengths (for example, a mix of 7-, 8-, and
9-digit WIds).

Steps to reproduce:
1. Start an X11 desktop session (e.g. KDE Plasma X11) with several open
   windows whose X11 Window IDs span different decimal digit lengths.
2. Launch a Qt6 application that calls kdk::WindowManager::self(), such
   as kylin-video.
3. Observe the startup behavior.

Actual result:
The application crashes immediately on startup with SIGSEGV in
libkysdk-waylandhelper.so.1 during XcbInterface window tracking:

  #0 QVariant::toString() const (libQt6Core.so.6)
  #1 operator<(QVariant const&, QVariant const&) (libkysdk-waylandhelper.so.1)
  #2 XcbInterface::XcbInterface(QObject*) windowAdded handler
(libkysdk-waylandhelper.so.1)
  #3 KX11Extras::windowAdded(unsigned long long) (libKF6WindowSystem.so.6)

Expected result:
The application starts normally without crashing, and
kdk::WindowManager tracks all open X11 windows cleanly regardless of
their Window ID values.

Reply via email to