← Back to team overview

desktop-packages team mailing list archive

[Bug 876929] Re: Evince crashes (segfault) under Unity with a custom theme

 

Looking at the apparmor denials, you have non-standard paths and will need to update the profile to allow access. You can add the following to /etc/apparmor.d/local/usr.bin.evince:
  /srv/system/usr/local/** r,
  /local/stores/morse/** r,

Then perform:
$ sudo apparmor_parser -r /etc/apparmor.d/usr.bin.evince
$ sudo aa-enforce /etc/apparmor.d/usr.bin.evince

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/876929

Title:
  Evince crashes (segfault) under Unity with a custom theme

Status in “evince” package in Ubuntu:
  Won't Fix

Bug description:
  I have created a custom theme -- a trivial derivation of Ubuntu
  11.10's stock Ambiance them, with the only changes being changing the
  selection color from orange to blue (1 color change in 3 files) -- and
  everything works fine except that evince crashes with a segfault.

  I have run strace on evince -- attached -- of which the last four
  lines are:

  access("/home/morse/.themes/Dougs Theme/gtk-3.0/gtk.css", F_OK) = 0
  open("/home/morse/.themes/Dougs Theme/gtk-3.0/gtk.css", O_RDONLY) = -1 EACCES (Permission denied)
  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
  +++ killed by SIGSEGV +++

  All the relevant directories (/home, /home/morse,
  /home/morse/.themes/, etc.) are either mode 755 or 700, files are mode
  600,  and all have uid/gid that is my account.

  So, I'm quite puzzled as to why evince is getting a permission denied
  error, and even more so as to why this would result in a segfault.

  Any help most appreciated, as I use evince all the time and it's
  rather annoying having to change my theme back to "Ambiance" just to
  get evince to work, whereas all other apps I've used since upgrading
  to 11.10 work just fine with my slightly customized theme.

  Thanks.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: evince 3.2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Mon Oct 17 17:29:57 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: evince
  UpgradeStatus: Upgraded to oneiric on 2011-10-14 (3 days ago)

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


References