Closed Bug 788541 Opened 12 years ago Closed 12 years ago

Preview of large thread locks up TB

Categories

(Thunderbird :: Folder and Message Lists, defect)

15 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 782899

People

(Reporter: jbg, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19

Steps to reproduce:

Inbox is sorted by thread, with the preview pane on the right.  In a collapsed thread, with 5-6 messages, but each message is very large (total of 2.6MB), select the thread to see the preview in the right pane.


Actual results:

TB locks up (beachball on a macintosh) trying to create the preview of the message thread.  Smaller versions of this are slow, but do complete eventually.


Expected results:

Preview should have completed in a reasonable amount of time, with reasonable resources.  This used to work, prior to TB 15 or so.
The messages involved have a HUGE number of URLs.  Almost every new line is a URL.  This causes Outlook to slow down and have a hard time managing these messages as well.
I assume 'Outlook' in comment 1 wanted to be 'Thunderbird' :)

Maybe this is bug 782899 too? Do you observe high RAM usage of TB when it is 'locked up' ?
Whiteboard: [DUPEME]
I meant 'Outlook' as I tested the same messages with it to see how it would perform.  Somewhat better, but not great.

At one point, I had to kill off TB to get it back, and it appeared to have a huge number of _threads_ created. Memory did not seem to be the issue.
Would you be willing to try a beta or daily build to see if this problem is fixed by some recent changes? Please see https://bugzilla.mozilla.org/show_bug.cgi?id=787321#c12
I'm already running Earlybird.  I've seen this problem on earlybird. Also, I managed to archive off the problem thread because otherwise, my inbox was useless every time I hit that thread.  BTW, I noticed a similar problem (and huge memory growth) archiving a pile of messages yesterday, so this may be a more reliable way to test for the problem.
(In reply to Jeff Gehlhaar from comment #1)
> The messages involved have a HUGE number of URLs.  Almost every new line is
> a URL.  This causes Outlook to slow down and have a hard time managing these
> messages as well.

If many URLs are involved in message text and/or HTML link in HTML mail, and if scam detection of Tb is enabled, "time required for scam detection" is not negligible. Similar thing may occur in Outlook too.
And, if performance issue related to threading only, slowness is usually function of (a) "thread length/thread depth of each thread" and (b) "number of threads". It is usually affected by (a) heavily, and "(a) == 5 to 6" is too small for me to suspect threading-related severe performance problem.

Can you rule out "scam detection" related problem first if you enable "scam detection"?
  Tools/Options/Security, E-Mail Scams.
  "Tel me ..." is Checked == scam detection is enabled.
Does you problem occur with scam detection disabled?
Does you problem occur with scam detection enabled, with string of "http:" in message text is changed to "xhttp?" etc.? (Save as .eml, edit .eml file and change string, Subject: etc., Drag&Drop the .eml file to thread pane to import .eml by Drag&Drop. applicable to non base64 message/part only.)
Bug 787321 is a similar report as yours for threading related performance problem. (not so long/deep thread, mail size in thread is relatively large)
Bug opener of that bug says "problem is not seen in TB 16.0b2".
Jeff Gehlhaar(bug opener), do you see your problem in latest trunk daily fuild?
Latest builds are MUCH better with this issue.  Still, it fails to complete the construction of the thread summary in the preview pane -- some messages are summarized, others are not. Not sure if some heuristic is applied here to some messages and not others.  At least it does not hang up the app and render it useless.  Memory and thread counts seem to be okay during these operations as well.
Which later build did you try? Can you try TB 15.0.1?
Bug 789890 is a report of problem in large text mail display, and cause of such problem may be bug 784286(see bug 789890 comment #3) in addition to bug 782899 pointed in comment #2 by :aceman.

Do you use addon such as Enigmail? Do you see your problem in Tb 15 with -safe-mode of Tb(addons are disabled)?

Bug 782899 and Bug 789890 has "status-thunderbird15: fixed" flag.
Check wth Tb 15.0.1, please.
Sorry for Typo.
  Bug 782899 and Bug 784286 has "status-thunderbird15: fixed" flag.
TB 15.0.1 seems to work fine, except that the thread is not summarized entirely in the preview window.
OK, I think it's fair to call this a duplicate of bug 782899, but I'll open a new bug for the missing messages in the thread summary.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Whiteboard: [DUPEME]
You need to log in before you can comment on or make changes to this bug.