Re: Fedora 10, Belkin KVM, USB Mouse/Keyboard, NVIDIA Card, OpenOffice

2009-02-11 Thread Daniel Stone
On Wed, Feb 11, 2009 at 10:51:25AM -0500, Kevin Johnson wrote:
> Thanks -- I did just that (after a few trial and errors) and was able to get
> it to crash:
> 
> Received signal SIGSEGV, Segmentation fault.
> XkbStringText (str=0x21 , format=2) at
> xkbtext.c:526
> 526for (ok= True,len=0,in=str;*in!='\0';in++,len++) {
> (gdb)
> Continuing.
> 
> Program received signal SIGABRT, Aborted.
> 0x0033dac32f05 in raise (sig=) at
> ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> [...]
> #6  
> #7  XkbStringText (str=0x21 , format=2) at
> xkbtext.c:526
> #8  0x0055879a in XkbWriteXKBGeometry (file=0x7fd5f046c8c0,
> xkb=0x1580e90, topLevel=0,
> showImplicit=0, addOn=0x557fe0 <_AddIncl>, priv=0x7fd5f0d90820) at
> xkbout.c:831
> [...]

Oops, the geom colour name copying code is very, very broken: it needs
to do a deep copy instead of just taking the address (!) of the source.
Please file a bug and assign it to me.

Cheers,
Daniel


signature.asc
Description: Digital signature
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Fedora 10, Belkin KVM, USB Mouse/Keyboard, NVIDIA Card, OpenOffice

2009-02-11 Thread Kevin Johnson
Thanks -- I did just that (after a few trial and errors) and was able to get
it to crash:

Received signal SIGSEGV, Segmentation fault.
XkbStringText (str=0x21 , format=2) at
xkbtext.c:526
526for (ok= True,len=0,in=str;*in!='\0';in++,len++) {
(gdb)
Continuing.

Program received signal SIGABRT, Aborted.
0x0033dac32f05 in raise (sig=) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Missing separate debuginfos, use: debuginfo-install libgcc-4.3.2-7.x86_64
(gdb) bt
#0  0x0033dac32f05 in raise (sig=) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x0033dac34a73 in abort () at abort.c:88
#2  0x004613f9 in ddxGiveUp () at xf86Init.c:1483
#3  0x004f208d in AbortServer () at log.c:407
#4  0x004f2755 in FatalError (f=0x56f4f0 "Caught signal %d.  Server
aborting\n") at log.c:553
#5  0x0047a689 in xf86SigHandler (signo=11) at xf86Events.c:593
#6  
#7  XkbStringText (str=0x21 , format=2) at
xkbtext.c:526
#8  0x0055879a in XkbWriteXKBGeometry (file=0x7fd5f046c8c0,
xkb=0x1580e90, topLevel=0,
showImplicit=0, addOn=0x557fe0 <_AddIncl>, priv=0x7fd5f0d90820) at
xkbout.c:831
#9  0x00557d1b in XkbWriteXKBKeymapForNames (file=0x7fd5f046c8c0,
names=0x7fa6cde0,
xkb=0x1580e90, want=, need=63) at xkbfmisc.c:346
#10 0x00561cba in XkbDDXCompileKeymapByNames () at ddxLoad.c:259
#11 XkbDDXLoadKeymapByNames (keybd=,
names=0x7fa6cde0, want=127, need=63,
xkbRtrn=0x7fa6cee8, nameRtrn=0x7fa6cf00 "", nameRtrnLen=4096) at
ddxLoad.c:357
#12 0x0053fb2b in ProcXkbGetKbdByName (client=0x7fd5f0f2d190) at
xkb.c:5642
#13 0x004468d4 in Dispatch () at dispatch.c:454
#14 0x0042cd1d in main (argc=9, argv=0x7fa6e0d8, envp=) at main.c:441


On Tue, Feb 10, 2009 at 6:53 PM, Dan Nicholson  wrote:

