Xorg crashes on wacom input moule

Bug #718331 reported by Antonio Censi
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xf86-input-wacom (Ubuntu)
Fix Released
High
Chris Halse Rogers
Natty
Fix Released
High
Chris Halse Rogers

Bug Description

On boot X crashes when loading wacom input module

[ 30.333] Build Operating System: Linux 2.6.24-27-server x86_64 Ubuntu
[ 30.333] Current Operating System: Linux RJASTEC-06374 2.6.38-3-generic #30-Ubuntu SMP Thu Feb 10 00:33:26 UTC 2011 x86_64
[ 30.333] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-3-generic root=UUID=cb61a611-af85-4168-aa35-a56c53c163a6 ro acpi_osi=Linux acpi=force
[ 30.333] Build Date: 04 February 2011 07:19:09AM
[ 30.333] xorg-server 2:1.9.99.901+git20110131.be3be758-0ubuntu3 (For technical support please see http://www.ubuntu.com/support)
[ 30.333] Current version of pixman: 0.18.4
......
[ 30.890] (**) Option "config_info" "udev:/sys/devices/virtual/input/input5/event5"
[ 30.890] (II) XINPUT: Adding extended inpu[ 31.023] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[ 31.024] (II) Module wacom: vendor="X.Org Foundation"
[ 31.024] compiled for 1.9.99.901, module version = 0.10.10
[ 31.024] Module class: X.Org XInput Driver
[ 31.024] ABI class: X.Org XInput driver, version 12.1
[ 31.024] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[ 31.024] (**) N-Trig Pen: always reports core events
[ 31.024] (**) Option "Device" "/dev/input/event10"
[ 31.130] (EE) PreInit returned 8 for "N-Trig Pen"
[ 31.130]
Backtrace:
[ 31.130] 0: /usr/bin/X (xorg_backtrace+0x26) [0x4a1586]
[ 31.130] 1: /usr/bin/X (0x400000+0x6078a) [0x46078a]
[ 31.130] 2: /lib/libpthread.so.0 (0x7f5922f38000+0xfc80) [0x7f5922f47c80]
[ 31.130] 3: /usr/lib/xorg/modules/input/wacom_drv.so (0x7f591d47a000+0x8ddf) [0x7f591d482ddf]
[ 31.130] 4: /usr/bin/X (0x400000+0x7ace8) [0x47ace8]
[ 31.130] 5: /usr/bin/X (0x400000+0x83679) [0x483679]
[ 31.131] 6: /usr/bin/X (0x400000+0x83c38) [0x483c38]
[ 31.131] 7: /usr/bin/X (WakeupHandler+0x4b) [0x431a8b]
[ 31.131] 8: /usr/bin/X (WaitForSomething+0x1b6) [0x45ad96]
[ 31.131] 9: /usr/bin/X (0x400000+0x2d7c2) [0x42d7c2]
[ 31.131] 10: /usr/bin/X (0x400000+0x21abe) [0x421abe]
[ 31.131] 11: /lib/libc.so.6 (__libc_start_main+0xfe) [0x7f5921ea1d1e]
[ 31.131] 12: /usr/bin/X (0x400000+0x21669) [0x421669]
[ 31.131] Segmentation fault at address 0x18
[ 31.131]
Caught signal 11 (Segmentation fault). Server aborting
[ 31.131]
Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
[ 31.131] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 31.131] .....
[ 31.190] (II) Power Button: Close
[ 31.531] ddxSigGiveUp: Closing log

System version is Natty Alpha2, upgrade from Alpha1, upgrade from Maverick
Linux RJASTEC-06374 2.6.38-3-generic #30-Ubuntu SMP Thu Feb 10 00:33:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

It is a notebook Hp Touchsmart tx2-2030us, with an NTrig touchscreen.

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor HyperTransport Configuration (rev 40)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
08:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

On Natty Alpha1 it was working ok

org xserver packages:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor HyperTransport Configuration (rev 40)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
08:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

Revision history for this message
Tim W (tw3dev) wrote :

Hi all. I can confirm this on a Dell Latitude XT2 running 64 bit natty. A workaround would be much appreciated.

Revision history for this message
Tim W (tw3dev) wrote :

Actually you can workaround this by disabling the touch-screen with "sudo modprobe -r hid_ntrig".

Jonathan Davies (jpds)
Changed in xf86-input-wacom (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in xf86-input-wacom (Ubuntu Natty):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

could you try to get a full backtrace https://wiki.ubuntu.com/X/Backtracing

Revision history for this message
Marc Nieper-Wißkirchen (marc-nieper-wisskirchen) wrote :

Getting a backtrace didn't work well here. I tried to get one with gdb but what I get includes far less information than the log file of Xorg.

Revision history for this message
Seth Forshee (sforshee) wrote :
Download full text (3.1 KiB)

Here's backtrace I collected by attaching gdb to Xorg running without hid_ntrig loaded and then loading hid_ntrig.

Program received signal SIGSEGV, Segmentation fault.
0x0030bbfa in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
(gdb) backtrace full
#0 0x0030bbfa in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#1 0x080c1bda in xf86NewInputDevice (pInfo=0x9d07ae8, pdev=0xbfcc0fc4,
    enable=1 '\001') at ../../../../hw/xfree86/common/xf86Xinput.c:846
        drv = 0x9d22478
        dev = <value optimized out>
        rval = 8
