misc/164094: installer progress over 100%

Ariane van der Steldt ariane at stack.nl
Fri Jan 13 19:10:10 UTC 2012

>Number:         164094
>Category:       misc
>Synopsis:       installer progress over 100%
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 13 19:10:07 UTC 2012
>Originator:     Ariane van der Steldt
>Release:        FreeBSD 9.0 Release
FreeBSD 9.0 Release
iso from wednesday Jan 11, 2012, FreeBSD-9.0-RELEASE-amd64-bootonly.iso,
SHA256 (FreeBSD-9.0-RELEASE-amd64-bootonly.iso) = d16fd5f32c9483177a01241f37ed84f347484c65e52aba4dbf8a2f3108fb457d
Installer failed to get the first file in the list (base.tgz from memory) and continued to fetch the next file (kernel.tgz) due to my DNS resolver giving a negative reply, the first fetch.

Subsequently, my overall progress bar quickly overflowed, running over 3000%.
Fail to download the first file, progress to the next file.
- clamp progress bar rendering to be between 0% and 100% (this will fix the overflown bar only)
- reset progress bar state on failed download (I suspect this only happens for succesful downloads)


More information about the freebsd-bugs mailing list