[Bug 526791] Re: onboard crashed with SIGSEGV in XkbGetNames()

marmuta marmvta at gmail.com
Wed Apr 14 07:06:54 BST 2010

The direct cause of the segfault appears to be a missing error exit in
python-virtkey.c. I don't have launchpad access to virtkey, so I'll
attach a tiny patch. However this doesn't fix the root cause, it only
shifts the error from a SIGSEGV to a python backtrace:

Traceback (most recent call last):
  File "/usr/bin/onboard", line 15, in <module>
    ob = Onboard()
  File "/usr/lib/python2.6/dist-packages/Onboard/OnboardGtk.py", line 73, in __init__
  File "/usr/lib/python2.6/dist-packages/Onboard/OnboardGtk.py", line 200, in load_layout
    self.keyboard = KeyboardSVG(filename)
  File "/usr/lib/python2.6/dist-packages/Onboard/KeyboardSVG.py", line 38, in __init__
  File "/usr/lib/python2.6/dist-packages/Onboard/Keyboard.py", line 44, in __init__
    self.vk = virtkey.virtkey()
virtkey.error: XkbGetKeyboard failed to get keyboard from x server

** Patch added: "python-virtkey_0.5ubuntu3.patch"

onboard crashed with SIGSEGV in XkbGetNames()
You received this bug notification because you are a member of
Accessibility, which is subscribed to onboard in ubuntu.

More information about the Ubuntu-accessibility-bugs mailing list