Bug 40422 - xkbcomp causes X to crash when given certain input
Summary: xkbcomp causes X to crash when given certain input
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/XKB (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Daniel Stone
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 11:02 UTC by s
Modified: 2012-10-31 07:51 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description s 2011-08-27 11:02:49 UTC
When I try the following:

#!/bin/bash
xkbcomp - $DISPLAY<<EOF
xkb_keymap {
xkb_keycodes  { include "evdev+aliases(qwertz)"};
xkb_types     { include "default"};
xkb_compat    { include "default"};
xkb_symbols   { include "pc+de(nodeadkeys)+inet(evdev)+capslock(escape)"    };
xkb_geometry  { include "pc(pc104)"};
};
EOF

my X server crashes and restarts. This behavior is reproducable, though I did not yet try it with another system.
uname -a: Parsec 3.0-3.slh.2-aptosid-686 #1 SMP PREEMPT Tue Aug 23 11:35:49 UTC 2011 i686 GNU/Linux
Graphics card: Nvidia GeForce 8600 M GT
Processor: Core 2 (thus x86-64)
xorg.log:

[  1551.272] 
X.Org X Server 1.10.4
Release Date: 2011-08-19
[  1551.272] X Protocol Version 11, Revision 0
[  1551.272] Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
[  1551.272] Current Operating System: Linux Parsec 3.0-3.slh.2-aptosid-686 #1 SMP PREEMPT Tue Aug 23 11:35:49 UTC 2011 i686
[  1551.272] Kernel command line: BOOT_IMAGE=/vmlinuz-3.0-3.slh.2-aptosid-686 root=/dev/mapper/ampere-root ro cryptopts=source=/dev/mapper/volt-crypt,target=cryptroot,lvm=ampere-root quiet
[  1551.272] Build Date: 24 August 2011  09:37:43AM
[  1551.272] xorg-server 2:1.10.4-1 (Cyril Brulebois <kibi@debian.org>) 
[  1551.272] Current version of pixman: 0.22.2
[  1551.272] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1551.272] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1551.272] (==) Log file: "/var/log/Xorg.1.log", Time: Sat Aug 27 15:41:04 2011
[  1551.273] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1551.273] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1551.274] (==) No Layout section.  Using the first Screen section.
[  1551.274] (==) No screen section available. Using defaults.
[  1551.274] (**) |-->Screen "Default Screen Section" (0)
[  1551.274] (**) |   |-->Monitor "<default monitor>"
[  1551.274] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  1551.274] (**) |   |-->Device "Device 0"
[  1551.274] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1551.274] (==) Automatically adding devices
[  1551.274] (==) Automatically enabling devices
[  1551.275] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  1551.275] 	Entry deleted from font path.
[  1551.275] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  1551.275] 	Entry deleted from font path.
[  1551.275] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[  1551.275] 	Entry deleted from font path.
[  1551.275] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[  1551.275] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1551.275] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1551.275] (II) Loader magic: 0x8231fa0
[  1551.275] (II) Module ABI versions:
[  1551.275] 	X.Org ANSI C Emulation: 0.4
[  1551.275] 	X.Org Video Driver: 10.0
[  1551.275] 	X.Org XInput driver : 12.2
[  1551.275] 	X.Org Server Extension : 5.0
[  1551.277] (--) PCI:*(0:1:0:0) 10de:0407:1028:01f1 rev 161, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
[  1551.278] (II) Open ACPI successful (/var/run/acpid.socket)
[  1551.278] (II) LoadModule: "extmod"
[  1551.279] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  1551.279] (II) Module extmod: vendor="X.Org Foundation"
[  1551.279] 	compiled for 1.10.4, module version = 1.0.0
[  1551.279] 	Module class: X.Org Server Extension
[  1551.279] 	ABI class: X.Org Server Extension, version 5.0
[  1551.279] (II) Loading extension SELinux
[  1551.279] (II) Loading extension MIT-SCREEN-SAVER
[  1551.279] (II) Loading extension XFree86-VidModeExtension
[  1551.279] (II) Loading extension XFree86-DGA
[  1551.279] (II) Loading extension DPMS
[  1551.279] (II) Loading extension XVideo
[  1551.279] (II) Loading extension XVideo-MotionCompensation
[  1551.279] (II) Loading extension X-Resource
[  1551.279] (II) LoadModule: "dbe"
[  1551.279] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  1551.279] (II) Module dbe: vendor="X.Org Foundation"
[  1551.280] 	compiled for 1.10.4, module version = 1.0.0
[  1551.280] 	Module class: X.Org Server Extension
[  1551.280] 	ABI class: X.Org Server Extension, version 5.0
[  1551.280] (II) Loading extension DOUBLE-BUFFER
[  1551.280] (II) LoadModule: "glx"
[  1551.280] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1551.305] (II) Module glx: vendor="NVIDIA Corporation"
[  1551.305] 	compiled for 4.0.2, module version = 1.0.0
[  1551.305] 	Module class: X.Org Server Extension
[  1551.305] (II) NVIDIA GLX Module  280.13  Wed Jul 27 17:14:51 PDT 2011
[  1551.305] (II) Loading extension GLX
[  1551.305] (II) LoadModule: "record"
[  1551.305] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  1551.305] (II) Module record: vendor="X.Org Foundation"
[  1551.305] 	compiled for 1.10.4, module version = 1.13.0
[  1551.305] 	Module class: X.Org Server Extension
[  1551.305] 	ABI class: X.Org Server Extension, version 5.0
[  1551.305] (II) Loading extension RECORD
[  1551.305] (II) LoadModule: "dri"
[  1551.305] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  1551.305] (II) Module dri: vendor="X.Org Foundation"
[  1551.305] 	compiled for 1.10.4, module version = 1.0.0
[  1551.306] 	ABI class: X.Org Server Extension, version 5.0
[  1551.306] (II) Loading extension XFree86-DRI
[  1551.306] (II) LoadModule: "dri2"
[  1551.306] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  1551.306] (II) Module dri2: vendor="X.Org Foundation"
[  1551.306] 	compiled for 1.10.4, module version = 1.2.0
[  1551.306] 	ABI class: X.Org Server Extension, version 5.0
[  1551.306] (II) Loading extension DRI2
[  1551.306] (II) LoadModule: "nvidia"
[  1551.306] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1551.306] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1551.306] 	compiled for 4.0.2, module version = 1.0.0
[  1551.306] 	Module class: X.Org Video Driver
[  1551.307] (II) NVIDIA dlloader X Driver  280.13  Wed Jul 27 16:57:12 PDT 2011
[  1551.307] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1551.307] (++) using VT number 11