> On Tue, Feb 10, 2009 at 10:04 AM, Kevin Johnson  wrote:
> > Hello,
> >
> > Here is the setup. I am running two different desktop computers, each
> with
> > their own monitor, but with only one keyboard / mouse. I am using a
> Belkin
> > KVM switch to control the keyboard / mouse function between the two. The
> > switch has USB inputs and USB outputs.
> >
> > I am running Fedora10 (F1)0) on each desktop computer. Each has a
> different
> > NVIDIA Quadro card installed, and I am running NVIDIA drivers (different
> > version of each because the one card is not supported anymore).
> >
> > Everything works fine, until I launch OpenOffice on either computer. At
> that
> > point, when I use the KVM to switch mouse / keyboard to the other desktop
> X
> > will crash. I have not been able to reproduce this with anything other
> than
> > the OpenOffice suite of applications.
> >
> > It has something to do with the evdev module here is the backtrace in
> > the Xorg.0.log
> >
> > (EE) Belkin Corporation Flip CC: Read error: No such device
> > (II) config/hal: removing device Belkin Corporation Flip CC
> > (II) Belkin Corporation Flip CC: Close
> > (II) UnloadModule: "evdev"
> > (EE) Dell Dell USB Keyboard: Read error: No such device
> > (II) config/hal: removing device Dell Dell USB Keyboard
> > (II) Dell Dell USB Keyboard: Close
> > (II) UnloadModule: "evdev"
> > (II) config/hal: Adding input device Belkin Corporation Flip KVM
> > (**) Belkin Corporation Flip KVM: always reports core events
> > (**) Belkin Corporation Flip KVM: Device: "/dev/input/event3"
> > (II) Belkin Corporation Flip KVM: Found 5 mouse buttons
> > (II) Belkin Corporation Flip KVM: Found x and y relative axes
> > (II) Belkin Corporation Flip KVM: Configuring as mouse
> > (**) Belkin Corporation Flip KVM: YAxisMapping: buttons 4 and 5
> > (**) Belkin Corporation Flip KVM: EmulateWheelButton: 4,
> > EmulateWheelInertia: 10, EmulateWheelTimeout: 200
> > (II) XINPUT: Adding extended input device "Belkin Corporation Flip KVM"
> > (type: MOUSE)
> > (II) config/hal: Adding input device Belkin Corporation Flip KVM
> > (**) Belkin Corporation Flip KVM: always reports core events
> > (**) Belkin Corporation Flip KVM: Device: "/dev/input/event7"
> > (II) Belkin Corporation Flip KVM: Found keys
> > (II) Belkin Corporation Flip KVM: Configuring as keyboard
> > (II) XINPUT: Adding extended input device "Belkin Corporation Flip KVM"
> > (type: KEYBOARD)
> > (**) Option "xkb_rules" "evdev"
> > (**) Belkin Corporation Flip KVM: xkb_rules: "evdev"
> > (**) Option "xkb_model" "pc105+inet"
> > (**) Belkin Corporation Flip KVM: xkb_model: "pc105+inet"
> > (**) Option "xkb_layout" "us"
> > (**) Belkin Corporation Flip KVM: xkb_layout: "us"
> >
> > Backtrace:
> > 0: /usr/bin/Xorg(xorg_backtrace+0x26) [0x4e7a26]
> > 1: /usr/bin/Xorg(xf86SigHandler+0x39) [0x47a679]
> > 2: /lib64/libc.so.6 [0x33dac32f90]
> > 3: /usr/bin/Xorg(XkbStringText+0x1c) [0x56711c]
> > 4: /usr/bin/Xorg(XkbWriteXKBGeometry+0x191) [0x5587d1]
> > 5: /usr/bin/Xorg(XkbWriteXKBKeymapForNames+0x5bb) [0x557d1b]
> > 6: /usr/bin/Xorg(XkbDDXLoadKeymapByNames+0x18a) [0x561

Re: Fedora 10, Belkin KVM, USB Mouse/Keyboard, NVIDIA Card, OpenOffice

2009-02-10 Thread Peter Hutterer
On Tue, Feb 10, 2009 at 01:04:06PM -0500, Kevin Johnson wrote:
> Here is the setup. I am running two different desktop computers, each with
> their own monitor, but with only one keyboard / mouse. I am using a Belkin
> KVM switch to control the keyboard / mouse function between the two. The
> switch has USB inputs and USB outputs.
> 
> I am running Fedora10 (F1)0) on each desktop computer. Each has a different
> NVIDIA Quadro card installed, and I am running NVIDIA drivers (different
> version of each because the one card is not supported anymore).
> 
> Everything works fine, until I launch OpenOffice on either computer. At that
> point, when I use the KVM to switch mouse / keyboard to the other desktop X
> will crash. I have not been able to reproduce this with anything other than
> the OpenOffice suite of applications.
> 
> It has something to do with the evdev module here is the backtrace in
> the Xorg.0.log


The matching bug in the Red Hat bugzilla is
https://bugzilla.redhat.com/show_bug.cgi?id=469572

It's caused by (I think) a dangling pointer in the xkb geometry code, but I
have not been able to reproduce and/or track it down yet.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Fedora 10, Belkin KVM, USB Mouse/Keyboard, NVIDIA Card, OpenOffice

