1 |
xorg started segfaulting here on startup, at the point where it should |
2 |
detect input devices: |
3 |
|
4 |
[ 1198.330] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer |
5 |
[ 1198.330] (II) AIGLX: enabled GLX_INTEL_swap_event |
6 |
[ 1198.330] (II) AIGLX: enabled GLX_SGI_make_current_read |
7 |
[ 1198.330] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer |
8 |
objects |
9 |
[ 1198.330] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so |
10 |
[ 1198.330] (II) GLX: Initialized DRI2 GL provider for screen 0 |
11 |
[ 1198.331] (II) intel(0): Setting screen physical size to 507 x 317 |
12 |
[ 1198.437] |
13 |
Backtrace: |
14 |
[ 1198.437] 0: /usr/bin/X (xorg_backtrace+0x38) [0x80ae1c8] |
15 |
[ 1198.437] 1: /lib/libudev.so.0 (0xb782b000+0x33d2) [0xb782e3d2] |
16 |
[ 1198.437] Segmentation fault at address 0x7974702f |
17 |
[ 1198.437] |
18 |
Fatal server error: |
19 |
[ 1198.437] Caught signal 11 (Segmentation fault). Server aborting |
20 |
|
21 |
For reference, here's the same location in a good start: |
22 |
|
23 |
[ 2832.766] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer |
24 |
[ 2832.766] (II) AIGLX: enabled GLX_INTEL_swap_event |
25 |
[ 2832.766] (II) AIGLX: enabled GLX_SGI_make_current_read |
26 |
[ 2832.766] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer |
27 |
objects |
28 |
[ 2832.766] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so |
29 |
[ 2832.766] (II) GLX: Initialized DRI2 GL provider for screen 0 |
30 |
[ 2832.767] (II) intel(0): Setting screen physical size to 507 x 317 |
31 |
[ 2832.906] (II) config/udev: Adding input device Video Bus |
32 |
(/dev/input/event8) |
33 |
[ 2832.906] (**) Video Bus: Applying InputClass "evdev keyboard catchall" |
34 |
[ 2832.906] (**) Video Bus: Applying InputClass "Keyboard-all" |
35 |
[ 2832.906] (II) LoadModule: "evdev" |
36 |
[ 2832.906] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so |
37 |
[ 2832.906] (II) Module evdev: vendor="X.Org Foundation" |
38 |
[ 2832.906] compiled for 1.8.1.901, module version = 2.3.2 |
39 |
[ 2832.907] Module class: X.Org XInput Driver |
40 |
[ 2832.907] ABI class: X.Org XInput driver, version 9.0 |
41 |
|
42 |
So it's segfaulting in libudev. And where it's getting weird is that it |
43 |
only segfaults if I have one particular encrypted container mapped. The |
44 |
container is a file mapped to /dev/loop0, opened with "cryptsetup |
45 |
luksOpen" as "/dev/mapper/crypt-morpheus.athome". If I "luksClose" it |
46 |
(but keep /dev/loop0), xorg starts normally. |
47 |
|
48 |
Strangely, there is another encrypted container "/dev/mapper/crypt-swap" |
49 |
mapped to my swap partition, but that one doesn't seem to interfere. |
50 |
|
51 |
This symptom has only started today, and I haven't updated anything |
52 |
udev- or xorg-related. However, I reboot rarely, and I did reboot today, |
53 |
so it may be due to an earlier update. |
54 |
|
55 |
Some version info: |
56 |
|
57 |
xorg-server-1.8.1.901 |
58 |
xf86-input-evdev-2.3.2 |
59 |
udev-149 |
60 |
gentoo-sources-2.6.31-r6 |
61 |
|
62 |
Has anyone seen anything similar? Any idea how I could either work |
63 |
around the issue or debug it? I have tried strace but couldn't extract |
64 |
any meaningful information. |
65 |
|
66 |
-- Remy |