Gentoo Archives: gentoo-hardened

From: Geoff Kassel <gkassel@×××××××××××××××××.net>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] X Window System errors using hardened-sources-2.6.22* and beyond
Date: Thu, 01 Nov 2007 02:21:43
Message-Id: 200711011220.12040.gkassel@users.sourceforge.net
In Reply to: [gentoo-hardened] X Window System errors using hardened-sources-2.6.22* and beyond by atoth@atoth.sote.hu
1 Attila,
2 I've been seeing this issue myself running FireFox versions 2.0.0.2 through
3 to 2.0.0.8 on hardened-sources-2.6.20-r6 - PaX enabled but not SELinux or
4 grsec. I'm thinking it may be a Gnome library bug of some sort, since the
5 programs you've mentioned that are crashing with this all seem to use Gnome in
6 some fashion. Oddly, though, I'm not seeing this issue with Seamonkey
7 compiled with Gnome support.
8
9 If I had time, I'd follow the instructions given in the crash message for
10 each of these programs, and see if it was crashing in the same spot. Then
11 we'd know what libraries to blame/target for patching.
12
13 Kind regards,
14
15 Geoff Kassel.
16
17 On Wed, 31 Oct 2007, atoth@××××××××××.hu wrote:
18 > I'm running hardened-sources-2.6.20-r2. My boxes are running stable for
19 > weeks with it.
20 > When I first tried to bump above 2.6.20, I faced with several problems. I
21 > wasn't in a hurry and I waited for 2.6.22.
22 > Then I tried hardened-sources-2.6.22- and -2.6.23.
23 >
24 > With both kernels I have the same symptoms:
25 > After same minutes of activity one of these programs gets killed:
26 > nautilus, Gecko (Firefox) or gnome-terminal. These are the programs I
27 > usually launch when I log in to X. I'm a gnome user.
28 > There can be no log messages found in either of the system logs.
29 > The only error message I can capture looks like this:
30 >
31 > "The program 'nautilus' received an X Window System error.
32 > This probably reflects a bug in the program.
33 > The error was 'BadAlloc (insufficient resources for operation)'.
34 > (Details: serial 8 error_code 11 request_code 53 minor_code 0)
35 > (Note to programmers: normally, X errors are reported asynchronously;
36 > that is, you will receive the error a while after causing it.
37 > To debug your program, run it with the --sync command line
38 > option to change this behavior. You can then get a meaningful
39 > backtrace from your debugger if you break on the gdk_x_error()
40 > function.)"
41 >
42 > This issue seems to hit the above mentioned programs in a random manner.
43 > After the symptom pops up, it soon end up in a state, that I can't restart
44 > these programs. Logging out and in again fixes the behavior. However it's
45 > a bit boring to login and out every few minutes.
46 >
47 > It effect the two computers on which I'm running Hardened Gentoo. I don't
48 > use vanilla-kernel or non-Hardened favors of Gentoo.
49 >
50 > I don't know what can be a reason why it runs fine with
51 > hardened-sources-2.6.20 but fails with the kernel versions above 2.6.20...
52 >
53 > Are there any clues on this issue?
54 > Maybe it's even not related to Hardened...
55 >
56 > Regards,
57 > Attila Toth
58 > --
59 > dr Tóth Attila, Radiológus Szakorvos jelölt, 06-20-825-8057, 06-30-5962-962
60 > Attila Toth MD, Radiologist in Training, +36-20-825-8057, +36-30-5962-962
61 --
62 gentoo-hardened@g.o mailing list