2009-02-10 Thread Dan Nicholson
On Tue, Feb 10, 2009 at 10:04 AM, Kevin Johnson  wrote:
> Hello,
>
> Here is the setup. I am running two different desktop computers, each with
> their own monitor, but with only one keyboard / mouse. I am using a Belkin
> KVM switch to control the keyboard / mouse function between the two. The
> switch has USB inputs and USB outputs.
>
> I am running Fedora10 (F1)0) on each desktop computer. Each has a different
> NVIDIA Quadro card installed, and I am running NVIDIA drivers (different
> version of each because the one card is not supported anymore).
>
> Everything works fine, until I launch OpenOffice on either computer. At that
> point, when I use the KVM to switch mouse / keyboard to the other desktop X
> will crash. I have not been able to reproduce this with anything other than
> the OpenOffice suite of applications.
>
> It has something to do with the evdev module here is the backtrace in
> the Xorg.0.log
>
> (EE) Belkin Corporation Flip CC: Read error: No such device
> (II) config/hal: removing device Belkin Corporation Flip CC
> (II) Belkin Corporation Flip CC: Close
> (II) UnloadModule: "evdev"
> (EE) Dell Dell USB Keyboard: Read error: No such device
> (II) config/hal: removing device Dell Dell USB Keyboard
> (II) Dell Dell USB Keyboard: Close
> (II) UnloadModule: "evdev"
> (II) config/hal: Adding input device Belkin Corporation Flip KVM
> (**) Belkin Corporation Flip KVM: always reports core events
> (**) Belkin Corporation Flip KVM: Device: "/dev/input/event3"
> (II) Belkin Corporation Flip KVM: Found 5 mouse buttons
> (II) Belkin Corporation Flip KVM: Found x and y relative axes
> (II) Belkin Corporation Flip KVM: Configuring as mouse
> (**) Belkin Corporation Flip KVM: YAxisMapping: buttons 4 and 5
> (**) Belkin Corporation Flip KVM: EmulateWheelButton: 4,
> EmulateWheelInertia: 10, EmulateWheelTimeout: 200
> (II) XINPUT: Adding extended input device "Belkin Corporation Flip KVM"
> (type: MOUSE)
> (II) config/hal: Adding input device Belkin Corporation Flip KVM
> (**) Belkin Corporation Flip KVM: always reports core events
> (**) Belkin Corporation Flip KVM: Device: "/dev/input/event7"
> (II) Belkin Corporation Flip KVM: Found keys
> (II) Belkin Corporation Flip KVM: Configuring as keyboard
> (II) XINPUT: Adding extended input device "Belkin Corporation Flip KVM"
> (type: KEYBOARD)
> (**) Option "xkb_rules" "evdev"
> (**) Belkin Corporation Flip KVM: xkb_rules: "evdev"
> (**) Option "xkb_model" "pc105+inet"
> (**) Belkin Corporation Flip KVM: xkb_model: "pc105+inet"
> (**) Option "xkb_layout" "us"
> (**) Belkin Corporation Flip KVM: xkb_layout: "us"
>
> Backtrace:
> 0: /usr/bin/Xorg(xorg_backtrace+0x26) [0x4e7a26]
> 1: /usr/bin/Xorg(xf86SigHandler+0x39) [0x47a679]
> 2: /lib64/libc.so.6 [0x33dac32f90]
> 3: /usr/bin/Xorg(XkbStringText+0x1c) [0x56711c]
> 4: /usr/bin/Xorg(XkbWriteXKBGeometry+0x191) [0x5587d1]
> 5: /usr/bin/Xorg(XkbWriteXKBKeymapForNames+0x5bb) [0x557d1b]
> 6: /usr/bin/Xorg(XkbDDXLoadKeymapByNames+0x18a) [0x561cba]
> 7: /usr/bin/Xorg(ProcXkbGetKbdByName+0x3ab) [0x53fb2b]
> 8: /usr/bin/Xorg(Dispatch+0x364) [0x4468d4]
> 9: /usr/bin/Xorg(main+0x45d) [0x42cd1d]
> 10: /lib64/libc.so.6(__libc_start_main+0xe6) [0x33dac1e576]
> 11: /usr/bin/Xorg [0x42c0f9]

Might be helpful to get a full backtrace. Start up the server as
normal, attach gdb to the Xorg pid, then trigger the crash and type bt
in gdb. I would guess there's bad things going on in XKB, but
XkbStringText shouldn't be crashing.

--
Dan
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Fedora 10, Belkin KVM, USB Mouse/Keyboard, NVIDIA Card, OpenOffice

2009-02-10 Thread Kevin Johnson
Hello,

Here is the setup. I am running two different desktop computers, each with
their own monitor, but with only one keyboard / mouse. I am using a Belkin
KVM switch to control the keyboard / mouse function between the two. The
switch has USB inputs and USB outputs.

I am running Fedora10 (F1)0) on each desktop computer. Each has a different
NVIDIA Quadro card installed, and I am running NVIDIA drivers (different
version of each because the one card is not supported anymore).

