On 5/18/22 1:11 AM, David C. Rankin wrote:
All, Yasuhiko,
I filed:
Bug 1199643 - Leap 15.4 Beta - KDE3 kmenuedit crash - QGArray::at: Absolute index 42385864 out of range https://bugzilla.opensuse.org/show_bug.cgi?id=1199643
Summary:
kmenuedit hangs when you add a new item and click to change the icon. The change icon dialog gets to 14% and then fills .xsession-errors with QGArray out-of-range errors, e.g.
QGArray::at: Absolute index 42385920 out of range <snip> A strace attached before the change icon button is clicked shows that it scans through /usr/share/icons as normal (about 34K of lines of checking for every icon under the sun), then mmap (mremap) enters an endless loop mremap'ing over and over again, e.g.
writev(4, [{iov_base="5\1\4\0\257\t\0\3\353\2\0\0000\0/\0007\2\4\0\260\t\0\3\257\t\0\3\0\0\0\0"..., iov_len=15772}, {iov_base="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=9216}, {iov_base="", iov_len=0}], 3) = 24988 openat(AT_FDCWD, "/usr/share/icons/hicolor/symbolic/apps/goa-account-exchange-symbolic.svg", O_RDONLY) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=2633, ...}) = 0 fstat(11, {st_mode=S_IFREG|0644, st_size=2633, ...}) = 0 fstat(11, {st_mode=S_IFREG|0644, st_size=2633, ...}) = 0 read(11, "
All, This is also seems related to the race-conditon (and crash of kwin at times) to when attempting to add a shortcut. For example in: kate -> Settings -> Configure Shortcuts.... When you click on the "Custom" box or click in the dialog for the "Configure Shortcuts - Kate" where you enter the new key-combination, the system goes into some type of race condition. If you enter a new shortcut key-combination and click nowhere else, it will take a good 10 - 15 seconds for the key-combination to actually appear in the dialog. The CPU load goes to 100%. While the key-combination dialog is spinning, if you move focus away from that dialog and attempt to enter text elsewhere (like typing a command in konsole), the new keystrokes in konsole are interpreted as additions to the shortcut and kwin in irreversibly locked in that race condition. Focus is locked and while the mouse still moves, no keyboard input in possible. VT terminal interrupts to switch to text console [ctrl + alt + F1] still work so it is possible to kill and restart kwin, but that is the only way out of the race condition. I can only guess at the cause, some type of new X or Wayland input that is choking or some similar X or Wayland focus handling. I've added this info to Bug 1199643 https://bugzilla.opensuse.org/show_bug.cgi?id=1199643 -- David C. Rankin, J.D.,P.E.