Bug#454568: [Linuxwacom-discuss] Bug#454568: xserver-xorg-input-wacom + ksmserver = X crash

2007-12-07 Thread Brendon Higgins
Thank you. I didn't expect that to work (seeing how simple kcminputrc is), but 
it did! Add another one to the tally.

This result is kinda perplexing, though. My first suspicion was that perhaps 
something adjusting the mouse parameters was the culprit, so I removed the 
[Mouse] section and tried that. Even with only the [Keyboard] section in the 
file the problem persists. It seems only when the entire file is gone I can 
login without hiccup.

So this is a workaround. Not perfect since I can't set startup numlock status 
or mouse acceleration threshold, but these aren't too important.

Peace,
Brendon

Dirk Bierfeld wrote (Fri, 7 Dec 2007):
> A friend of mine had the same problem that KDE causes an X crash. He
> figured out that when removing ~//.kde/share/config/kcminputrc KDE
> will start without any problem. Perhaps that will hepl. I either havn't
> Xorg 7.3 nor KDE so I can't proof it, but it worked for someone else too
> at least.
>
> Dirk
>
> Ron schrieb:
> > This one I'm a bit less sure about...  unless it's another manifestation
> > of the double unmapping bug (also in XServer and known upstream), you'll
> > probably have to talk this one through on the linux-wacom list.
> > I've forwarded it there for comment.
> >
> > Cheers,
> > Ron
> >
> > On Thu, Dec 06, 2007 at 07:48:01PM +1000, Brendon Higgins wrote:
> >> Package: xserver-xorg-input-wacom
> >> Version: 0.7.9.3-2
> >> Severity: normal
> >>
> >>
> >> (Wasn't sure whether to report here or to KDE devs. Here goes...)
> >>
> >> I've got a weird problem. If I have the wacom drivers enabled in
> >> Xorg.conf and login to KDE (4:3.5.8.dfsg.1-3) as normal the X server
> >> will crash near the end of the KDE splashscreen, and I'm sent back to
> >> the KDM login screen. This doesn't happen when I disable the wacom
> >> drivers in ServerLayout.
> >>
> >> What's weirder is that X does *not* crash if I switch to a console VT
> >> while KDE is booting, then switch back not long after booting has
> >> finished. Then everything seems fine. But if I leave the screen in X
> >> while KDE boots, crash happens.
> >>
> >> By going through the steps in startkde manually I've narrowed it down to
> >> some point inside the call to ksmserver. Something ksmserver starts
> >> seems to puke with the wacom driver for some reason. I'm not sure how
> >> to go about narrowing it down further than that, though I want to.
> >> Advice on an approach to take would be appreciated.
> >>
> >> Xorg.0.log that ends in such a crash is attached, but it doesn't appear
> >> to be very informative.
> >>
> >>
> >> -- System Information:
> >> Debian Release: lenny/sid
> >>   APT prefers testing
> >>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> >> Architecture: amd64 (x86_64)
> >>
> >> Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
> >> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> >> Shell: /bin/sh linked to /bin/bash
> >>
> >> Versions of packages xserver-xorg-input-wacom depends on:
> >> ii  xserver-xorg-core  2:1.4.1~git20071119-1 Xorg X server - core server
> >>
> >> xserver-xorg-input-wacom recommends no packages.
> >>
> >> -- no debconf information
> >>
> >>
> >>
> >> X.Org X Server 1.4.0
> >> Release Date: 5 September 2007
> >> X Protocol Version 11, Revision 0
> >> Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1)
> >> Current Operating System: Linux phi 2.6.22-3-amd64 #1 SMP Sun Nov 4
> >> 18:18:09 UTC 2007 x86_64 Build Date: 20 November 2007  02:55:16AM
> >>
> >>Before reporting problems, check http://wiki.x.org
> >>to make sure that you have the latest version.
> >> Module Loader present
> >> Markers: (--) probed, (**) from config file, (==) default setting,
> >>(++) from command line, (!!) notice, (II) informational,
> >>(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> >> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  6 18:30:59 2007
> >> (==) Using config file: "/etc/X11/xorg.conf"
> >> (==) ServerLayout "Default Layout"
> >> (**) |-->Screen "Default Screen" (0)
> >> (**) |   |-->Monitor "BenQ"
> >> (**) |   |-->Device "nVidia 8600GT"
> >> (**) |-->Input Device "Generic Keyboard"
> >> (**) |-->Input Device "Configured Mouse"
> >> (**) |-->Input Device "stylus"
> >> (**) |-->Input Device "eraser"
> >> (**) |-->Input Device "cursor"
> >> (**) |-->Input Device "pad"
> >> (==) Automatically adding devices
> >> (==) Automatically enabling devices
> >> (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
> >>Entry deleted from font path.
> >> (==) FontPath set to:
> >>/usr/share/fonts/X11/misc,
> >>/usr/share/fonts/X11/100dpi/:unscaled,
> >>/usr/share/fonts/X11/75dpi/:unscaled,
> >>/usr/share/fonts/X11/Type1,
> >>/usr/share/fonts/X11/100dpi,
> >>/usr/share/fonts/X11/75dpi,
> >>/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
> >> (==) RgbPath set to "/etc/X11/rgb"
> >> (==) ModulePath set to "/usr/lib/xorg/modules"
> >> (II) Open 

Bug#454568: [Linuxwacom-discuss] Bug#454568: xserver-xorg-input-wacom + ksmserver = X crash

2007-12-06 Thread Magnus Vigerlöf
On torsdag 06 december 2007, Ron wrote:
> This one I'm a bit less sure about...  unless it's another manifestation
> of the double unmapping bug (also in XServer and known upstream), you'll
> probably have to talk this one through on the linux-wacom list.
> I've forwarded it there for comment.

If I read the xserver code correctly, there is a potential null-pointer de-ref 
that could cause this. Is this what you're thinking of Ron?

In XkbIndicatorsToUpdate (./xkb/xkbLEDs.c:56) the call to XkbFindSrvLedInfo 
can potentially return NULL, which is not an uncommon cause for a SEGV.

> Cheers,
> Ron

Cheers
  Magnus

> On Thu, Dec 06, 2007 at 07:48:01PM +1000, Brendon Higgins wrote:
> > Package: xserver-xorg-input-wacom
> > Version: 0.7.9.3-2
> > Severity: normal
> >
> >
> > (Wasn't sure whether to report here or to KDE devs. Here goes...)
> >
> > I've got a weird problem. If I have the wacom drivers enabled in
> > Xorg.conf and login to KDE (4:3.5.8.dfsg.1-3) as normal the X server
> > will crash near the end of the KDE splashscreen, and I'm sent back to
> > the KDM login screen. This doesn't happen when I disable the wacom
> > drivers in ServerLayout.
> >
> > What's weirder is that X does *not* crash if I switch to a console VT
> > while KDE is booting, then switch back not long after booting has
> > finished. Then everything seems fine. But if I leave the screen in X
> > while KDE boots, crash happens.
> >
> > By going through the steps in startkde manually I've narrowed it down to
> > some point inside the call to ksmserver. Something ksmserver starts
> > seems to puke with the wacom driver for some reason. I'm not sure how
> > to go about narrowing it down further than that, though I want to.
> > Advice on an approach to take would be appreciated.
> >
> > Xorg.0.log that ends in such a crash is attached, but it doesn't appear
> > to be very informative.
> >
> >
> > -- System Information:
> > Debian Release: lenny/sid
> >   APT prefers testing
> >   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> > Architecture: amd64 (x86_64)
> >
> > Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
> > Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/bash
> >
> > Versions of packages xserver-xorg-input-wacom depends on:
> > ii  xserver-xorg-core  2:1.4.1~git20071119-1 Xorg X server - core server
> >
> > xserver-xorg-input-wacom recommends no packages.
> >
> > -- no debconf information
> >
> >
> > X.Org X Server 1.4.0
> > Release Date: 5 September 2007
> > X Protocol Version 11, Revision 0
> > Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1)
> > Current Operating System: Linux phi 2.6.22-3-amd64 #1 SMP Sun Nov 4
> > 18:18:09 UTC 2007 x86_64 Build Date: 20 November 2007  02:55:16AM
> >
> > Before reporting problems, check http://wiki.x.org
> > to make sure that you have the latest version.
> > Module Loader present
> > Markers: (--) probed, (**) from config file, (==) default setting,
> > (++) from command line, (!!) notice, (II) informational,
> > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  6 18:30:59 2007
> > (==) Using config file: "/etc/X11/xorg.conf"
[...]
> > pad Wacom X driver grabbed event device
> > (==) Wacom USB Graphire4 tablet speed=9600 maxX=10208 maxY=7424 maxZ=511
> > resX=2032 resY=2032  tilt=enabled (==) Wacom device "pad" top X=0 top Y=0
> > bottom X=10208 bottom Y=6380 (==) Wacom device "cursor" top X=0 top Y=0
> > bottom X=10208 bottom Y=6380 (==) Wacom device "eraser" top X=0 top Y=0
> > bottom X=10208 bottom Y=6380 (==) Wacom device "stylus" top X=0 top Y=0
> > bottom X=10208 bottom Y=6380 (II) Configured Mouse:
> > ps2EnableDataReporting: succeeded
> >
> > Backtrace:
> > 0: /usr/bin/X(xf86SigHandler+0x6a) [0x47554a]
> > 1: /lib/libc.so.6 [0x2af088c89040]
> > 2: /usr/bin/X(XkbIndicatorsToUpdate+0x26) [0x5458b6]
> > 3: /usr/bin/X(ProcXkbLatchLockState+0x25d) [0x53bf8d]
> > 4: /usr/bin/X(Dispatch+0x2e2) [0x44e3d2]
> > 5: /usr/bin/X(main+0x47c) [0x436bcc]
> > 6: /lib/libc.so.6(__libc_start_main+0xf4) [0x2af088c751c4]
> > 7: /usr/bin/X(FontFileCompleteXLFD+0x261) [0x435f09]
> >
> > Fatal server error:
> > Caught signal 11.  Server aborting




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#454568: xserver-xorg-input-wacom + ksmserver = X crash

2007-12-06 Thread Ron

This one I'm a bit less sure about...  unless it's another manifestation
of the double unmapping bug (also in XServer and known upstream), you'll
probably have to talk this one through on the linux-wacom list.
I've forwarded it there for comment.

Cheers,
Ron

On Thu, Dec 06, 2007 at 07:48:01PM +1000, Brendon Higgins wrote:
> Package: xserver-xorg-input-wacom
> Version: 0.7.9.3-2
> Severity: normal
> 
> 
> (Wasn't sure whether to report here or to KDE devs. Here goes...)
> 
> I've got a weird problem. If I have the wacom drivers enabled in
> Xorg.conf and login to KDE (4:3.5.8.dfsg.1-3) as normal the X server
> will crash near the end of the KDE splashscreen, and I'm sent back to
> the KDM login screen. This doesn't happen when I disable the wacom
> drivers in ServerLayout.
> 
> What's weirder is that X does *not* crash if I switch to a console VT 
> while KDE is booting, then switch back not long after booting has 
> finished. Then everything seems fine. But if I leave the screen in X 
> while KDE boots, crash happens.
> 
> By going through the steps in startkde manually I've narrowed it down to 
> some point inside the call to ksmserver. Something ksmserver starts 
> seems to puke with the wacom driver for some reason. I'm not sure how 
> to go about narrowing it down further than that, though I want to. 
> Advice on an approach to take would be appreciated.
> 
> Xorg.0.log that ends in such a crash is attached, but it doesn't appear 
> to be very informative.
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages xserver-xorg-input-wacom depends on:
> ii  xserver-xorg-core  2:1.4.1~git20071119-1 Xorg X server - core server
> 
> xserver-xorg-input-wacom recommends no packages.
> 
> -- no debconf information

> 
> X.Org X Server 1.4.0
> Release Date: 5 September 2007
> X Protocol Version 11, Revision 0
> Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1)
> Current Operating System: Linux phi 2.6.22-3-amd64 #1 SMP Sun Nov 4 18:18:09 
> UTC 2007 x86_64
> Build Date: 20 November 2007  02:55:16AM
>  
>   Before reporting problems, check http://wiki.x.org
>   to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>   (++) from command line, (!!) notice, (II) informational,
>   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  6 18:30:59 2007
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) ServerLayout "Default Layout"
> (**) |-->Screen "Default Screen" (0)
> (**) |   |-->Monitor "BenQ"
> (**) |   |-->Device "nVidia 8600GT"
> (**) |-->Input Device "Generic Keyboard"
> (**) |-->Input Device "Configured Mouse"
> (**) |-->Input Device "stylus"
> (**) |-->Input Device "eraser"
> (**) |-->Input Device "cursor"
> (**) |-->Input Device "pad"
> (==) Automatically adding devices
> (==) Automatically enabling devices
> (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
>   Entry deleted from font path.
> (==) FontPath set to:
>   /usr/share/fonts/X11/misc,
>   /usr/share/fonts/X11/100dpi/:unscaled,
>   /usr/share/fonts/X11/75dpi/:unscaled,
>   /usr/share/fonts/X11/Type1,
>   /usr/share/fonts/X11/100dpi,
>   /usr/share/fonts/X11/75dpi,
>   /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
> (==) RgbPath set to "/etc/X11/rgb"
> (==) ModulePath set to "/usr/lib/xorg/modules"
> (II) Open ACPI successful (/var/run/acpid.socket)
> (II) Loader magic: 0x7b2660
> (II) Module ABI versions:
>   X.Org ANSI C Emulation: 0.3
>   X.Org Video Driver: 2.0
>   X.Org XInput driver : 2.0
>   X.Org Server Extension : 0.3
>   X.Org Font Renderer : 0.5
> (II) Loader running on linux
> (II) LoadModule: "pcidata"
> (II) Loading /usr/lib/xorg/modules//libpcidata.so
> (II) Module pcidata: vendor="X.Org Foundation"
>   compiled for 1.4.0, module version = 1.0.0
>   ABI class: X.Org Video Driver, version 2.0
> (++) using VT number 7
> 
> (II) PCI: PCI scan (all values are in hex)
> (II) PCI: 00:00:0: chip 10de,0369 card 1043,8239 rev a1 class 05,00,00 hdr 00
> (II) PCI: 00:01:0: chip 10de,0360 card 1043,8239 rev a2 class 06,01,00 hdr 80
> (II) PCI: 00:01:1: chip 10de,0368 card 1043,8239 rev a2 class 0c,05,00 hdr 80
> (II) PCI: 00:01:2: chip 10de,036a card 1043,8239 rev a2 class 05,00,00 hdr 80
> (II) PCI: 00:02:0: chip 10de,036c card 1043,8239 rev a1 class 0c,03,10 hdr 80
> (II) PCI: 00:02:1: chip 10de,036d card 1043,8239 rev a2 class 0c,03,20 hdr 80
> (II) PCI: 00:04:0: chip 10de,036e card 1043,8239 rev a1 class 01,01,8a hdr 00
> (II) PCI: 00:05:0: chip 10de,037f card 1043,

Bug#454568: xserver-xorg-input-wacom + ksmserver = X crash

2007-12-06 Thread Brendon Higgins
Package: xserver-xorg-input-wacom
Version: 0.7.9.3-2
Severity: normal


(Wasn't sure whether to report here or to KDE devs. Here goes...)

I've got a weird problem. If I have the wacom drivers enabled in
Xorg.conf and login to KDE (4:3.5.8.dfsg.1-3) as normal the X server
will crash near the end of the KDE splashscreen, and I'm sent back to
the KDM login screen. This doesn't happen when I disable the wacom
drivers in ServerLayout.

What's weirder is that X does *not* crash if I switch to a console VT 
while KDE is booting, then switch back not long after booting has 
finished. Then everything seems fine. But if I leave the screen in X 
while KDE boots, crash happens.

By going through the steps in startkde manually I've narrowed it down to 
some point inside the call to ksmserver. Something ksmserver starts 
seems to puke with the wacom driver for some reason. I'm not sure how 
to go about narrowing it down further than that, though I want to. 
Advice on an approach to take would be appreciated.

Xorg.0.log that ends in such a crash is attached, but it doesn't appear 
to be very informative.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-input-wacom depends on:
ii  xserver-xorg-core  2:1.4.1~git20071119-1 Xorg X server - core server

xserver-xorg-input-wacom recommends no packages.

-- no debconf information

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1)
Current Operating System: Linux phi 2.6.22-3-amd64 #1 SMP Sun Nov 4 18:18:09 
UTC 2007 x86_64
Build Date: 20 November 2007  02:55:16AM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  6 18:30:59 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "BenQ"
(**) |   |-->Device "nVidia 8600GT"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "stylus"
(**) |-->Input Device "eraser"
(**) |-->Input Device "cursor"
(**) |-->Input Device "pad"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x7b2660
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 1.4.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,0369 card 1043,8239 rev a1 class 05,00,00 hdr 00
(II) PCI: 00:01:0: chip 10de,0360 card 1043,8239 rev a2 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 10de,0368 card 1043,8239 rev a2 class 0c,05,00 hdr 80
(II) PCI: 00:01:2: chip 10de,036a card 1043,8239 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:02:0: chip 10de,036c card 1043,8239 rev a1 class 0c,03,10 hdr 80
(II) PCI: 00:02:1: chip 10de,036d card 1043,8239 rev a2 class 0c,03,20 hdr 80
(II) PCI: 00:04:0: chip 10de,036e card 1043,8239 rev a1 class 01,01,8a hdr 00
(II) PCI: 00:05:0: chip 10de,037f card 1043,8239 rev a2 class 01,01,85 hdr 80
(II) PCI: 00:05:1: chip 10de,037f card 1043,8239 rev a2 class 01,01,85 hdr 80
(II) PCI: 00:05:2: chip 10de,037f card 1043,8239 rev a2 class 01,01,85 hdr 80
(II) PCI: 00:06:0: chip 10de,0370 card , rev a2 class 06,04,01 hdr 81
(II) PCI: 00:06:1: chip 10de,0371 card 1043,81f6 rev a2 class 04,03,00 hdr 80
(II) PCI: 00:08:0: chip 10de,0373 card 1043,8239 rev a2 class 06,80,00 hdr 00
(II) PCI: 00:09:0: chip 10de,0373 card 1043,8239 rev a2 class 06,80,00 hdr 00
(II) PCI