Summary: | [4.6.2 pre-release tarballs] kscreenlocker segfaults immediately after the first keypress/mouse movement, leaving the screen unlocked again | ||
---|---|---|---|
Product: | [Unmaintained] kxkb | Reporter: | Andreas K. Huettel <dilfridge> |
Component: | general | Assignee: | Andriy Rysin <arysin> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ossi |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andreas K. Huettel
2011-04-02 20:25:26 UTC
Just as update, this problem occurs *ONLY* if the little flag for switching keyboard layouts is activated. No keyboard layout switcher in kicker -> no segfaults of screenlocker. Git commit 937c7245f0f4058d2b335d160617c1cdb2398cb7 by Andriy Rysin. Committed on 03/04/2011 at 04:27. Pushed by rysin into branch 'KDE/4.6'. Fix null pointer crash when no rules found; add unit test BUG: 269961 M +1 -1 kcontrol/keyboard/flags.cpp M +3 -0 kcontrol/keyboard/tests/flags_test.cpp http://commits.kde.org/kde-workspace/937c7245f0f4058d2b335d160617c1cdb2398cb7 I've pushed the fix but it looks like you don't have the rules file in /usr/share/X11/xkb/rules (there must be a warning in your .xsession-errors file), would you know why? Git commit 754b4aee80ef521433c8179bca122c22135f5118 by Andriy Rysin. Committed on 03/04/2011 at 04:27. Pushed by rysin into branch 'master'. Fix null pointer crash when no rules found; add unit test BUG: 269961 M +1 -1 kcontrol/keyboard/flags.cpp M +3 -0 kcontrol/keyboard/tests/flags_test.cpp http://commits.kde.org/kde-workspace/754b4aee80ef521433c8179bca122c22135f5118 Not true, and I also cannot find any warning (what should I grep for in the 67Mbytes since yesterday :O ?) huettel@pinacolada ~ $ ls -l /usr/share/X11/xkb/rules insgesamt 532 -rw-r--r-- 1 root root 91 12. Feb 16:44 README -rw-r--r-- 1 root root 44595 12. Feb 16:44 base -rw-r--r-- 1 root root 3010 12. Feb 16:44 base.extras.xml -rw-r--r-- 1 root root 36535 12. Feb 16:44 base.lst -rw-r--r-- 1 root root 172084 12. Feb 16:44 base.xml -rw-r--r-- 1 root root 42139 12. Feb 16:44 evdev -rw-r--r-- 1 root root 3010 12. Feb 16:44 evdev.extras.xml -rw-r--r-- 1 root root 36535 12. Feb 16:44 evdev.lst -rw-r--r-- 1 root root 172084 12. Feb 16:44 evdev.xml -rw-r--r-- 1 root root 832 12. Feb 16:44 xfree98 -rw-r--r-- 1 root root 1184 12. Feb 16:44 xkb.dtd lrwxrwxrwx 1 root root 4 12. Feb 16:44 xorg -> base lrwxrwxrwx 1 root root 8 12. Feb 16:44 xorg.lst -> base.lst lrwxrwxrwx 1 root root 8 12. Feb 16:44 xorg.xml -> base.xml huettel@pinacolada ~ $ Anyway, the issue seems to be fixed, kscreenlocker is working now. Hmm in the trace it says rules=0 so the rules must be missing, is you keyboard layout settings disabled? I would grep session-errors for "rules" huettel@pinacolada ~ $ grep rules .xsession-errors huettel@pinacolada ~ $ In normal operation (i.e. outside kscreenlocker), the "layout switcher" (little flag) is enabled and works as expected, i.e. I can switch between German and US-English keyboard. ah right, embedded kxkb widget does not use rules they are always 0, I guess the problem was worse than I thought, I am glad I could address it quickly, thanks for the report! Thank you for fixing it so quickly! I'll try to persuade the packagers to add it to 4.6.2. |