Closed Bug 419062 Opened 16 years ago Closed 15 years ago

Mail from myspace locks Thunderbird until message is deleted from server

Categories

(MailNews Core :: Networking: POP, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: u88484, Unassigned)

References

Details

(Keywords: hang)

Attachments

(3 files)

I finally figured this out after about 5 months.  Whenever an email is received from myspace, Thunderbird locks up and has to be killed via task manager.  Every restart after which produces the exact same problem.  The only way to get Thunderbird to work again is to delete the email from the server, in my case yahoo mail.

After the email is delete from the server, Thunderbird continues to work and the email still downloads.  Running Thunderbird even when it is hung and deleteing the email from yahoo, Thunderbird unhangs and starts working almost instantly.
Flags: blocking-thunderbird3?
version?
pls attach message to bug or email it
Severity: major → critical
Thunderbird locks up so I can't get the message, or are you talking about just copy and pasting the text from yahoo mail?
Version: unspecified → Trunk
if you can delete it then you should be able to download it to a file.
turn off preview, F8.
right click the message
"save as" <file>
attach <file> to this bug.

does it also fail in thunderbird 2? if it does, please change version back to unspec.
I can only delete it after logging into yahoo mail (mail.yahoo.com).  I don't have preview on anyways.  Ahh hold on, I forgot if I delete it from the server then thunderbird still shows the message so I can save it then.  Let me send a comment to myself and I'll attach the message in a few minutes.
Attached file Guilty mail
Here is an email that hangs thunderbird.
opens OK with version 3.0a1pre (2008011304).
can you open it also, if saved first as a file?
I'm using 2008022610 but like I said in comment one, this started at least five months ago.

When I tried to open the saved email by File->Open Saved Message..., selecting the file and clicking 'Open'. Nothing happens and this appears in the error console as soon as I click 'Open'

Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative"  nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)"  location: "JS frame :: chrome://messenger/content/mailWindowOverlay.js :: MsgOpenFromFile :: line 1691"  data: no]
Should have tried this first before posting last reply.  Right clicking on the email->open with and finding thunderbird and opening the email works ok though and no errors in the console.

The issue lies when downloading the email from the yahoo server, it is like it hangs trying to tell yahoo that thunderbird has received this email and move onto the next because once I delete it from yahoo, thunderbird unlocks and continues downloading emails.  I'm using Pop3 and have it to delete from server upon receipt.
This is the log when I ran the batch file, thunderbird started, attempted to download the email and hung, killed Thunderbird via task manager then copied the log as attached.
Attachment #306551 - Attachment description: Log when thunder hung → Log when thunderbird hung
This is the log when I after deleting the email from mail.yahoo.com, started thunderbird, no hang and email showed up and downloaded in thunderbird.
i have a similar problem, not from yahoo.com, but from a local server, when i get the mail and "scroll" the panet it hangs thunderbird using a lot of procesor time for a few minutes (2-10 depending on luck).

this happened on a specific email, which after examining the server was somehow malformed having a FROM field in the mail header being really long and with a lot of weird characters. The rest of the email was normal and short.

the solution was to delete the message from the server with outlook, with didnt had the same problem, probably a filter to sanatize the string is not working too good.

 here it is the string (trimed cos it was more then 65k chars)that hangs it up:

From: "Burl ªÆÊ溎ZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:ÚnzÎ.ºŽZîúNš®:Únz" <ght_1953@ajwc.net>

Target Milestone: --- → Thunderbird 3
Please don't set the Target milestone unless you intend to work on the bug.
Target Milestone: Thunderbird 3 → ---
Flags: wanted-thunderbird3.0a1?
Comment on attachment 306551 [details]
Log when thunderbird hung

The "RECV: (null)" looks a bit suspicious...
Moving from wanted‑thunderbird3.0a1? flag to wanted‑thunderbird3.0a2? flag since code for Thunderbird 3 Alpha 1 has been frozen.
Flags: wanted-thunderbird3.0a1? → wanted-thunderbird3.0a2?
(In reply to comment #3)
> if you can delete it then you should be able to download it to a file.
> turn off preview, F8.
> right click the message
> "save as" <file>
> attach <file> to this bug.
> does it also fail in thunderbird 2? if it does, please change version back to
> unspec.

Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3?
Until we have STR that indicate a clear problem with trunk, I'd like to keep this off the blocking list.
Flags: wanted-thunderbird3?
Flags: wanted-thunderbird3.0a2?
Flags: wanted-thunderbird3.0a2-
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3-
(In reply to comment #5)
> Guilty mail

Same case as Bug 337903 and Bug 434091.
> content-type: text/plain; charset=utf-8
> content-transfer-encoding: base64

(In reply to comment #14)
> The "RECV: (null)" looks a bit suspicious...

Same case as Bug 337903 and Bug 434091, no "RECV: (null)" log after log for "RECV: ."(== final .[CRLF] from POP3 server). 

Further analysis has been done by Bug 434091, and culprit of Bug 434091 is found to be Bug 411988.
To Kurt Schultz(bug opener):

Same question as Bug 434091 Comment #10.
Your "locks"(bug summary) or "hang"(Keywords:) is "CPU 100% == loop, then unresponsive"?
(In reply to comment #17)
> Until we have STR that indicate a clear problem with trunk, I'd like to keep
> this off the blocking list.

1) Have a yahoo mail plus account (payed account so you can use pop3)
2) Have a myspace account
3) Have thunderbird installed and have it receive mail from aforementioned yahoo account
4) Get someone to send you a message from myspace so that myspace will send you an email
5) As thunderbird is downloading this email thunderbird will not respond and appears to not close the connection with yahoo.  Sorry I can't remember now if it is CPU 100% or not but I'm almost certain it is.
6) Kill thunderbird via CTRL+ALT+DELETE
7) Log into said yahoo account and see that the myspace email is still present (and any email older that that email is still there but all newer than it were successfully downloaded...might be the other way around though but either way it stops on the myspace email)
8) start thunderbird and see that it does not respond again while it is checking again for new emails
9) close thunderbird
10) delete the myspace email from yahoo
9) start thunderbird again and see that the reset of the email downloads without issue and the myspace email is also there

See comment 10 and comment 11 for logs
It's still not unclear whether this bug is same problem as Bug 434091(i.e. DUP of Bug 411988) or not. (TCP/IP level log is required to say so.) 
But, if it's assumed that this bug is same as Bug 434091, all phenomena described by bug opener can be clearly explained.
Setting dependency to Bug 434091 and Bug 411988, instead of duping to one of these bugs, for ease of tracking.
Depends on: 411988, 434091
Kurt, is problem gone now that bug 411988 is fixed?
(In reply to comment #22)
> Kurt, is problem gone now that bug 411988 is fixed?

Sorry, I missed responding this this comment earlier.  I'm really not sure.  I haven't used thunderbird since middle at 2008 since I switched to gmail and got a blackberry.
magnus, wada, do you think we still have a problem that isn't covered in other bugs, and if so, is there enough here to make this actionable?  (primarily comment 5, comment 10)
Component: General → Networking: POP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.pop
Version: Trunk → unspecified
Doesn't seem like we have enough to go on here. ->INCOMPLETE
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Flags: wanted-thunderbird3?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: