Skip to content

Thunar segfaults when renaming a directory that contains files

Version information

4.20.1

Arch

Steps to reproduce

  1. Create a directory.
  2. Touch an empty file within that directory.
  3. Open thunar and browse to the directory you just created.
  4. From a shell, rename that directory.
  5. Thunar crashes.

Current behavior

Whenever Thunar is displaying a folder that contains files, if that directory is renamed (or deleted) from outside Thunar (shell, python script, easytag), Thunar segfaults. My testing shows that if the folder is empty, no segfault.

I've tested this on three different Arch desktops, so don't think it's anything particular to one device. Behavior only appeared with this latest version, 4.20.1, iirc.

Expected outcome

Default Thunar behavior should just return you to the parent directory.

Backtrace

Additional information