|
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.)
|