From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ORvKs-0001jb-Tv for garchives@archives.gentoo.org; Thu, 24 Jun 2010 22:55:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D3BCE0BD8; Thu, 24 Jun 2010 22:54:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F7A5E0BD8 for ; Thu, 24 Jun 2010 22:54:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4F2641B40DF for ; Thu, 24 Jun 2010 22:54:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.608 X-Spam-Level: X-Spam-Status: No, score=-1.608 required=5.5 tests=[AWL=0.991, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MVcK18wGmxTY for ; Thu, 24 Jun 2010 22:54:33 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 5CDA81B408B for ; Thu, 24 Jun 2010 22:54:32 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ORvJR-0001T5-Bg for gentoo-user@gentoo.org; Fri, 25 Jun 2010 00:54:25 +0200 Received: from dhcp-83-219-99-82.customers.tvtnet.ch ([83.219.99.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jun 2010 00:54:25 +0200 Received: from remy.blank by dhcp-83-219-99-82.customers.tvtnet.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jun 2010 00:54:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Remy Blank Subject: [gentoo-user] xorg segfaults if I have an encrypted volume mounted Date: Fri, 25 Jun 2010 00:53:49 +0200 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig10641078BAB0071A1EC75C9E" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dhcp-83-219-99-82.customers.tvtnet.ch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20100305 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 X-Enigmail-Version: 1.0.1 X-Archives-Salt: f45ed108-e608-462d-9dd5-d6a87553b21f X-Archives-Hash: 5d07ecbefdc60071114f9d762a3ab419 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig10641078BAB0071A1EC75C9E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable xorg started segfaulting here on startup, at the point where it should detect input devices: [ 1198.330] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 1198.330] (II) AIGLX: enabled GLX_INTEL_swap_event [ 1198.330] (II) AIGLX: enabled GLX_SGI_make_current_read [ 1198.330] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 1198.330] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so [ 1198.330] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 1198.331] (II) intel(0): Setting screen physical size to 507 x 317 [ 1198.437] Backtrace: [ 1198.437] 0: /usr/bin/X (xorg_backtrace+0x38) [0x80ae1c8] [ 1198.437] 1: /lib/libudev.so.0 (0xb782b000+0x33d2) [0xb782e3d2] [ 1198.437] Segmentation fault at address 0x7974702f [ 1198.437] Fatal server error: [ 1198.437] Caught signal 11 (Segmentation fault). Server aborting For reference, here's the same location in a good start: [ 2832.766] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 2832.766] (II) AIGLX: enabled GLX_INTEL_swap_event [ 2832.766] (II) AIGLX: enabled GLX_SGI_make_current_read [ 2832.766] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 2832.766] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so [ 2832.766] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 2832.767] (II) intel(0): Setting screen physical size to 507 x 317 [ 2832.906] (II) config/udev: Adding input device Video Bus (/dev/input/event8) [ 2832.906] (**) Video Bus: Applying InputClass "evdev keyboard catchall= " [ 2832.906] (**) Video Bus: Applying InputClass "Keyboard-all" [ 2832.906] (II) LoadModule: "evdev" [ 2832.906] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 2832.906] (II) Module evdev: vendor=3D"X.Org Foundation" [ 2832.906] compiled for 1.8.1.901, module version =3D 2.3.2 [ 2832.907] Module class: X.Org XInput Driver [ 2832.907] ABI class: X.Org XInput driver, version 9.0 So it's segfaulting in libudev. And where it's getting weird is that it only segfaults if I have one particular encrypted container mapped. The container is a file mapped to /dev/loop0, opened with "cryptsetup luksOpen" as "/dev/mapper/crypt-morpheus.athome". If I "luksClose" it (but keep /dev/loop0), xorg starts normally. Strangely, there is another encrypted container "/dev/mapper/crypt-swap" mapped to my swap partition, but that one doesn't seem to interfere. This symptom has only started today, and I haven't updated anything udev- or xorg-related. However, I reboot rarely, and I did reboot today, so it may be due to an earlier update. Some version info: xorg-server-1.8.1.901 xf86-input-evdev-2.3.2 udev-149 gentoo-sources-2.6.31-r6 Has anyone seen anything similar? Any idea how I could either work around the issue or debug it? I have tried strace but couldn't extract any meaningful information. -- Remy --------------enig10641078BAB0071A1EC75C9E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkwj4hMACgkQCeNfIyhvXjILFwCfTllEM7lj0wdTyGNcZfubBCv5 P+8AoMWXfZgvrfP9SyTB5AvAZbP0+IfC =IQWd -----END PGP SIGNATURE----- --------------enig10641078BAB0071A1EC75C9E--