Wacom + GTK + old configuration causes Xorg to segfault with error 4 under Kubuntu Jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wacom-tools (Ubuntu) |
Triaged
|
High
|
Timo Aaltonen |
Bug Description
Binary package hint: xorg
In the latest aptitude full-upgrade I did (running Kubuntu Jaunty) there were a couple of packages that said they were "recommended but would not be installed." -- I more or less shrugged these off, but I forgot to write them down.
After the computer rebooted, a whole mess of things happened: the biggest one is that now, whenever I start any GTK-based app, (tested with GIMP, Firefox, and CellWriter) X segfaults.
Since the bug is trivially reproducable, I've recorded the /var/log/syslog messages on four separate occasions after deliberately triggering this bug. They all have these lines in common:
Xorg[*****]: segfault at d0 ip 0000000000496786 sp 00007fff*******0 error 4 in Xorg[400000+1c3000]
[drm:gm45_
kdm[****]: X server for display :0 terminated unexpectedly
I have also seen these three lines erratically appear; they suggestively implicate Qt 4.5, but it may be that Qt is just noticing the X segfault:
python[17124]: segfault at 30 ip 00007fc440976bb5 sp 00007fff4a0e38f8 error 4 in libQtCore.
ksmserver[17070]: segfault at 8 ip 00007f2045afbe2b sp 00007f203b28f648 error 4 in libQtDBus.
ksmserver[19042]: segfault at 8 ip 00007f4c24ecde2b sp 00007f4c1a661648 error 4 in libQtDBus.
There is also a backtrace recorded in /var/logs/
0: /usr/bin/
1: /usr/bin/
2: /lib/libc.so.6 [0x7f2d63995040]
3: /usr/lib/
4: /usr/bin/
5: /usr/bin/
6: /usr/bin/
7: /usr/bin/
8: /usr/bin/
9: /lib/libc.
10: /usr/bin/X [0x433219]
Saw signal 11. Server aborting.
An upcoming comment will discuss this more in-depth.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: xorg 1:7.4~5ubuntu18
ProcEnviron:
LANGUAGE=
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #41-Ubuntu SMP Wed Apr 8 04:39:23 UTC 2009
SourcePackage: xorg
Uname: Linux 2.6.28-11-generic x86_64
description: | updated |
summary: |
- GTK apps cause Xorg to segfault with error 4 under Kubuntu Jaunty + Wacom + GTK + old configuration causes Xorg to segfault with error 4 + under Kubuntu Jaunty |
I don't see a way to refile this post under a different project, but it probably belongs under xserver-xorg and possibly under xserver- xorg-input- wacom.
I've resolved my personal issue to my own satisfaction, although I'm not sure that xorg should segfault on this particular issue. The key to the puzzle came with a more extensive problem description in apport, which I tried to submit but didn't succeed. In any case, part of the apport response discussed that it was trying to remove the Wacom device. That convinced me that Qt, which I was previously staring very hard at, was not the problem and that I should check on the Wacom settings in my xorg.conf file.
When those were removed, two things happened: (1) GTK programs did indeed start again; (2) my tablet input device still worked, as if by magic. (It didn't before I put those lines there!)
So, to place the bug more narrowly: there were some recent patches in xserver- xorg-input- wacom. I believe that one of these patches automatically configures the tablet device for you -- a process that previously had to be done manually in xorg.conf. If the xorg.conf file specifies a manual configuration, apparently everything goes smooth for most applications, but GTK for some reason tries to remove the device and/or create a new one -- the details aren't clear to me. When the device gets removed and then recreated, Xorg apparently gets confused and segfaults.
I have the feeling that not all of that is right, but in any case: something weird is happening that probably shouldn't be happening, even though the userbase it affects is probably a fringe case.