[  1551.318] (II) Loading sub module "fb"
[  1551.318] (II) LoadModule: "fb"
[  1551.318] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1551.318] (II) Module fb: vendor="X.Org Foundation"
[  1551.318] 	compiled for 1.10.4, module version = 1.0.0
[  1551.318] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1551.318] (II) Loading sub module "wfb"
[  1551.318] (II) LoadModule: "wfb"
[  1551.318] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  1551.319] (II) Module wfb: vendor="X.Org Foundation"
[  1551.319] 	compiled for 1.10.4, module version = 1.0.0
[  1551.319] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1551.319] (II) Loading sub module "ramdac"
[  1551.319] (II) LoadModule: "ramdac"
[  1551.319] (II) Module "ramdac" already built-in
[  1551.319] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1551.319] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  1551.319] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1551.319] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  1551.319] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  1551.319] (==) NVIDIA(0): RGB weight 888
[  1551.319] (==) NVIDIA(0): Default visual is TrueColor
[  1551.319] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  1551.319] (**) NVIDIA(0): Option "NoLogo" "1"
[  1551.343] (II) NVIDIA(GPU-0): Display (LPL (DFP-0)) does not support NVIDIA 3D Vision
[  1551.343] (II) NVIDIA(GPU-0):     stereo.
[  1551.349] (II) NVIDIA(0): NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)
[  1551.349] (--) NVIDIA(0): Memory: 524288 kBytes
[  1551.349] (--) NVIDIA(0): VideoBIOS: 60.84.50.00.02
[  1551.349] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  1551.349] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[  1551.349] (--) NVIDIA(0): Connected display device(s) on GeForce 8600M GT at PCI:1:0:0
[  1551.349] (--) NVIDIA(0):     LPL (DFP-0)
[  1551.349] (--) NVIDIA(0): LPL (DFP-0): 330.0 MHz maximum pixel clock
[  1551.349] (--) NVIDIA(0): LPL (DFP-0): Internal Dual Link LVDS
[  1551.354] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID has been
[  1551.354] (**) NVIDIA(0):     enabled on all display devices.
[  1551.427] (II) NVIDIA(0): Assigned Display Device: DFP-0
[  1551.427] (==) NVIDIA(0): 
[  1551.427] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[  1551.427] (==) NVIDIA(0):     will be used as the requested mode.
[  1551.427] (==) NVIDIA(0): 
[  1551.427] (II) NVIDIA(0): Validated modes:
[  1551.427] (II) NVIDIA(0):     "nvidia-auto-select"
[  1551.427] (II) NVIDIA(0): Virtual screen size determined to be 1440 x 900
[  1552.458] (--) NVIDIA(0): DPI set to (110, 108); computed from "UseEdidDpi" X config
[  1552.458] (--) NVIDIA(0):     option
[  1552.458] (--) Depth 24 pixmap format is 32 bpp
[  1552.458] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[  1552.472] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[  1552.753] (II) Loading extension NV-GLX
[  1552.818] (==) NVIDIA(0): Disabling shared memory pixmaps
[  1552.818] (==) NVIDIA(0): Backing store disabled
[  1552.818] (==) NVIDIA(0): Silken mouse enabled
[  1552.819] (==) NVIDIA(0): DPMS enabled
[  1552.819] (II) Loading extension NV-CONTROL
[  1552.820] (II) Loading extension XINERAMA
[  1552.820] (II) Loading sub module "dri2"
[  1552.820] (II) LoadModule: "dri2"
[  1552.820] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  1552.820] (II) Module dri2: vendor="X.Org Foundation"
[  1552.820] 	compiled for 1.10.4, module version = 1.2.0
[  1552.820] 	ABI class: X.Org Server Extension, version 5.0
[  1552.820] (II) NVIDIA(0): [DRI2] Setup complete
[  1552.820] (==) RandR enabled
[  1552.820] (II) Initializing built-in extension Generic Event Extension
[  1552.820] (II) Initializing built-in extension SHAPE
[  1552.820] (II) Initializing built-in extension MIT-SHM
[  1552.820] (II) Initializing built-in extension XInputExtension
[  1552.820] (II) Initializing built-in extension XTEST
[  1552.820] (II) Initializing built-in extension BIG-REQUESTS
[  1552.820] (II) Initializing built-in extension SYNC
[  1552.820] (II) Initializing built-in extension XKEYBOARD
[  1552.820] (II) Initializing built-in extension XC-MISC
[  1552.820] (II) Initializing built-in extension SECURITY
[  1552.820] (II) Initializing built-in extension XINERAMA
[  1552.820] (II) Initializing built-in extension XFIXES
[  1552.820] (II) Initializing built-in extension RENDER
[  1552.820] (II) Initializing built-in extension RANDR
[  1552.820] (II) Initializing built-in extension COMPOSITE
[  1552.820] (II) Initializing built-in extension DAMAGE
[  1552.820] (II) SELinux: Disabled on system
[  1552.823] (II) Initializing extension GLX
[  1552.943] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[  1552.943] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[  1552.943] (II) LoadModule: "evdev"
[  1552.943] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1552.943] (II) Module evdev: vendor="X.Org Foundation"
[  1552.943] 	compiled for 1.10.1, module version = 2.6.0
[  1552.943] 	Module class: X.Org XInput Driver
[  1552.943] 	ABI class: X.Org XInput driver, version 12.2
[  1552.943] (II) Using input driver 'evdev' for 'Video Bus'
[  1552.943] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1552.943] (**) Video Bus: always reports core events
[  1552.943] (**) Video Bus: Device: "/dev/input/event3"
[  1552.943] (--) Video Bus: Found keys
[  1552.943] (II) Video Bus: Configuring as keyboard
[  1552.943] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:2e/LNXVIDEO:00/input/input3/event3"
[  1552.943] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
[  1552.943] (**) Option "xkb_rules" "evdev"
[  1552.943] (**) Option "xkb_model" "pc105"
[  1552.943] (**) Option "xkb_layout" "de,us"
[  1552.943] (**) Option "xkb_options" "lv3:ralt_switch,compose:lwin,grp_led:scroll"
[  1552.972] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[  1552.972] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  1552.972] (II) Using input driver 'evdev' for 'Power Button'
[  1552.973] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1552.973] (**) Power Button: always reports core events
[  1552.973] (**) Power Button: Device: "/dev/input/event5"
[  1552.973] (--) Power Button: Found keys
[  1552.973] (II) Power Button: Configuring as keyboard
[  1552.973] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input5/event5"
[  1552.973] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[  1552.973] (**) Option "xkb_rules" "evdev"
[  1552.973] (**) Option "xkb_model" "pc105"
[  1552.973] (**) Option "xkb_layout" "de,us"
[  1552.973] (**) Option "xkb_options" "lv3:ralt_switch,compose:lwin,grp_led:scroll"
[  1552.973] (II) config/udev: Adding input device Lid Switch (/dev/input/event4)
[  1552.973] (II) No input driver/identifier specified (ignoring)
[  1552.974] (II) config/udev: Adding input device Sleep Button (/dev/input/event6)
[  1552.974] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  1552.974] (II) Using input driver 'evdev' for 'Sleep Button'
[  1552.974] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1552.974] (**) Sleep Button: always reports core events
[  1552.974] (**) Sleep Button: Device: "/dev/input/event6"
[  1552.974] (--) Sleep Button: Found keys
[  1552.974] (II) Sleep Button: Configuring as keyboard
[  1552.974] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input6/event6"
[  1552.974] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[  1552.974] (**) Option "xkb_rules" "evdev"
[  1552.974] (**) Option "xkb_model" "pc105"
[  1552.974] (**) Option "xkb_layout" "de,us"
[  1552.974] (**) Option "xkb_options" "lv3:ralt_switch,compose:lwin,grp_led:scroll"
[  1552.976] (II) config/udev: Adding input device Broadcom Corp (/dev/input/event1)
[  1552.976] (**) Broadcom Corp: Applying InputClass "evdev keyboard catchall"
[  1552.976] (II) Using input driver 'evdev' for 'Broadcom Corp'
[  1552.976] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1552.976] (**) Broadcom Corp: always reports core events
[  1552.976] (**) Broadcom Corp: Device: "/dev/input/event1"
[  1552.976] (--) Broadcom Corp: Found keys
[  1552.976] (II) Broadcom Corp: Configuring as keyboard
[  1552.976] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.2/3-2.2:1.0/input/input1/event1"
[  1552.976] (II) XINPUT: Adding extended input device "Broadcom Corp" (type: KEYBOARD)
[  1552.976] (**) Option "xkb_rules" "evdev"
[  1552.976] (**) Option "xkb_model" "pc105"
[  1552.976] (**) Option "xkb_layout" "de,us"
[  1552.976] (**) Option "xkb_options" "lv3:ralt_switch,compose:lwin,grp_led:scroll"
[  1552.977] (II) config/udev: Adding input device Broadcom Corp (/dev/input/event2)
[  1552.977] (**) Broadcom Corp: Applying InputClass "evdev pointer catchall"
[  1552.977] (II) Using input driver 'evdev' for 'Broadcom Corp'
[  1552.977] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1552.977] (**) Broadcom Corp: always reports core events
[  1552.977] (**) Broadcom Corp: Device: "/dev/input/event2"
[  1552.977] (--) Broadcom Corp: Found 3 mouse buttons
[  1552.977] (--) Broadcom Corp: Found relative axes
[  1552.977] (--) Broadcom Corp: Found x and y relative axes
[  1552.977] (II) Broadcom Corp: Configuring as mouse
[  1552.977] (**) Broadcom Corp: YAxisMapping: buttons 4 and 5
[  1552.977] (**) Broadcom Corp: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  1552.977] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.3/3-2.3:1.0/input/input2/event2"
[  1552.977] (II) XINPUT: Adding extended input device "Broadcom Corp" (type: MOUSE)
[  1552.977] (II) Broadcom Corp: initialized for relative axes.
[  1552.977] (**) Broadcom Corp: (accel) keeping acceleration scheme 1
[  1552.977] (**) Broadcom Corp: (accel) acceleration profile 0
[  1552.977] (**) Broadcom Corp: (accel) acceleration factor: 2.000
[  1552.977] (**) Broadcom Corp: (accel) acceleration threshold: 4
[  1552.977] (II) config/udev: Adding input device Broadcom Corp (/dev/input/mouse0)
[  1552.977] (II) No input driver/identifier specified (ignoring)
[  1552.979] (II) config/udev: Adding input device HDA Intel Mic at Ext Left Jack (/dev/input/event10)
[  1552.979] (II) No input driver/identifier specified (ignoring)
[  1552.979] (II) config/udev: Adding input device HDA Intel HP Out at Ext Left Jack (/dev/input/event11)
[  1552.979] (II) No input driver/identifier specified (ignoring)
[  1552.981] (II) config/udev: Adding input device Laptop Integrated Webcam (/dev/input/event8)
[  1552.981] (**) Laptop Integrated Webcam: Applying InputClass "evdev keyboard catchall"
[  1552.981] (II) Using input driver 'evdev' for 'Laptop Integrated Webcam'
[  1552.981] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1552.981] (**) Laptop Integrated Webcam: always reports core events
[  1552.981] (**) Laptop Integrated Webcam: Device: "/dev/input/event8"
[  1552.981] (--) Laptop Integrated Webcam: Found keys
[  1552.981] (II) Laptop Integrated Webcam: Configuring as keyboard
[  1552.981] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/input/input8/event8"
[  1552.981] (II) XINPUT: Adding extended input device "Laptop Integrated Webcam" (type: KEYBOARD)
[  1552.981] (**) Option "xkb_rules" "evdev"
[  1552.981] (**) Option "xkb_model" "pc105"
[  1552.981] (**) Option "xkb_layout" "de,us"
[  1552.981] (**) Option "xkb_options" "lv3:ralt_switch,compose:lwin,grp_led:scroll"
[  1552.985] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  1552.985] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  1552.985] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  1552.985] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1552.985] (**) AT Translated Set 2 keyboard: always reports core events
[  1552.985] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[  1552.985] (--) AT Translated Set 2 keyboard: Found keys
[  1552.985] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[  1552.985] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  1552.985] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[  1552.985] (**) Option "xkb_rules" "evdev"
[  1552.985] (**) Option "xkb_model" "pc105"
[  1552.985] (**) Option "xkb_layout" "de,us"
[  1552.985] (**) Option "xkb_options" "lv3:ralt_switch,compose:lwin,grp_led:scroll"
[  1552.986] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event9)
[  1552.986] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[  1552.986] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[  1552.986] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Synaptics class"
[  1552.986] (II) LoadModule: "synaptics"
[  1552.986] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  1552.986] (II) Module synaptics: vendor="X.Org Foundation"
[  1552.986] 	compiled for 1.10.2, module version = 1.4.1
[  1552.986] 	Module class: X.Org XInput Driver
[  1552.986] 	ABI class: X.Org XInput driver, version 12.2
[  1552.986] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[  1552.986] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  1552.986] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  1552.986] (**) Option "Device" "/dev/input/event9"
[  1553.010] (--) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
[  1553.010] (--) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
[  1553.010] (--) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[  1553.010] (--) SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[  1553.010] (--) SynPS/2 Synaptics TouchPad: buttons: left right
[  1553.010] (**) Option "MaxTapTime" "180"
[  1553.010] (**) Option "MaxTapMove" "220"
[  1553.010] (**) Option "VertScrollDelta" "100"
[  1553.010] (**) Option "VertEdgeScroll" "true"
[  1553.010] (**) Option "TapButton1" "1"
[  1553.030] (--) SynPS/2 Synaptics TouchPad: touchpad found
[  1553.030] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  1553.061] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event9"
[  1553.061] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[  1553.061] (**) SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[  1553.061] (**) SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[  1553.061] (**) SynPS/2 Synaptics TouchPad: AccelFactor is now 0.040
[  1553.061] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[  1553.061] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[  1553.061] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[  1553.061] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[  1553.062] (--) SynPS/2 Synaptics TouchPad: touchpad found
[  1553.062] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[  1553.062] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[  1553.062] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[  1553.062] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  1553.062] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  1553.062] (**) Option "Device" "/dev/input/mouse1"
[  1553.063] (--) SynPS/2 Synaptics TouchPad: invalid x-axis range.  defaulting to 1615 - 5685
[  1553.063] (--) SynPS/2 Synaptics TouchPad: invalid y-axis range.  defaulting to 1729 - 4171
[  1553.063] (--) SynPS/2 Synaptics TouchPad: invalid pressure range.  defaulting to 0 - 256
[  1553.063] (--) SynPS/2 Synaptics TouchPad: invalid finger width range.  defaulting to 0 - 16
[  1553.084] (EE) Query no Synaptics: 6003C8
[  1553.084] (--) SynPS/2 Synaptics TouchPad: no supported touchpad found
[  1553.084] (EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
[  1553.107] (EE) PreInit returned 11 for "SynPS/2 Synaptics TouchPad"
[  1553.107] (II) UnloadModule: "synaptics"
[  1553.107] (II) Unloading synaptics
[  1553.111] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event7)
[  1553.111] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[  1553.111] (II) Using input driver 'evdev' for 'Dell WMI hotkeys'
[  1553.111] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1553.111] (**) Dell WMI hotkeys: always reports core events
[  1553.112] (**) Dell WMI hotkeys: Device: "/dev/input/event7"
[  1553.112] (--) Dell WMI hotkeys: Found keys
[  1553.112] (II) Dell WMI hotkeys: Configuring as keyboard
[  1553.112] (**) Option "config_info" "udev:/sys/devices/virtual/input/input7/event7"
[  1553.112] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD)
[  1553.112] (**) Option "xkb_rules" "evdev"
[  1553.112] (**) Option "xkb_model" "pc105"
[  1553.112] (**) Option "xkb_layout" "de,us"
[  1553.112] (**) Option "xkb_options" "lv3:ralt_switch,compose:lwin,grp_led:scroll"
[  1634.501] (II) Dell WMI hotkeys: Close
[  1634.501] (II) UnloadModule: "evdev"
[  1634.501] (II) Unloading evdev
[  1634.501] (II) UnloadModule: "synaptics"
[  1634.501] (II) Unloading synaptics
[  1634.501] (II) AT Translated Set 2 keyboard: Close
[  1634.501] (II) UnloadModule: "evdev"
[  1634.501] (II) Unloading evdev
[  1634.501] (II) Laptop Integrated Webcam: Close
[  1634.501] (II) UnloadModule: "evdev"
[  1634.501] (II) Unloading evdev
[  1634.501] (II) Broadcom Corp: Close
[  1634.501] (II) UnloadModule: "evdev"
[  1634.501] (II) Unloading evdev
[  1634.501] (II) Broadcom Corp: Close
[  1634.501] (II) UnloadModule: "evdev"
[  1634.501] (II) Unloading evdev
[  1634.501] (II) Sleep Button: Close
[  1634.501] (II) UnloadModule: "evdev"
[  1634.501] (II) Unloading evdev
[  1634.501] (II) Power Button: Close
[  1634.501] (II) UnloadModule: "evdev"
[  1634.501] (II) Unloading evdev
[  1634.501] (II) Video Bus: Close
[  1634.501] (II) UnloadModule: "evdev"
[  1634.501] (II) Unloading evdev
Comment 1 Daniel Stone 2012-10-31 01:20:03 UTC
The log just shows your server closing down normally, with no sign of a crash anywhere.  Do you have any other clients running when you do xkbcomp? The default behaviour of the X server when the last client exits is to reset; this is actually part of the spec (unfortunately).  If this is undesirable, you can start the server with -noreset.
Comment 2 s 2012-10-31 07:51:58 UTC
I am sorry, I do not have the system exhibiting this bug anymore. If I remember correctly, at the time the only other clients running were the awesome window manager (that should not quit without being asked to) and an rxvt-unicode (which I did not close either). According to your explanation, it could also be a bug in awesome. I just tried to reproduce the bug (still using awesome, though with some more clients), and now xkbcomp just segfaults:

