Closed Bug 130108 Opened 24 years ago Closed 24 years ago

Long list of To: addresses freezes comp when you click on the triangle.

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
All
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dac514, Assigned: sspitzer)

References

Details

(Keywords: hang)

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020309 BuildID: 2002030913 This bug involves a long list of To: addresses... If you want to see all addresses, you can click on the triangle before the first address. However, when I do this, my AMD 1200 Mhz with 768 megs of RAM starts using 100% CPU cycles and freezes the comp. Reproducible: Always Steps to Reproduce: 1. Open my email with over 60 emails in To:, MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) 2. Click on the triangle. 3. See Task manager assign 100% of CPU to the mozilla.exe process and watch computer buckle under pressure. Actual Results: Computer freezes until mozilla.exe process is killed. Expected Results: See a list of emails.
Could you attach the message that causes the problem? Does Mozilla really hang, or is it just busy for a few minutes?
Keywords: hang
This is the message that causes problems... Please ignore the contents.
BTW: After waiting for 5 minutes, Mozilla was still 'busy'. I personally consider this a hang and haven't bothered waiting any longer before killing the process.
Works ok for me with 57 addresses. Linux-2.4.8-26mdk on an old Pentium 166 with only 64Megs RAM. As the number of addresses increases so does the time taken for the computer to "digest" each one. About 7 seconds at the end of the list. Note that in the example the e-mail addresses have gotton jumbled across the lines. I sorted that out before entering them using cut and paste. I suspect a Windows problem.
We had a bug about this, bug 112184, which is listed as worksforme.
I can confirm this bug, using Mozilla 0.9.9, on Windows 98, Windows XP, and Linux. With a message with ~157 'To:' recipients, the message displays properly, until I click on the + icon to expand the list of addresses. Mozilla then seems to hang, using ~100% of the CPU, indefinately. Note that previously opened browser windows will still respond, though after a 10 or so second delay, and limited response (basically scrolling the page). The mail/news window is completely unresponsive. This behavior was observed on two different computers, one running Windows 98 and the other Windows XP. In one case the computer was left for many hours and upon return was still in the 'hung' state. Under Linux (RedHat 7.2, kernel 2.4.9-31), the observed behavior is slightly different. Upon clicking the + to expand the list of addresses, the frame containing the message shows the expanded To list. However, there is no scrollbar in this frame (so the message cannot be viewed), and the CPU is again pegged at 100%. Interestingly, under Linux, I am able to click on a different message in the message list frame, and (after a delay of ~10 seconds), that message is displayed and the CPU drops to normal. Since I observed this bug two different Windows' and on Linux, I suggest that the owner change this bug to OS: All. I can attatch the offending message, though I'm not sure how to get it as an rfc822 attatchment.
Also, in searching for this bug, I came across bug 124918, bug 119106, and bug 112184, some or all of which may be related, and some of which have references to many other duplications.
OS: Windows 2000 → All
Here is my afore-mentioned email message. I saved it from Mozilla as a .eml file, which I think is rfc822 format.
I saved the "message that causes freeze" attatchment and loaded it into Mozilla Mail (0.9.9) under Windows XP. I was able to click the + and see the list of recipients, and the CPU stayed at a normal level. However, similar to my Linux experience described in comment #6, there was no scrollbar in the message frame, so I could not view the remainder of the message.
OK, so I should probably do more extensive testing before I post additional comments, but this will at least be the last one tonight. I just noticed that the reason that the "message that causes freeze" attatchment acted as I described in comment #9 was because all of the expanded addresses fit in the message viewing frame. I tried shrinking the size of my mail/news window (via grabbing the bottom of the window). As soon as the mail/news window was small enough that the list of To: recipients could no longer fit in the message view frame, Mozilla locked up with the previously described 100% CPU behavior. I will investigate the Linux situation further tomorrow to see if the Linux behavior that I described in comment #6 was related to the experience I am describing in this comment.
After extensive testing on Win98, Win2K, WinXP, and Linux, the following is the best, most concise description of the bug that I can think of: In the Mail/News client, when a message is viewed in the in the regular 3-pane window, if the header portion of the message is too large, the message will not display correctly. More specifically, if there is not enough (vertical) room to display all of the following, (1) Two messages headers in the "message list frame", (2) The entire header in the "message view" frame, and (3) the message body and appropriate scroll bars in the "message view" frame, then Mozilla cannot figure out what to do and 'hangs' indefinately** in a state of 100% CPU usage. **Note that in my experience, Mozilla is still responsive. i.e. I can click on a different message or folder, and (after a delay) Mozilla will return to normal operation. **Under Linux the Mail window entered a flashing state, in which it seemed to toggle indefinately between two states. I'm guessing that, entering some state, Mozilla decides to make an adjustment, but upon entering that new state, decides again that an adjustment is needed, and switches back to the previous state, causing an infinite loop of adjustment. Just a guess. A suggestion to fix this problem (coming from someone who has never looked at a line of Mozilla code) is (A) Merge the header information into the (scroll-able) message body, or (B) Add scrollbar functionality to the header portion of the "message view" frame. I think that option (B) would be the preferred solution, though I guess it would require figuring out when to use a scrollbar, how big to make the header portion, etc. Anyway, I hope that helps to fix the bug.
By the way, does this qualify as a "Confirmed" bug now?
I see this bug, as decribed in comment #11 on build trunk 20020514xx -- why is it not confirmed - surely a Mozilla 1.0 blocker?
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 Build: 2002053012 WFM, no load at all....
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 146734 has been marked as a duplicate of this bug. ***
I took the 2 attached mail msgs, put them in my local folders and opened them. I was able to expand the addressees in both messages without a hang or crash and then was able to collapse the list with no problem. I did this with trunk builds 20021119 on winxp, macosx and linux. and the 8-26-2002 branch builds. Verifying this now, if anyone in this bug still sees a problem, please reopen giving the build id, attach the sample mail message, theme you are using and operating system.
Status: RESOLVED → VERIFIED
*** Bug 124918 has been marked as a duplicate of this bug. ***
*** Bug 124918 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: