Red Hat Bugzilla – Bug 165347
Pgdown/pgup key on Allowable Drives causes anaconda to crash
Last modified: 2015-01-07 19:10:23 EST
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.
Steps to Reproduce:
1.Start installer in text mode
2.Create a new partition
3.Make 'Allowable drives' the active widget
If you're getting a traceback, could you attach it to this bug?
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.
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.
Er, 'abnormally', even.
More info: PgDown just once also causes a crash.
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.
Created attachment 119642 [details]
Test case for crashing on CheckboxTree size
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.
Created attachment 123314 [details]
The Fedora Core development patch to fix this issue. (Backported patch against
RHEL4 will be provided later).
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).
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.
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.