atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
atril (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Vlad Orlov | ||
Yakkety |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[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/
In case you need some epubs for testing, you can find them at: https:/
[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.
[Original Description]
On a xenial desktop with both mate and LXQt open LXQt I mounted another partition and tried to open an mp3 podcast and then apport came up saying atril thumbnailer had crashed when I had pcmanfm-qt open in LXQt. I did mount a home parition with a lot of different files in it pdf ogg and several other things.
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: atril 1.12.2-1
ProcVersionSign
Uname: Linux 4.3.0-7-generic x86_64
ApportVersion: 2.19.4-0ubuntu1
Architecture: amd64
CurrentDesktop: LXQt
Date: Sat Jan 30 16:35:38 2016
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2015-11-28 (64 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151127)
ProcCmdline: atril-thumbnailer -s 128 file://
SegvAnalysis:
Segfault happened at: 0x7f6fffbb8b2c <cairo_
PC (0x7f6fffbb8b2c) ok
source "(%rax)" (0x2f2f2f3a656c
destination "%eax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: atril
StacktraceTop:
cairo_
ev_document_
?? () from /usr/lib/
?? ()
?? ()
Title: atril-thumbnailer crashed with SIGSEGV in cairo_image_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
information type: | Private → Public |
tags: | added: bugpattern-needed |
no longer affects: | teatrillu |
tags: | added: yakkety |
tags: |
added: ubuntu-mate-xenial-sru removed: yakkety |
description: | updated |
Changed in atril (Ubuntu Xenial): | |
assignee: | nobody → Vlad Orlov (monsta) |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in atril (Ubuntu Yakkety): | |
status: | Confirmed → Won't Fix |
Changed in atril (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed verification-needed-xenial |
StacktraceTop: misc_surface_ rotate_ and_scale () from /tmp/apport_ sandbox_ rJORCp/ usr/lib/ x86_64- linux-gnu/ libatrildocumen t.so.3 thumbnails_ get_thumbnail () from /tmp/apport_ sandbox_ rJORCp/ usr/lib/ x86_64- linux-gnu/ atril/3/ backends/ libepubdocument .so thumbnail_ pngenc_ get ()
?? ()
?? ()
ev_document_
epub_document_
atril_