Description
* Nemo version (nemo --version)
nemo 4.8.5
ffmpegthumbnailer 2.2.2-2
* Is issue with desktop or windowed nemo?
Windowed
* Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
Arch
* Graphics hardware *and* driver used
Nvidia 1080, nvidia driver 465.31
* 32 or 64 bit
* 64-bit
Issue
When entering a folder with a large (~10MB) GIF file, nemo
freezes for 10s or so and maxes out one of the cores. It's completely unresponsive and you can't click on anything. After ~10s, it goes back to normal.
However, if you navigate out of that folder and navigate back into it, it will freeze for another ~10s again.
Steps to reproduce
$ killall nemo
$ mkdir /tmp/gif ; cd /tmp/gif ; curl https://i.imgur.com/7b6GlNk.gif -o test.gif
$ nemo --debug .
Note that the thumbnail of the GIF file is immediately shown so this is not a thumbnailer issue. And even if it was a thumbnailer that's misbehaving and blocking, it should not lock-up nemo
anyway. My default view is List View.
Expected behaviour
Don't freeze.
Other information
Debug log of nemo
opening the folder with a large gif and freezing and a debug log of nemo
opening an empty folder are identical. So this debug log is probably useless. But it's here anyway.
Click to expand!
$ nemo --debug .
(nemo:1146408): GLib-DEBUG: 02:12:54.952: unsetenv() is not thread-safe and should not be used after threads are created
(nemo:1146408): Gtk-DEBUG: 02:12:54.952: Connecting to session manager
(nemo:1146408): Gtk-DEBUG: 02:12:54.952: Failed to get the GNOME screensaver proxy: The name org.gnome.ScreenSaver is not owned
(nemo:1146408): Gtk-DEBUG: 02:12:54.952: Registering client 'org.Nemo' ''
(nemo:1146408): Gtk-DEBUG: 02:12:54.953: Registered client at '/org/gnome/SessionManager/Client1840'
(nemo:1146408): GLib-GIO-DEBUG: 02:12:54.956: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/preferences/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/window-state/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/icon-view/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/list-view/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/compact-view/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/desktop/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/sidebar-panels/tree/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/plugins/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/nemo/preferences/menu-config/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/cinnamon/desktop/lockdown/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/cinnamon/desktop/background/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/cinnamon/desktop/media-handling/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/cinnamon/desktop/applications/terminal/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/cinnamon/desktop/privacy/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_fast: "/org/cinnamon/desktop/interface/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:54.956: watch_established: "/org/nemo/preferences/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/nemo/window-state/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/nemo/icon-view/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/nemo/list-view/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/nemo/compact-view/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/nemo/desktop/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/nemo/sidebar-panels/tree/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/nemo/plugins/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/nemo/preferences/menu-config/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/cinnamon/desktop/lockdown/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/cinnamon/desktop/background/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/cinnamon/desktop/media-handling/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/cinnamon/desktop/applications/terminal/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/cinnamon/desktop/privacy/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:54.957: watch_established: "/org/cinnamon/desktop/interface/" (establishing: 1)
(nemo:1146408): GLib-DEBUG: 02:12:54.984: setenv()/putenv() are not thread-safe and should not be used after threads are created
(nemo:1146408): dconf-DEBUG: 02:12:55.017: watch_fast: "/org/nemo/extensions/nemo-terminal/" (establishing: 0, active: 0)
(nemo:1146408): dconf-DEBUG: 02:12:55.017: watch_established: "/org/nemo/extensions/nemo-terminal/" (establishing: 1)
(nemo:1146408): dconf-DEBUG: 02:12:55.020: unwatch_fast: "/org/nemo/extensions/nemo-terminal/" (active: 1, establishing: 0)
** (nemo:1146408): DEBUG: 02:12:55.024: Open called on the GApplication instance; 1 files
(nemo:1146408): XApp-DEBUG: 02:12:55.092: XAppFavorites: init:
(nemo:1146408): dconf-DEBUG: 02:12:55.092: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 0)
(nemo:1146408): XApp-DEBUG: 02:12:55.092: XAppFavorites: load_favorite: favorites loaded (0)
(nemo:1146408): dconf-DEBUG: 02:12:55.092: watch_established: "/org/x/apps/favorites/" (establishing: 1)
(nemo:1146408): XApp-DEBUG: 02:12:55.092: XAppFavorites: get_n_favorites returning number of items: 0.
(nemo:1146408): dconf-DEBUG: 02:12:55.093: change_fast
(nemo:1146408): XApp-DEBUG: 02:12:55.101: XAppFavorites: get_n_favorites returning number of items: 0.
Note: this is not a new bug. I've experienced it for a while now (years?) but I finally figured out what was causing it.
Note 2: I believe that this is not the same bug as #2605 and the workaround, namely setting the "Icon Captions" to "None", does not fix the issue for me.