[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
This bug was fixed in the package atril - 1.12.2-1ubuntu0.1 --- atril (1.12.2-1ubuntu0.1) xenial; urgency=medium * fix-thumbnailer-crash.patch: new patch. Disables thumbnail generation for epub documents, stopping atril-thumbnailer crashes (LP: #1540018) -- Vlad OrlovMon, 30 Oct 2017 18:06:38 +0300 ** Changed in: atril (Ubuntu Xenial) Status: Fix Committed => Fix Released -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Ok, testing... - downloaded epub30-spec.epub from https://github.com/IDPF/epub3-samples/releases - removed my locally built atril, atril-common, libatrildocument3, libatrilview3 - installed version 1.12.2-1ubuntu0.1 of these packages from xenial-proposed - opened the download folder in Caja file manager Thumbnail for epub30-spec.epub isn't created, and atril-thumbnailer does not crash (confirmed with dmesg output). The fix works. ** Tags removed: verification-needed verification-needed-xenial ** Tags added: verification-done verification-done-xenial -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
The fix has been accepted into -proposed. Please test as per the regular SRU policy. -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
** Changed in: atril (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-xenial -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Uploaded. -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Yeah, it should be marked so - I just don't have the rights to do that. -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Yakkety is EOL, marking as Won't Fix. -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Yakkety is EOL, marking as Invalid. ** Description changed: + [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. + + [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 ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3 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/atril-thumbnailer 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:///media/username/9c6bffca-6fb6-4ac9-82ce-02fb9ff1e8e1/brendanperrine/Downloads/producingoss.epub /home/username/.thumbnails/normal/6e702ce8bebd1e4696b3f56bbbf83119.png SegvAnalysis: - Segfault happened at: 0x7f6fffbb8b2c: mov(%rax),%eax - PC (0x7f6fffbb8b2c) ok - source "(%rax)" (0x2f2f2f3a656c6966) not located in a known VMA region (needed readable region)! - destination "%eax" ok + Segfault happened at: 0x7f6fffbb8b2c : mov(%rax),%eax + PC (0x7f6fffbb8b2c) ok + source "(%rax)" (0x2f2f2f3a656c6966) not located in a known VMA region (needed readable region)! + destination "%eax" ok SegvReason: reading unknown VMA Signal: 11 SourcePackage: atril StacktraceTop: - cairo_image_surface_get_width () from /usr/lib/x86_64-linux-gnu/libcairo.so.2 - ev_document_misc_surface_rotate_and_scale () from /usr/lib/x86_64-linux-gnu/libatrildocument.so.3 - ?? () from /usr/lib/x86_64-linux-gnu/atril/3/backends/libepubdocument.so - ?? () - ?? () + cairo_image_surface_get_width () from /usr/lib/x86_64-linux-gnu/libcairo.so.2 + ev_document_misc_surface_rotate_and_scale () from /usr/lib/x86_64-linux-gnu/libatrildocument.so.3 + ?? () from /usr/lib/x86_64-linux-gnu/atril/3/backends/libepubdocument.so + ?? () + ?? () Title: atril-thumbnailer crashed with SIGSEGV in cairo_image_surface_get_width() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo ** Changed in: atril (Ubuntu Xenial) Assignee: (unassigned) => Vlad Orlov (monsta) ** Changed in: atril (Ubuntu Xenial) Importance: Undecided => High ** Changed in: atril (Ubuntu Xenial) Status: Confirmed => In Progress ** Changed in: atril (Ubuntu Yakkety) Status: Confirmed => Won't Fix -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Yakkety is EOL, marking as Won't Fix. -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
[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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
** Attachment added: "Debdiff with the fix for Xenial" https://bugs.launchpad.net/ubuntu/+source/atril/+bug/1540018/+attachment/5001702/+files/atril-debdiff-xenial -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
** Tags removed: yakkety ** Tags added: ubuntu-mate-xenial-sru -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Fix released in Zesty (atril 1.18), other releases still need the patch. ** Changed in: atril (Ubuntu) Status: Confirmed => Fix Released -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: atril (Ubuntu Xenial) Status: New => Confirmed -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: atril (Ubuntu Yakkety) Status: New => Confirmed -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
The attachment "fix-thumbnailer-crash.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Uploaded a patch which disables thumbnail generation for epubs, fixing the crash. ** Tags added: yakkety ** Patch added: "fix-thumbnailer-crash.patch" https://bugs.launchpad.net/ubuntu/+source/atril/+bug/1540018/+attachment/4770601/+files/fix-thumbnailer-crash.patch ** Tags added: patch -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
** Also affects: atril (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: atril (Ubuntu Yakkety) Importance: Undecided Status: New -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
** Bug watch added: github.com/mate-desktop/atril/issues #187 https://github.com/mate-desktop/atril/issues/187 ** Also affects: teatrillu via https://github.com/mate-desktop/atril/issues/187 Importance: Unknown Status: Unknown ** No longer affects: teatrillu -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Fehlermeldung. Installation von Ubuntu abgebrochen. Ubuntu Mate 16.04 -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
** Tags added: bugpattern-needed -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
Confirmed, report added upstream. https://github.com/mate-desktop/atril/issues/187 -- 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
[Bug 1540018] Re: atril-thumbnailer crashed with SIGSEGV in ev_document_misc_surface_rotate_and_scale()
** Information type changed from Private to Public -- 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