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
1 Nicolas MASSE wrote:
2
3 >After some investigations, I found that the X server could run with the nv
4 >driver but not with the nvidia driver, and Amarok crashed within a function
5 >in /usr/lib64/opengl/nvidia/lib/...
6 >
7 >A strace gave me :
8 >
9 >open("/dev/zero", O_RDWR) = 3
10 >mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|0x40, 3, 0) = -1
11 >EPERM (Operation not permitted)
12 >mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = -1 EPERM
13 >(Operation not permitted)
14 >close(3) = 0
15 >--- SIGSEGV (Segmentation fault) @ 0 (0) ---
16 >
17 >
18 Nice work. You could also perhaps file a bug against the nvidia driver -
19 it definitely shouldn't crash because mmap fails. Instead it should fail
20 gracefully.
21
22 Sebastian Redl
23 --
24 gentoo-amd64@g.o mailing list