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

Bug 43087

Summary: Installer crashes in progress bar code
Product: [Retired] Red Hat Linux Reporter: Scott Schmit <i.grok>
Component: anacondaAssignee: Brent Fox <bfox>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-06-01 15:22:41 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:

Description Scott Schmit 2001-05-31 18:49:35 UTC
Description of problem:
In a text mode install, the installer crashes while trying to update
the progress bar due to a divide by zero error. More frightening, however,
is that the python interpreter doesn't appear to always catch the
divide-by-zero, as on another occasion, the installer died in a signal 8.

How reproducible:
Sometimes - it sometimes works without crashing, other times very early.

Additional info:
Here's a python traceback.
Traceback (innermost last):
  File "/usr/bin/anaconda", line 520, in ?
    intf.run(todo, test = test)
  File "/var/tmp/anaconda-7.1//usr/lib/anaconda/text.py", line 1126, in run
    rc = apply (step[1](), args)
  File "/var/tmp/anaconda-7.1//usr/lib/anaconda/text.py", line 551, in __call__
    if todo.doInstall ():
  File "/var/tmp/anaconda-7.1//usr/lib/anaconda/todo.py", line 1852, in
doInstall
    (p, self.intf.messageWindow, pkgTimer))
  File "/var/tmp/anaconda-7.1//usr/lib/anaconda/todo.py", line 1588, in
instCallback
    intf.setPackageScale(amount, total)
  File "/var/tmp/anaconda-7.1//usr/lib/anaconda/text.py", line 633, in
setPackageScale
    self.s.set(int(((amount * 1.0)/ total) * 100))
ZeroDivisionError: float division

Local variables in innermost frame:
total: 570924
amount: 350936
self: <text.InstallProgressWindow instance at 987df08>

ToDo object:
(itodo
ToDo
p1
(dp2
S'resState'
p3
S''
sS'progressWindow'
p4
(itext
ProgressWindow
(dp5
S'scale'
p6
NsS'screen'
p7
(isnack
SnackScreen
p8
(dp9
S'height'
p10
I25
sS'width'
p11
I80
sS'helpCb'
p12

<failed>

Let me know if there is any information you need that would help.

Comment 1 Brent Fox 2001-05-31 19:39:05 UTC
I think that you might have a bad cd.  Can you look on VC3 and VC4 and see if
there are any error messages?

Comment 2 Scott Schmit 2001-06-01 15:22:35 UTC
Nevermind, it was a configuration problem in the hardware.