[Impact]

Buggy epub handling code makes atril-thumbnailer crash
on the first epub document it encounters.

Until we write the proper thumbnailing code for epubs,
the quick fix is just to disable thumbnail generation
for this type of documents. That fix is provided in
the debdiff attached to the report.

The bug is old, and it still haunts Xenial users when
they just use the file manager and enter some directory
which contains at least one epub document. So would be
nice to have the fix backported to Xenial.

[Test Case]

Steps to reproduce:

- have some epub document
- open file manager (Caja or some other one) and enter
  the directory where the epub document is
- if apport is enabled, it will show the message about
  atril-thumbnailer crash (which is annoying)
- dmesg output will have a message about the crash too

If you need to reproduce it once more, first remove all
the files from ~/.cache/thumbnails/fail directory.

In case you need some epubs for testing, you can find
them at: https://github.com/IDPF/epub3-samples/releases

[Regression Potential]

None. This quick fix just makes sure that crashy code
won't run at all. Other types of documents (like pdfs)
aren't affected.

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

Title:
  atril-thumbnailer crashed with SIGSEGV in
  ev_document_misc_surface_rotate_and_scale()

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

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

Reply via email to