Gentoo Archives: gentoo-amd64

From: Sebastian Redl <sebastian.redl@×××××××××××.at>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] [SOLVED] Amarok and X.org crashing with hardened gentoo on amd64
Date: Sat, 14 Jan 2006 11:53:09
Message-Id: 43C8E5D1.5040609@getdesigned.at
In Reply to: [gentoo-amd64] [SOLVED] Amarok and X.org crashing with hardened gentoo on amd64 by Nicolas MASSE
Nicolas MASSE wrote:

>After some investigations, I found that the X server could run with the nv >driver but not with the nvidia driver, and Amarok crashed within a function >in /usr/lib64/opengl/nvidia/lib/... > >A strace gave me : > >open("/dev/zero", O_RDWR) = 3 >mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|0x40, 3, 0) = -1 >EPERM (Operation not permitted) >mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = -1 EPERM >(Operation not permitted) >close(3) = 0 >--- SIGSEGV (Segmentation fault) @ 0 (0) --- > >
Nice work. You could also perhaps file a bug against the nvidia driver - it definitely shouldn't crash because mmap fails. Instead it should fail gracefully. Sebastian Redl -- gentoo-amd64@g.o mailing list