← Back to team overview

group.of.nepali.translators team mailing list archive

[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 <cairo_image_surface_get_width+12>:	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 <cairo_image_surface_get_width+12>:	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 नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1540018

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

Status in atril package in Ubuntu:
  Fix Released
Status in atril source package in Xenial:
  In Progress
Status in atril source package in Yakkety:
  Won't Fix

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/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 <cairo_image_surface_get_width+12>:	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
   ?? ()
   ?? ()
  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

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