Bug 122449 - [PATCH] xscreensaver packages broken - core dump
Summary: [PATCH] xscreensaver packages broken - core dump
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: xscreensaver
Version: 3.0
Hardware: ia32e
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: 116727
TreeView+ depends on / blocked
 
Reported: 2004-05-04 17:15 UTC by Kim Jensen
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-27 21:21:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:257 0 normal SHIPPED_LIVE Updated xscreensaver package 2004-09-01 04:00:00 UTC

Description Kim Jensen 2004-05-04 17:15:49 UTC
Description of problem:
/usr/X11R6/lib/xscreensaver/[lament|sproingies] core dump 

Bad NULL pointer (wrong size - not correctly promoted to 0L 
as expected) for call to XtVaAppCreateShell(..., 0L) 

Reason is same old nemisis we found for IA64 (my patch below): 
--- xscreensaver-4.10/hacks/screenhack.c.orig  2002-09-23 
02:30:37.000000000 -0600 
+++ xscreensaver-4.10/hacks/screenhack.c        2004-04-30 
21:42:57.000000000 -0600 
@@ -592,7 +592,7 @@ 
                                    XtNbackground, (Pixel) bg, 
                                    XtNborderColor, (Pixel) bd, 
                                    XtNinput, True,  /* for WM_HINTS 
*/ 
-                                  0); 
+                                  0L); 
          XtDestroyWidget (toplevel); 
          toplevel = new; 
          XtRealizeWidget (toplevel); 


Version-Release number of selected component (if applicable):
xscreensaver-4.10-4

How reproducible:
Everytime

Steps to Reproduce:
1. Install RHEL3U2 "RC" (2.4.21-14 kernel)
2. Bring up X (w/ vesa driver)
3. Run lament or sproingies
  
Actual results:
Core dump due to pointer that has not been promoted to 0L

Expected results:
screensaver runs w/o core dump

Additional info:
We have tested the patch and it fixes the problem.  Also, this was a 
problem that was perviously fixed in the ia64 bits.

Comment 3 Ray Strode [halfline] 2004-06-24 21:23:12 UTC
Marking MODIFIED while QA tests the fix.

Comment 4 Kim Jensen 2004-08-27 21:21:12 UTC
Verified as fixed in RHEL3U3 WS x86-64 Public Beta.  Thanks.

Comment 5 Jay Turner 2004-09-02 02:26:13 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-257.html



Note You need to log in before you can comment on or make changes to this bug.