Bug 677434 - n-trig wacom driver causes crash on startup
Summary: n-trig wacom driver causes crash on startup
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-14 19:16 UTC by John (J5) Palmieri
Modified: 2018-04-11 10:14 UTC (History)
3 users (show)

Fixed In Version: xorg-x11-drv-wacom-0.10.11-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-17 04:51:06 UTC
Type: ---


Attachments (Terms of Use)
my xorg.log with the crash (23.10 KB, text/plain)
2011-02-14 19:19 UTC, John (J5) Palmieri
no flags Details
the output of lsusb (43.43 KB, text/plain)
2011-02-14 19:22 UTC, John (J5) Palmieri
no flags Details
my /proc/bus/input/devices (5.28 KB, text/plain)
2011-02-14 21:28 UTC, John (J5) Palmieri
no flags Details

Description John (J5) Palmieri 2011-02-14 19:16:28 UTC
Description of problem:
/usr/share/X11/xorg.conf.d/50-wacom.conf contains a section for the n-trig pen driver:

N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
	Identifier "Wacom N-Trig class"
	MatchProduct "HID 1b96:0001|N-Trig Pen"
	MatchDevicePath "/dev/input/event*"
	Driver "wacom"
	Option "Button2" "3"
EndSection

This crashes my X on startup unless I comment it out.

How reproducible:

Every time I run startx or boot into runlevel 5

Steps to Reproduce:
1. run startx
  
Actual results:

Crash

Expected results:

X starts up

Additional info:

I have an N-Trig Duosense touchscreen which can be used in both multitouch input and pen input modes (the hardware should support both at the same time).

Adding this to /etc/X11/xorg.conf.d enables multitouch (the crash happens with this removed so it isn't a conflict):

Section "InputClass"
	Identifier "N-Trig Multitouch"
	MatchProduct "N-Trig MultiTouch"
	MatchDevicePath "/dev/input/event*"
	Driver "evdev"
	Option "NumberTouchPoints" "4"
EndSection

Comment 1 John (J5) Palmieri 2011-02-14 19:19:04 UTC
Created attachment 478688 [details]
my xorg.log with the crash

Note that my custom evdev input driver section was removed during this run

Comment 2 John (J5) Palmieri 2011-02-14 19:22:26 UTC
Created attachment 478690 [details]
the output of lsusb

Comment 3 Matěj Cepl 2011-02-14 21:18:16 UTC
Backtrace:
[   120.319] 0: /usr/bin/X (xorg_backtrace+0x34) [0x4a0fb4]
[   120.319] 1: /usr/bin/X (0x400000+0x612f7) [0x4612f7]
[   120.319] 2: /lib64/libc.so.6 (0x39c3c00000+0x36300) [0x39c3c36300]
[   120.319] 3: /usr/lib64/xorg/modules/input/wacom_drv.so (0x7fa5f36a2000+0x8e4f) [0x7fa5f36aae4f]
[   120.319] 4: /usr/bin/X (0x400000+0x7c423) [0x47c423]
[   120.319] 5: /usr/bin/X (0x400000+0x11b3b1) [0x51b3b1]
[   120.319] 6: /usr/bin/X (0x400000+0x11b92e) [0x51b92e]
[   120.319] 7: /usr/bin/X (config_init+0x9) [0x51ac89]
[   120.319] 8: /usr/bin/X (InitInput+0xa5) [0x46f705]
[   120.320] 9: /usr/bin/X (0x400000+0x21193) [0x421193]
[   120.320] 10: /lib64/libc.so.6 (__libc_start_main+0xed) [0x39c3c212fd]
[   120.320] 11: /usr/bin/X (0x400000+0x20d69) [0x420d69]
[   120.320] Segmentation fault at address 0x18
[   120.320] 
Fatal server error:
[   120.320] Caught signal 11 (Segmentation fault). Server aborting

Comment 4 John (J5) Palmieri 2011-02-14 21:28:06 UTC
Created attachment 478716 [details]
my /proc/bus/input/devices

Comment 5 John (J5) Palmieri 2011-02-14 21:32:52 UTC
Output from evtest /dev/input/event10

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x1b96 product 0x1 version 0x110
Input device name: "N-Trig Pen"
Supported events:
  Event type 0 (Sync)
Testing ... (interrupt to exit)

Comment 6 Peter Hutterer 2011-02-15 04:13:30 UTC
This is fixed in upstream wacom 0.10.11 which is scheduled for release tomorrow or so. Stay tuned

Comment 7 Peter Hutterer 2011-02-17 04:51:06 UTC
pushed 0.10.11 to rawhide, should be fixed now.


Note You need to log in before you can comment on or make changes to this bug.