Bug 122449

Summary: [PATCH] xscreensaver packages broken - core dump
Product: Red Hat Enterprise Linux 3 Reporter: Kim Jensen <kim_jensen>
Component: xscreensaverAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: ia32e   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-27 21:21:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 116727    

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