OpenSolaris

Printable Version Enter a New Search
Bug ID 6525733
Synopsis Xorg 7.2 crashes on startup when Xtsol module is present
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:xorg-server
Keywords rampart | txreview
Responsible Engineer Alan Coopersmith
Reported Against snv_56 , snv_58
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_60
Fixed In snv_60
Release Fixed solaris_nevada(snv_60)
Related Bugs 6526711 , 6528986
Submit Date 15-February-2007
Last Update Date 20-April-2007
Description
Xorg 7.2 crashes on startup when the TX module is loaded.   The log file includes:

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: UNKNOWN
Current Operating System: SunOS nanfr 5.11 snv_56 i86pc
Build Date: 24 January 2007

Solaris ABI: 32-bit
SUNWxorg-server package version: 6.9.0.5.11.0000,REV=0.2007.01.24
SUNWxorg-graphics-ddx package version: 6.9.0.5.11.0000,REV=0.2007.01.24
SUNWxorg-mesa package version: 6.9.0.5.11.0000,REV=0.2007.01.24
   Before reporting problems, check http://sunsolve.sun.com/
   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: Fri Feb  2 20:57:39 2007
(==) Using config file: "/etc/X11/xorg.conf"
(EE) AIGLX: Screen 0 is not DRI capable

Backtrace:
1: 0xd135804f: /lib/libc.so.1:__sighndlr+0xf
2: 0xd134d63b: /lib/libc.so.1:call_user_handler+0x2b8
** Signal 11 (SEGV)
3: 0xd104cc42: /usr/X11/lib/modules/extensions/libxtsol.so:<section start>+0xcc42
4: 0x8097d56: /usr/X11/bin/i386/Xorg:_CallCallbacks+0x46
5: 0x8098082: /usr/X11/bin/i386/Xorg:CallCallbacks+0x22
6: 0x8092bd5: /usr/X11/bin/i386/Xorg:InitClientPrivates+0xd5
7: 0x80a77d5: /usr/X11/bin/i386/Xorg:main+0x2d5
8: 0x8081700: /usr/X11/bin/i386/Xorg:_start+0x80


Fatal server error:
Caught signal 11.  Server aborting

XIO:  fatal IO error 146 (Connection refused) on X server ":0.0"
     after 0 requests (0 known processed) with 0 events remaining.
Lokanath tracked this down to the tsol module's ClientStateChangeCallback
being called by InitializeClientPrivates on the serverClient global when
the X server was initializing.   The Xtsol module tried to access the client's
osPrivate structure, but that is null, since the serverClient has no client
connection attached to it.

Previous versions of Xorg did not call the callback when initializing serverClient,
but this was added in the 7.2 release:
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=3c23dec5962b8b81ae838fe0ee2c7b0a789f5386

Since this appears to only be needed right now for SE-Linux, will revert this change
out of our Solaris Xorg builds for now.   (Will restore it in a later Nevada build,
once we're sure everyone has moved to a fixed Xtsol module.)
Work Around
N/A
Comments
N/A