← Back to team overview

desktop-packages team mailing list archive

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

 

I presume you meant 'aa-complain' and yes, that fixed it.  I had thought
that the problem might be AppArmour related, but did not think to check
/var/log/syslog, which clearly showed that AA was the problem.  Below
you can see both the before (DENIED) and the after (ALLOW) -- after I
ran aa-complain -- in the syslog file:

Oct 18 09:04:34 s3 kernel: [25565.746616] type=1400 audit(1318946674.495:91): apparmor="DENIED" operation="open" parent=2689 profile="/usr/bin/evince" name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F67746B2E637373 pid=11856 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 18 09:04:34 s3 kernel: [25565.746706] evince[11856]: segfault at 10 ip 00007f1fc2c597f4 sp 00007fffbc7377c0 error 4 in libgtk-3.so.0.200.0[7f1fc2b89000+442000]
Oct 18 09:04:39 s3 kernel: [25571.012710] type=1400 audit(1318946679.763:92): apparmor="DENIED" operation="open" parent=11857 profile="/usr/bin/evince" name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F67746B2E637373 pid=11858 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 18 09:05:01 s3 CRON[11862]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Oct 18 09:05:10 s3 anacron[11455]: Job `cron.daily' started
Oct 18 09:05:10 s3 anacron[11979]: Updated timestamp for job `cron.daily' to 2011-10-18
Oct 18 09:06:15 s3 kernel: [25667.238296] type=1400 audit(1318946775.987:93): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince" pid=12073 comm="apparmor_parser"
Oct 18 09:06:15 s3 kernel: [25667.239075] type=1400 audit(1318946775.987:94): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince-previewer" pid=12073 comm="apparmor_parser"
Oct 18 09:06:15 s3 kernel: [25667.239602] type=1400 audit(1318946775.987:95): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince-thumbnailer" pid=12073 comm="apparmor_parser"
Oct 18 09:06:24 s3 kernel: [25675.862353] type=1400 audit(1318946784.611:96): apparmor="ALLOWED" operation="open" parent=2689 profile="/usr/bin/evince" name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F67746B2E637373 pid=12074 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.862833] type=1400 audit(1318946784.611:97): apparmor="ALLOWED" operation="open" parent=2689 profile="/usr/bin/evince" name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F67746B2D776964676574732E637373 pid=12074 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.874397] type=1400 audit(1318946784.623:98): apparmor="ALLOWED" operation="open" parent=2689 profile="/usr/bin/evince" name="/srv/system/usr/local/share/mime/mime.cache" pid=12074 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Oct 18 09:06:24 s3 kernel: [25675.881892] type=1400 audit(1318946784.631:99): apparmor="ALLOWED" operation="open" parent=2689 profile="/usr/bin/evince" name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F617070732F676E6F6D652D70616E656C2E637373 pid=12074 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.882133] type=1400 audit(1318946784.631:100): apparmor="ALLOWED" operation="open" parent=2689 profile="/usr/bin/evince" name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F617070732F676E6F6D652D7465726D696E616C2E637373 pid=12074 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.882189] type=1400 audit(1318946784.631:101): apparmor="ALLOWED" operation="open" parent=2689 profile="/usr/bin/evince" name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F617070732F6E617574696C75732E637373 pid=12074 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Oct 18 09:06:24 s3 kernel: [25675.882417] type=1400 audit(1318946784.631:102): apparmor="ALLOWED" operation="open" parent=2689 profile="/usr/bin/evince" name=2F6C6F63616C2F73746F7265732F6D6F7273652F7468656D65732F446F756773205468656D652F67746B2D332E302F617070732F756E6974792E637373 pid=12074 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

Thanks for the help!

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