Closed Bug 358441 Opened 18 years ago Closed 15 years ago

Busy Loop in nsMsgQuickSearchDBView::GetFirstMessageHdrToDisplayInThread

Categories

(SeaMonkey :: MailNews: Message Display, defect)

1.8 Branch
x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 332883

People

(Reporter: KaiE, Assigned: Bienvenu)

Details

(Keywords: hang)

Attachments

(1 file)

- I'm displaying a mailbox on my SSL IMAP server.
- I am in threaded display mode.
- I type into the "Subject or Sender contains" quicksearch edit field.

This results in a busy loop, and the application hangs.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061027 SeaMonkey/1.1b

I used the debugger to identify where it loops:

#0  0x06010b15 in nsMsgQuickSearchDBView::GetFirstMessageHdrToDisplayInThread (this=0xaa26930, threadHdr=0xaa26bc0,
    result=0xbfebecf0) at /home/kaie/moz/18/mozilla/mailnews/base/src/nsMsgQuickSearchDBView.cpp:377

373             // count number of ancestors - that's our level
374             while (parentId != nsMsgKey_None)
375             {
376               rv = m_db->GetMsgHdrForKey(parentId, getter_AddRefs(parent));
377               if (parent)
378               {
379                 parent->GetThreadParent(&parentId);
380                 level++;
381               }
382             }

parent is NULL, level is zero, loops forever

I'll also attach a text file containing the full stack.
Attached file stack
darn, I thought I fixed that. It's actually a core bug. Taking.
Assignee: mail → bienvenu
Bug 332883 was fixed, on trunk and 1.8 branch, on 2006-09-19 16:04:37.
Gecko/20061027 should have had the new code.

Kai, could it be that you built with a non updated file ?
David, I suggest to resolve this bug as a duplicate.
(In reply to comment #3)
> Kai, could it be that you built with a non updated file ?

Unlikely.

But FWIW, I think I haven't ran into such a deadlock with SeaMonkey 1.1 (1.8 branch) for a long time. (I use it for private email)
Component: MailNews: Search → MailNews: Message Display
bienvenu in comment #2
> darn, I thought I fixed that. It's actually a core bug. Taking.

bienvenu, patch still needed?
Severity: normal → critical
Keywords: hang
QA Contact: search → message-display
duping per Serge comment 3
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: