Closed Bug 516388 Opened 15 years ago Closed 15 years ago

Hang when exiting Archives smart folder

Categories

(MailNews Core :: Backend, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b4

People

(Reporter: standard8, Assigned: Bienvenu)

Details

(Keywords: hang, perf)

Attachments

(2 files, 1 obsolete file)

Attached file Sample Log
I've got a reproducible hang (or maybe a very long delay). When in Smart Folders mode if I select the Archives smart folder (10398 items today, across 5 accounts though most of the emails are local), then select a different folder, Thunderbird hangs.

It takes a few seconds to enter the archives folder, which isn't surprising considering the number of items, however the hang is trying to use 100% CPU for at least a few minutes.

Attached is the output of a process sample from activity monitor sampling a debug build so the symbols look reasonably good.
Flags: blocking-thunderbird3?
here's a fix to try. The idea is that if the search failed, we shouldn't be updating the cached search results removing existing headers that we didn't find this time around.
Attachment #400505 - Flags: superreview?(bugzilla)
Attachment #400505 - Flags: review?(bugzilla)
Attachment #400505 - Attachment is obsolete: true
Attachment #400514 - Flags: superreview?(bugzilla)
Attachment #400514 - Flags: review?(bugzilla)
Attachment #400505 - Flags: superreview?(bugzilla)
Attachment #400505 - Flags: review?(bugzilla)
Attachment #400514 - Flags: superreview?(bugzilla)
Attachment #400514 - Flags: superreview+
Attachment #400514 - Flags: review?(bugzilla)
Attachment #400514 - Flags: review+
Attachment #400514 - Flags: approval-thunderbird3+
Comment on attachment 400514 [details] [diff] [review]
oops, search interrupted is a success code

r/sr=Standard8

I think we should get this in for b4 - a hang like that isn't good.
checked in
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: blocking-thunderbird3? → blocking-thunderbird3+
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b4
Keywords: perf
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: