[Bug 1909663] Re: atril on opening ptc40.ps.bz2 file crashed with SIGSEGV in INT_cairo_surface_set_device_scale()

Norbert 1909663 at bugs.launchpad.net
Wed Dec 30 12:59:28 UTC 2020


Also happens on 18.04 LTS - it is bug 1909666 .

All these "unknown VMA" stuff started to appear after Spectre and
Meltdown "fixes".

So this bug came from back-end libraries and not from Atril itself.

** Also affects: glib2.0 (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  atril on opening ptc40.ps.bz2 file crashed with SIGSEGV in
  INT_cairo_surface_set_device_scale()

Status in atril package in Ubuntu:
  Confirmed
Status in cairo package in Ubuntu:
  Confirmed
Status in glib2.0 package in Ubuntu:
  Confirmed

Bug description:
  Reproduce with:

  $ wget http://pages.cs.wisc.edu/~yeoh/nt/ptc40.ps.bz2
  $ $ atril ptc40.ps.bz2
  undefined -21

  ** (atril:9516): WARNING **: 11:27:21.344: Error rendering thumbnail
  undefined -21

  [...]
  Segmentation fault (core dumped)

  Actual behaviour: First page of PostScript file displays briefly,
  then segmentation fault.

  Expected behaviour: no segfault

  $ lsb_release -rd
  Description:	Ubuntu 20.04.1 LTS
  Release:	20.04
  $ apt-cache policy atril
  atril:
    Installed: 1.24.0-1
    Candidate: 1.24.0-1
    Version table:
   *** 1.24.0-1 500
          500 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Crash
  DistroRelease: Ubuntu 20.04
  Package: atril 1.24.0-1
  ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
  Uname: Linux 5.4.0-58-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: XFCE
  Date: Wed Dec 30 11:48:42 2020
  ExecutablePath: /usr/bin/atril
  InstallationDate: Installed on 2020-12-21 (8 days ago)
  InstallationMedia: Xubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  ProcCmdline: atril ptc40.ps.bz2
  SegvAnalysis:
   Segfault happened at: 0x7f4873caa5f4 <cairo_surface_set_device_scale+4>:	mov    0x1c(%rdi),%eax
   PC (0x7f4873caa5f4) ok
   source "0x1c(%rdi)" (0x0000001c) not located in a known VMA region (needed readable region)!
   destination "%eax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: atril
  StacktraceTop:
   cairo_surface_set_device_scale () from /lib/x86_64-linux-gnu/libcairo.so.2
   ?? () from /lib/x86_64-linux-gnu/libatrilview.so.3
   ?? () from /lib/x86_64-linux-gnu/libatrilview.so.3
   g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
   ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
  Title: atril crashed with SIGSEGV in cairo_surface_set_device_scale()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: VPN adm building cdrom dialout dip ecad lpadmin lxd netos plugdev raspberrypi safety sambashare sec-grp sec-web sudo teaching techreport video wednesday wwwlogs wwwpages wwwsvn-admin
  modified.conffile..etc.apport.crashdb.conf: [modified]
  mtime.conffile..etc.apport.crashdb.conf: 2020-12-30T11:44:35.909585
  separator:

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



More information about the foundations-bugs mailing list