Bug ID 1201426
Summary KeePassXC crashes X server on Auto-Type
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.4
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter duge@pre-sense.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Since openSUSE-15.4 KeePassXC is crashing the whole X server if Auto-Type is
being used.

Versions:
- KeePassXC version 2.7.1 from openSUSE-15.4 is affected
- KeePassXC version 2.7.1 from FlatHub is affected
- KeePassXC version 2.6.6* from openSUSE-15.3 is NOT affected (doesn't crash)
- KeePassXC version 2.6.6** from FlatHub is NOT affected (doesn't crash)
- openSUSE-15.3 with (KeePassXC-2.6.6) is NOT affected (doesn't crash)
- openSUSE-Tumbleweed (Snapshot20220711, KeePassXC-2.7.1-1.4) is NOT affected
(doesn't crash)


Tested with:

https://mirrors.nic.cz/opensuse/opensuse/distribution/leap/15.4/appliances/iso/openSUSE-Leap-15.4-Rescue-CD-x86_64-Media.iso
(XFCE, Build6.189)

https://mirrors.nic.cz/opensuse/opensuse/distribution/leap/15.4/appliances/iso/openSUSE-Leap-15.4-KDE-Live-x86_64-Media.iso
(Build6.189)

(as far as I know GNOME is using Wayland instead of the X server, so I didn't
test it)


Steps to reproduce:
1. install KeePassXC: sudo zypper install keepassxc
2. start KeePassXC
3. create a new database
4. create and entry with at least title, username and password
5. right click that entry and select:
     Perform Auto-Type -> {USERNAME}{TAB}{PASSWORD}{ENTER}


Last lines of /var/log/Xorg.0.log

[   546.817] (EE) 
[   546.817] (EE) Backtrace:
[   546.817] (EE) 0: /usr/bin/X (xorg_backtrace+0x65) [0x5567347b2285]
[   546.817] (EE) 1: /usr/bin/X (0x556734600000+0x1b5f59) [0x5567347b5f59]
[   546.818] (EE) 2: /lib64/libpthread.so.0 (0x7f04ce0f2000+0x168c0)
[0x7f04ce1088c0]
[   546.818] (EE) 3: /usr/bin/X (0x556734600000+0x152cbd) [0x556734752cbd]
[   546.818] (EE) 4: /usr/bin/X (0x556734600000+0x159adf) [0x556734759adf]
[   546.818] (EE) 5: /usr/bin/X (0x556734600000+0x5cd78) [0x55673465cd78]
[   546.818] (EE) 6: /usr/bin/X (0x556734600000+0x60d7c) [0x556734660d7c]
[   546.818] (EE) 7: /lib64/libc.so.6 (__libc_start_main+0xef) [0x7f04cdd322bd]
[   546.818] (EE) 8: /usr/bin/X (_start+0x2a) [0x55673464aa1a]
[   546.818] (EE) 
[   546.818] (EE) Segmentation fault at address 0x68
[   546.818] (EE) 
Fatal server error:
[   546.818] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   546.818] (EE) 
[   546.818] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   546.818] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[   546.818] (EE) 
[   546.821] (EE) Server terminated with error (1). Closing log file.


Workaround:
Use KeePassXC-2.6.6.

*
Use KeePassXC-2.6.6 from openSUSE-15.3:
https://download.opensuse.org/update/leap/15.3/backports/x86_64/keepassxc-2.6.6-bp153.2.3.1.x86_64.rpm

**
Install KeePassXC-2.6.6 via FlatPak from FlatHub:
flatpak --user remote-add --if-not-exists flathub
https://flathub.org/repo/flathub.flatpakrepo
flatpak --user install flathub org.keepassxc.KeePassXC
flatpak remote-info --log flathub org.keepassxc.KeePassXC
flatpak --user update
--commit=d103d3c2fdaa357bf393ea6632c86b97756b03c6cc5b6691213ebe479c6f4d2f
flathub org.keepassxc.KeePassXC
flatpak run org.keepassxc.KeePassXC


You are receiving this mail because: