Bug 677434

Summary: n-trig wacom driver causes crash on startup
Product: [Fedora] Fedora Reporter: John (J5) Palmieri <johnp>
Component: xorg-x11-serverAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: jkeck, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-drv-wacom-0.10.11-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-17 04:51:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
my xorg.log with the crash
none
the output of lsusb
none
my /proc/bus/input/devices none

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.