#3596: Incorrect progress message "(-2147483648%)"
----------------------------+-----------------------------------------------
 Reporter:  musiphil        |       Owner:  mutt-dev
     Type:  defect          |      Status:  new     
 Priority:  minor           |   Milestone:          
Component:  user interface  |     Version:  1.5.21  
 Keywords:                  |  
----------------------------+-----------------------------------------------
 When mutt is fetching message headers from my IMAP account on startup, I
 observe incorrect progress message such as:

 "Fetching message headers... 196/2377 (-2147483648%)"

 where "474" keeps changing but other numbers (196, -2147483648) remain the
 same.

 This is with the binary that came with Ubuntu 12.04.1 LTS. When I built my
 own binary from the latest source code (v1.5.21) and ran it on the same
 IMAP account, I didn't observe the erroneous behaviour. Therefore, I
 believe it may be hard for others to reproduce, and analyzing the source
 code may be the only way to find when the percentage value can be
 -2147483648.

 'mutt -dX' doesn't seem to produce any information that helps understand
 why the calculation is incorrect (even when X=5); the only messages
 regarding the progress update are like the following:

 [2012-10-15 13:58:36] updating progress: 196
 [2012-10-15 13:58:36] Fetching message headers... 196/2377 (-2147483648%)

 Please let me know if there's more information or help I can give.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3596>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to