Everything works fine, until I launch OpenOffice on either computer. At that
point, when I use the KVM to switch mouse / keyboard to the other desktop X
will crash. I have not been able to reproduce this with anything other than
the OpenOffice suite of applications.

It has something to do with the evdev module here is the backtrace in
the Xorg.0.log

(EE) Belkin Corporation Flip CC: Read error: No such device
(II) config/hal: removing device Belkin Corporation Flip CC
(II) Belkin Corporation Flip CC: Close
(II) UnloadModule: "evdev"
(EE) Dell Dell USB Keyboard: Read error: No such device
(II) config/hal: removing device Dell Dell USB Keyboard
(II) Dell Dell USB Keyboard: Close
(II) UnloadModule: "evdev"
(II) config/hal: Adding input device Belkin Corporation Flip KVM
(**) Belkin Corporation Flip KVM: always reports core events
(**) Belkin Corporation Flip KVM: Device: "/dev/input/event3"
(II) Belkin Corporation Flip KVM: Found 5 mouse buttons
(II) Belkin Corporation Flip KVM: Found x and y relative axes
(II) Belkin Corporation Flip KVM: Configuring as mouse
(**) Belkin Corporation Flip KVM: YAxisMapping: buttons 4 and 5
(**) Belkin Corporation Flip KVM: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Belkin Corporation Flip KVM"
(type: MOUSE)
(II) config/hal: Adding input device Belkin Corporation Flip KVM
(**) Belkin Corporation Flip KVM: always reports core events
(**) Belkin Corporation Flip KVM: Device: "/dev/input/event7"
(II) Belkin Corporation Flip KVM: Found keys
(II) Belkin Corporation Flip KVM: Configuring as keyboard
(II) XINPUT: Adding extended input device "Belkin Corporation Flip KVM"
(type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Belkin Corporation Flip KVM: xkb_rules: "evdev"
(**) Option "xkb_model" "pc105+inet"
(**) Belkin Corporation Flip KVM: xkb_model: "pc105+inet"
(**) Option "xkb_layout" "us"
(**) Belkin Corporation Flip KVM: xkb_layout: "us"

Backtrace:
0: /usr/bin/Xorg(xorg_backtrace+0x26) [0x4e7a26]
1: /usr/bin/Xorg(xf86SigHandler+0x39) [0x47a679]
2: /lib64/libc.so.6 [0x33dac32f90]
3: /usr/bin/Xorg(XkbStringText+0x1c) [0x56711c]
4: /usr/bin/Xorg(XkbWriteXKBGeometry+0x191) [0x5587d1]
5: /usr/bin/Xorg(XkbWriteXKBKeymapForNames+0x5bb) [0x557d1b]
6: /usr/bin/Xorg(XkbDDXLoadKeymapByNames+0x18a) [0x561cba]
7: /usr/bin/Xorg(ProcXkbGetKbdByName+0x3ab) [0x53fb2b]
8: /usr/bin/Xorg(Dispatch+0x364) [0x4468d4]
9: /usr/bin/Xorg(main+0x45d) [0x42cd1d]
10: /lib64/libc.so.6(__libc_start_main+0xe6) [0x33dac1e576]
11: /usr/bin/Xorg [0x42c0f9]

Fatal server error:
Caught signal 11.  Server aborting

(II) Power Button (FF): Close
(II) UnloadModule: "evdev"
(II) Power Button (CM): Close
(II) UnloadModule: "evdev"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) USB Optical Mouse: Close
(II) UnloadModule: "evdev"
(II) Belkin Corporation Flip KVM: Close
(II) UnloadModule: "evdev"
(II) Belkin Corporation Flip KVM: Close
(II) UnloadModule: "evdev"



Also, here is my xorg.conf

[r...@cio11-6305z usr]# cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeis...@builder58)  Thu Jul 17
18:39:00 PDT 2008

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen  0  "Screen0" 0 0
#InputDevice"Mouse0" "CorePointer"
#InputDevice"Keyboard0" "CoreKeyboard"
EndSection

#Section "InputDevice"
# generated from default
#Identifier "Mouse0"
#Driver "mouse"
#Option "Protocol" "auto"
#Option   "Protocol" "ImPS/2"
#Option "Device" "/dev/input/mice"
#Option "Emulate3Buttons" "no"
#Option "ZAxisMapping" "4 5"
#EndSection

#Section "InputDevice"

# keyboard added by rhpxl
#Identifier "Keyboard0"
#Driver "kbd"
#Option "XkbModel" "pc105"
#Option "XkbLayout" "us"
#EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName  "Unknown"
HorizSync   30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor"Monitor0"
DefaultDepth24
Option "TwinView" "True"
Option "M