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

            Bug ID: 529205
           Summary: Repeated "Index N is not within range (0 - M)"
                    warnings logged to journal at startup and periodically
                    afterward
    Classification: Applications
           Product: konsole
      Version First 26.08.3
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Since a recent Konsole session starts, the following warnings repeatedly appear
in the systemd journal (journalctl), both right at startup and then
intermittently throughout the session (observed ~60 times over a ~20 minute
session):

konsole[PID]: Index  30  is not within range (0 -  18 )
konsole[PID]: Index  32  is not within range (0 -  20 )

The first message ("30 / 0-18") appears to occur exactly once, at Konsole
startup. The second message ("32 / 0-20") recurs repeatedly for the lifetime of
the session.

Notably, in both cases the requested index is exactly 12 higher than the valid
upper bound (30 vs 18, 32 vs 20), which suggests a consistent
off-by-a-fixed-offset bug (e.g. a dynamic list's index being computed against a
combined list that includes ~12 extra static/fixed entries prepended to it),
rather than random corruption.

The string originates from libKF6XmlGui.so (confirmed via strings), which is
consistent with a KSelectAction-style dynamic action list whose "current index"
is being set to a value beyond the list's current item count.

Steps to reproduce:
1. Start Konsole (locale: zh_CN.UTF-8) on Plasma 6 / Wayland
2. Open a few tabs / sessions
3. Watch journalctl --user -f (or system journal) filtered by konsole

Observed: Repeated Index N is not within range (...) warnings, as above.

Expected: No such warnings.

Additional information:
- Locale: zh_CN.UTF-8
- Session: Wayland, Plasma 6, KWin
- kf6-kxmlgui: 6.32.0
- These are warnings only (no crash observed from this specific issue); may be
related to a locale-dependent dynamic menu (e.g. Set Encoding list) whose item
count differs from an expected/cached count.

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

Reply via email to