After removing custom thumbnailers, copying a jp2 file using ctrl-C
ctrl-V causes nautilus to crash about one time. gnome-thumbnailer tries
to create a thumbnail, but it can take several seconds, and if nautilus
is reopened and navigated to that folder again, it will crash again.
However, after this has been completed, nautilus won't crash. (In fact,
top reveals that it's eog that creates the new thumbnail if you use
ctrl-C ctrl-V in nautilus.)

If the new file name is obtained a different way, like using 'mv' on the
command line, navigating to that folder in nautilus will cause a crash
without attempting to generate a new thumbnail.

So even if you wait several seconds, no thumbnail will exist for the
file and nautilus will crash every time you navigate to that folder
until you delete the file or rename it to a path for which it will have
a valid thumbnail (meaning the file's mtime is correct).

So this might only affect jpeg-2000 files, and not all files for which
there is no valid output. Maybe with other files, the default thumbnail
options (the ones not recorded in /usr/share/thumbnailers) consistently
create at least a failed thumbnail, while this doesn't happen with
jpeg-2000 files. But since nautilus is crashing before eog finishes
creating a thumbnail (if using ctrl-C ctrl-V to copy), nautilus might be
relying on a separate process from what it depends on for, say,
obtaining a 'failed thumbnail' result for incomplete mp4 files, which
don't cause a crash.

One difference is that while gnome-thumbnailer has code for handling
image formats as a fallback method, it isn't for video formats. I'm not
sure if it's nautilus or gnome that's calling eog to create a thumbnail
when ctrl-C ctrl-V is used.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1444790

Title:
  crash if thumbnailer fails to produce output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1444790/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to