← Back to team overview

desktop-packages team mailing list archive

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

 

OK, just now I backed up /usr/share/themes/Ambiance to
/usr/share/themes/Ambiance.DIST and made the same three trivial changes
to the them -- changed  selected_bg_color from #f07746 to #008ab8 in
gtk-3.0/settings.ini, gtk-3.0/gtkrc, and gtk-2.0/gtkrc -- and switched
to this updated Ambiance theme.  Evince works fine now, with my minor
color change.

So, this definitely seems like a bug in evince.  Again, my directories
and files should all be accessible to evince running as my user (morse):

morse@s3 ~> ls -ld /home/morse
drwxr-xr-x 96 morse morse 16384 2011-10-17 17:43 /home/morse

morse@s3 ~> ls -ld /home/morse/.themes/
drwx------ 6 morse morse 4096 2011-10-17 17:45 /home/morse/.themes/

morse@s3 ~> ls -ld /home/morse/.themes/Dougs Theme/
drwx------ 4 morse morse 4096 2011-07-25 13:24 /home/morse/.themes/Dougs Theme/

and all the dirs and files under 'Dougs Theme' are uid/gid morse/morse
and mode 700 (dirs) / 600 (files).

Thanks.

-- 
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:
  New

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