#2 0x080ca7d9 in device_added (udev_device=<value optimized out>)
    at ../../config/udev.c:194
        path = 0x9d92a08 "/dev/input/event10"
        name = 0x9cc4650 "N-Trig Pen"
        config_info = 0x9d07a60 "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.1/input/input46/event10"
        syspath = 0x81e58bf "xkb"
        tags_prop = <value optimized out>
        key = <value optimized out>
        value = <value optimized out>
        tmp = <value optimized out>
        options = 0x9da47b8
        tmpo = <value optimized out>
        attrs = {product = 0x9cc4660 "N-Trig Pen",
          vendor = 0x9d07ab8 "N-trig",
          device = 0x9d8d438 "/dev/input/event10", pnp_id = 0x0,
          usb_id = 0x9d8d400 "1b96:0001", tags = 0x0, flags = 0}
        dev = 0x0
        set = <value optimized out>
        entry = <value optimized out>
        parent = <value optimized out>
#3 0x080caec2 in wakeup_handler (data=0x0, err=3, read_mask=0x8208320)
    at ../../config/udev.c:255
        udev_fd = <value optimized out>
        udev_device = <value optimized out>
        action = <value optimized out>
#4 0x08073d62 in WakeupHandler (result=3, pReadmask=0x8208320)
    at ../../dix/dixutils.c:419
        i = 3
        j = <value optimized out>
#5 0x080a015a in WaitForSomething (pClientsReady=0x9c41c58)
    at ../../os/WaitFor.c:235
        i = <value optimized out>
        waittime = {tv_sec = 0, tv_usec = 165980}
        wt = 0xbfcc12d4
        timeout = <value optimized out>
        clientsReadable = {fds_bits = {0 <repeats 32 times>}}
        clientsWritable = {fds_bits = {162798544, 162600968, 135302580,
            -1074004001, -268443654, 134629211, 6345857, 162798544,
            -1077144872, -1077144952, 136269812, 48, 163856424, -1077145048,
            134911582, 24, -1077144952, 1, 134694270, 136339532, 136269812,
            -1077145016, 134921791, 163856424, -1077144952, 1, 134895583,
            164272528, 15070467, -1077144904, 134894086, 163856424}}
        selecterr = 0
        nready = 0
        devicesReadable = {fds_bits = {0 <repeats 32 times>}}
        now = <value optimized out>
        someReady = <value optimized out>
#6 0x0806f68e in Dispatch () at ../../dix/dispatch.c:367
        clientReady = 0x9c41c58
        result = <value optimized out>
        client = <value optimized out>
        nready = <value optimized out>
        icheck = 0x8207818
        start_tick = <value optimized out>
#7 0x0806284c in main (argc=8, argv=0xbfcc1464, envp=0xbfcc1488)
    at ../../dix/main.c:287
        i = <value optimized out>
        alwaysCheckFo...

Read more...

Revision history for this message
Chris Halse Rogers (raof) wrote :

I don't suppose you could do the same, but with xserver-xorg-input-wacom-dbgsym installed? (see https://wiki.ubuntu.com/DebuggingProgramCrash) The top of that stack trace is tantalisingly without symbols!

Martin Pitt (pitti)
Changed in xf86-input-wacom (Ubuntu Natty):
assignee: Canonical Desktop Team (canonical-desktop-team) → Chris Halse Rogers (raof)
status: Confirmed → Incomplete
Revision history for this message
Jonathan Davies (jpds) wrote :
Revision history for this message
Jonathan Davies (jpds) wrote :

Attached above is a backtrace with xserver-xorg-input-wacom-dbgsym installed.

Changed in xf86-input-wacom (Ubuntu Natty):
status: Incomplete → Confirmed
Revision history for this message
Chris Halse Rogers (raof) wrote :

Ah, thanks. I can see why and where it's crashing now. There's a new upstream version available, so I'll look at whether it's fixed there already.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xf86-input-wacom - 1:0.10.11-0ubuntu1

---------------
xf86-input-wacom (1:0.10.11-0ubuntu1) natty; urgency=low

  * New upstream release
    + Fix PreInit failure cleanup path to prevent SIGSEGV (LP: #718331)
 -- Christopher James Halse Rogers <email address hidden> Tue, 22 Feb 2011 11:32:47 +1100

Changed in xf86-input-wacom (Ubuntu Natty):
status: Confirmed → Fix Released
Revision history for this message
Jonathan Davies (jpds) wrote :

I can confirm that the updated package fixes this issue for me on a Dell Latitutde XT2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.