Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 23889

Summary: Selecting 'restore default values' button in X configuration screen crashes anaconda
Product: [Retired] Red Hat Linux Reporter: Stelian Pop <stelian>
Component: anacondaAssignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: Florence Beta-3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-18 18:01:44 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:
Attachments:
Description Flags
Anaconda traceback none

Description Stelian Pop 2001-01-12 16:09:11 UTC
Upon selection of 'restore default values' button in X configuration screen
anaconda crashes with a python exception (attached).

Comment 1 Stelian Pop 2001-01-12 16:09:51 UTC
Created attachment 7505 [details]
Anaconda traceback

Comment 2 Glen Foster 2001-01-15 21:46:07 UTC
This defect is considered MUST-FIX for Florence Beta-3


Comment 3 Michael Fulbright 2001-01-16 00:45:52 UTC
Assigning to a developer.

Comment 4 Brent Fox 2001-01-17 18:03:38 UTC
What did anaconda probe the video card and video memory as?

Comment 5 Stelian Pop 2001-01-17 22:16:50 UTC
See bug #23887 for details (video card correctly recognized but video memory
misdetected).

Maybe the two bugs are closely related anyway...

Stelian.

Comment 6 Brent Fox 2001-01-18 02:12:12 UTC
Actually, this bug is caused by bug #23887.  I think a bigger issue here is that
although I've added code for cards that report 64k less memory than they should,
this does not account for cards that, for example, report 64k too much memory. 
We need a more intelligent way of approximating the memory.

Then, there will be some cards that do not return anything useful at all for
memory.  In this case, maybe we should default to 1 Meg if it's a PCI or AGP
video card.

Comment 7 Brent Fox 2001-01-18 15:13:44 UTC
Although bug #23887 has been resolved, the installer will still crash if there's
a card that cannot be probed for memory and the user clicks "Restore default
values"  This is basically a null pointer problem...there's nothing to reset to
and python crashes.  We should initialize the variable to something sensible and
this will not happen anymore.

Comment 8 Brent Fox 2001-01-18 18:01:40 UTC
Fixed in the latest internal builds.  I've added some code to prevent tracebacks
from happening, even if the card's memory cannot be probed.  Brock, please
verify.