OpenSolaris

Printable Version Enter a New Search
Bug ID 6835232
Synopsis remote Motif app crashes on keyboard input in snv_111a
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:xorg-server
Keywords
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_115
Fixed In snv_115
Release Fixed solaris_nevada(snv_115) , osol_2009.06(Bug ID:2177530)
Related Bugs 6826052
Submit Date 28-April-2009
Last Update Date 7-May-2009
Description
I have an old Motif app that I've been remotely displaying from my
SPARC Solaris 10 system to my x86 OpenSolaris system.  I just upgraded
to snv_111a and now the app crashes on first keyboard input with:

X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  151 (XKEYBOARD)
  Minor opcode of failed request:  16 (XkbSetNamedIndicator)
  Serial number of failed request:  1652
  Current serial number in output stream:  1687
Work Around
To avoid crashes from the compose key/led handling builtin to libX11, disable
it before starting the affected app by setting in it's environment:
	_XKB_OPTIONS_ENABLE=1 _XKB_COMP_LED=0

To avoid crashes from direct calls to XKBSetNamedIndicator, start the Xorg
server with the "-kb" option to disable XKB, but then you'll lose a bunch
of keyboard functionality, including support for layouts beyond basic
US/English PC101.
Comments
N/A