Bug 165347 - Pgdown/pgup key on Allowable Drives causes anaconda to crash
Summary: Pgdown/pgup key on Allowable Drives causes anaconda to crash
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: newt
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Petr Rockai
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks: 181409
TreeView+ depends on / blocked
 
Reported: 2005-08-08 13:11 UTC by Mike MacCana
Modified: 2015-01-08 00:10 UTC (History)
1 user (show)

Fixed In Version: RHBA-2006-0309
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-10 21:17:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Test case for crashing on CheckboxTree size (316 bytes, text/plain)
2005-10-05 16:44 UTC, Chris Lumens
no flags Details
newt-0.52.2-pgupdown-crash.patch (1.09 KB, patch)
2006-01-17 17:46 UTC, Petr Rockai
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0309 0 normal SHIPPED_LIVE newt bug fix update 2006-08-09 04:00:00 UTC

Description Mike MacCana 2005-08-08 13:11:05 UTC
Description of problem:
When creating a new partition, using the text installer, pressing the page up on
the 'Allowable Drives' option causes anaconda to crash instantly. 

How reproducible:
Always

Steps to Reproduce:
1.Start installer in text mode
2.Create a new partition
3.Make 'Allowable drives' the active widget
4.Press pgup

Comment 1 Chris Lumens 2005-08-08 18:44:25 UTC
If you're getting a traceback, could you attach it to this bug?

Comment 2 Jeremy Katz 2005-09-21 21:05:47 UTC
Since there are insufficient details provided in this report for us to
investigate the issue further, and we have not received the feedback we
requested, we will assume the problem was not reproduceable or has been fixed in
a later update for this product.  If you have further details, feel free to
reopen the report with the additional details attached.

Comment 3 Mike MacCana 2005-09-21 23:30:43 UTC
No, I'm not getting a traceback. Just 'installer exited normally' etc. There's a
few 'File Descriptor Left' open messages in the VT.

The bug can be reproduced 100% of the time on RHEL4 U0 and is repeatedly coming
up from GLS customers.





Comment 4 Mike MacCana 2005-09-21 23:32:19 UTC
Er, 'abnormally', even.

Comment 5 Mike MacCana 2005-09-21 23:39:20 UTC
More info: PgDown just once also causes a crash.

Comment 6 Chris Lumens 2005-10-05 16:11:47 UTC
The problem here is that when the specificed height of a CheckboxTree is larger
than the length of the list of items, ct->firstItem is invalid in
checkboxtree.c:ctDraw.  Minimal reproducer is attached.

Comment 7 Chris Lumens 2005-10-05 16:44:21 UTC
Created attachment 119642 [details]
Test case for crashing on CheckboxTree size

Comment 8 Petr Rockai 2006-01-17 17:44:17 UTC
The version of newt in fedora core development should be fixed now. I'll 
attach the patch fixing this issue in newt 0.52.2 shortly. 

Comment 9 Petr Rockai 2006-01-17 17:46:19 UTC
Created attachment 123314 [details]
newt-0.52.2-pgupdown-crash.patch

The Fedora Core development patch to fix this issue. (Backported patch against
RHEL4 will be provided later).

Comment 10 Petr Rockai 2006-01-19 12:58:08 UTC
The patch turns out to apply cleanly on RHEL4 version of newt as well, so it  
can be used unmodified. In my limited testing, it seems to work well (no 
crashes with the testcase).  

Comment 14 Bob Johnson 2006-04-11 15:44:25 UTC
This issue is on Red Hat Engineering's list of planned work items 
for the upcoming Red Hat Enterprise Linux 4.4 release.  Engineering 
resources have been assigned and barring unforeseen circumstances, Red 
Hat intends to include this item in the 4.4 release.

Comment 16 Red Hat Bugzilla 2006-08-10 21:17:31 UTC
An advisory 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-2006-0309.html



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