xkbcomp - $DISPLAY<<EOF
xkb_keymap {
xkb_keycodes  { include "evdev+aliases(qwertz)"};
xkb_symbols   { include "pc+de(nodeadkeys)+inet(evdev)+capslock(escape)"    };
xkb_geometry  { include "pc(pc104)"};
};
EOF

produces:

zsh: segmentation fault  xkbcomp - $DISPLAY <<<''

I use xkbcomp v1.2.4, a not-very-helpful stacktrace follows:

GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/xkbcomp...(no debugging symbols found)...done.
(gdb) run - :0 <args.txt
Starting program: /usr/bin/xkbcomp - :0 <args.txt
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Warning:          Type "ONE_LEVEL" is not defined
                  Using TWO_LEVEL for the <ESC> key (keycode 9)

Program received signal SIGSEGV, Segmentation fault.
0x000000000041a330 in ?? ()
(gdb) backtrace
#0  0x000000000041a330 in ?? ()
#1  0x000000000041d83d in ?? ()
#2  0x00000000004147d2 in ?? ()
#3  0x0000000000403f7a in ?? ()
#4  0x00007ffff74f7725 in __libc_start_main () from /usr/lib/libc.so.6
#5  0x0000000000404459 in ?? ()
#6  0x00007fffffffdd48 in ?? ()
#7  0x0000000000000000 in ?? ()
(gdb)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.