Summary: | calling XScreenSaverQueryInfo crashes the server | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Nicholas Miell <nmiell> | ||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | high | CC: | mharris, roland.mainz | ||||
Version: | 6.8.2 | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Nicholas Miell
2005-02-05 20:43:45 UTC
A simple test program that does nothing XSS-related besides call XScreenSaverQueryExtension, XScreenSaverAllocInfo and XScreenSaverQueryInfo does not crash the server. beforelight does, everytime. (In reply to comment #1) > A simple test program that does nothing XSS-related besides call > XScreenSaverQueryExtension, XScreenSaverAllocInfo and XScreenSaverQueryInfo does > not crash the server. > > beforelight does, everytime. Does beforelight (I assume this is a window manager, right ?) work when you turn the screensaver extension off in the Xserver (you can do that at command line via % Xorg -extension MIT-SCREEN-SAVER #) ? beforelight is, as far as I know, the canonical example of a screensaver that uses the MIT-SCREEN-SAVER extension. It comes with X. Disabling the extension prevents beforelight from ever using it, and thus the X server does not crash. Turns out that the bug was in XScreenSaverSetAttributes, and was fixed here: http://cvs.freedesktop.org/xorg/xc/programs/Xserver/Xext/saver.c?r1=1.2&r2=1.3&only_with_tag=MAIN Needs to be merged into 6.8.2, though. Info for Fedora Core users experiencing this problem: Patch added to 6.8.2-11 which will be in all future FC3/FC4/RHEL4 builds. * Tue Mar 15 2005 Mike A. Harris <mharris@redhat.com> - Added xorg-x11-6.8.2-config-StaticNeedsPicForShared.patch for (#108026) - Removed StaticNeedsPicForShared from host.def section - Added xorg-x11-6.8.2-XScreenSaverQueryInfo-crash-fix.patch to fix (#147890) Created attachment 3526 [details] [review] Patch to saver.c as applied to CVS head Since this is fixed in CVS head, and a patch for it is in the 6.8.3 request queue, closing bug as FIXED. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.