OpenSolaris

Printable Version Enter a New Search
Bug ID 6799573
Synopsis Metacity not starting on TX Xorg 1.5
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:sec_labeling
Keywords
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_108
Fixed In snv_108
Release Fixed solaris_nevada(snv_108)
Related Bugs
Submit Date 30-January-2009
Last Update Date 30-January-2009
Description
While cleaning out some old xscreensaver bugs tonight, I wanted to
try testing one of the TX bug reports, but found that metacity was
no longer starting on Xorg on my TX/Xorg 1.5 test system.

I traced this down to metacity exiting with a BadAccess error when
it calls meta_display_get_current_time_roundtrip multiple times
- this function does XChangeProperty of a property named XA_PRIMARY
with PropModeAppend set to append a zero-length string.

The first time it calls, it works, because it's creating the property.
The second call gets BadAccess because TsolCheckPropertyAccess() in
the server doesn't know how to process the access mode and falls off
the end without returning a valid value, which happened in the build
I was running tonight to cause it to report a failure.   (Since it
picks up whatever value is on the stack after it falls off the end,
it may depend on compiler options/build environment/runtime environment,
which would explain why I saw this tonight but not before.)
Work Around
N/A
Comments
In X 108 test cycle:

There is no TX environment here to verify this bug.
Passed regressioin testing.

Bug fix reside at:
/net/paravon/export/x-re/pkgs/X_NV_milestone/sparc/B108
/net/paravon/export/x-re/pkgs/X_NV_milestone/x86/B108