[Bug 494240] [NEW] In guest session, mplayer mmap fails, resulting in segfault - possibly due to apparmor

dimitris dimitris at gmail.com
Tue Dec 8 22:37:03 UTC 2009


Public bug reported:

Binary package hint: mplayer

After a recent update, mplayer no longer works in the guest session.
Trying to play any video file results in the following strace:

[...]
gettimeofday({1260311100, 168365}, NULL) = 0
open("/dev/zero", O_RDWR)               = 3
mmap2(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = -1 EACCES (Permission denied)
close(3)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

At the same time in the kernel logs:

Dec  8 14:26:23 greebo kernel: [327635.240104] type=1503
audit(1260311183.016:198): operation="file_mmap" pid=22509 parent=22507
profile="/usr/share/gdm/guest-session/Xsession" requested_mask="::mr"
denied_mask="::m" fsuid=119 ouid=0 name="/dev/zero"

At segfault time the stacktrace seems to be:

#0  memset () at ../sysdeps/i386/i686/memset.S:85
#1  0x07c089b5 in ?? () from /usr/lib/libGLcore.so.1

libGLcore.so is from the nvidia-glx-96 package, which hasn't changed
since before this change in behavior.

ProblemType: Bug
Architecture: i386
Date: Tue Dec  8 14:31:15 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: mplayer 2:1.0~rc3+svn20090426-1ubuntu10
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
RelatedPackageVersions:
 libavcodec52 N/A
 libavcodec-extra-52 4:0.5+svn20090706-2ubuntu3
SourcePackage: mplayer
Uname: Linux 2.6.31-16-generic i686
UserConf: # Write your default config options here!
system: distro = Ubuntu, architecture = i686, kernel = 2.6.31-16-generic

** Affects: mplayer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
In guest session, mplayer mmap fails, resulting in segfault - possibly due to apparmor
https://bugs.launchpad.net/bugs/494240
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list