Nautilus 43 crashes when renaming with F2 and using arrow keys
Affected version
- Nautilus 43.0 on Arch Linux
- Nightly flatpak: No (see below)
Steps to reproduce
- Press F2 to open rename dialog
- Use CTRL + left/right to move the cursor, don't use the mouse
- Observe crash
$ journalctl -xe | grep nautilus
Nov 13 17:34:44 dccpc nautilus[772614]: _pango_layout_get_iter: assertion 'PANGO_IS_LAYOUT (layout)' failed
Nov 13 17:34:44 dccpc kernel: nautilus[772614]: segfault at 0 ip 00007f34c5b55556 sp 00007ffe19872670 error 4 in libpango-1.0.so.0.5000.11[7f34c5b3f000+35000]
Nov 13 17:34:44 dccpc kernel: audit: type=1701 audit(1668360884.465:585): auid=1000 uid=1000 gid=100 ses=4 pid=772614 comm="nautilus" exe="/usr/bin/nautilus" sig=11 res=1
Nov 13 17:34:44 dccpc audit[772614]: ANOM_ABEND auid=1000 uid=1000 gid=100 ses=4 pid=772614 comm="nautilus" exe="/usr/bin/nautilus" sig=11 res=1
Nov 13 17:34:44 dccpc systemd-coredump[772891]: Process 772614 (nautilus) of user 1000 dumped core.
#24 0x000055759038c3d2 n/a (nautilus + 0x2d3d2)
#27 0x000055759038c455 n/a (nautilus + 0x2d455)
Additional information
- The bug stops happening until the next reboot if you use the mouse to focus the text field before pressing any arrow keys.
- There is a bug report on the Debian bugs mailing list which I believe describes the same issue.
- I couldn't reproduce the problem with the Flathub nightly, but that could be related to the first boot situation described above.