Closed
Bug 330760
Opened 19 years ago
Closed 19 years ago
crash in [@nsMsgSearchDBView::~nsMsgSearchDBView]
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Bienvenu, Assigned: Bienvenu)
Details
(Keywords: crash, fixed1.8.1)
Crash Data
Attachments
(1 file)
981 bytes,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
I see this crash occasionally on shutdown, when the nsMsgSearchDBView is clearing out its m_dbToUseList. The db's have already been cleared up because the db module has shut down, but the view is still holding onto a db pointer. The steps to reproduce are something like this:
1. Open a normal folder.
2. Open a cross folder virtual folder that searches on the normal folder
3. Click back to the normal folder
4. Shut down.
I'm not sure if step 1 is needed. In any case, what's happening, I think, is that when the view is closed, we clear the listeners for the db, but leave the db to use list populated with DB's. If those DB's go away before the view, we won't get notified, and we'll crash trying to clear the db to use list. I don't see this crash in Talkback, but I see it in debug builds every so often...
Assignee | ||
Comment 1•19 years ago
|
||
so the fix is to clear the m_dbToUseList after removing the listeners.
Attachment #215350 -
Flags: superreview?(mscott)
Assignee | ||
Comment 2•19 years ago
|
||
I did find three incidents - here's one:
id 16452758
http://talkback-public.mozilla.org/search/start.jsp?search=2&type=iid&id=16452758
Status: NEW → ASSIGNED
Summary: crash in nsMsgSearchDBView::~nsMsgSearchDBView → crash in [@nsMsgSearchDBView::~nsMsgSearchDBView]
Updated•19 years ago
|
Attachment #215350 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Updated•19 years ago
|
Comment 3•17 years ago
|
||
This crash was also reported on IRC for Thunderbird 1.5.0.13 on Mac OS X. David, are you tending to fix it for 1.8.0?
Severity: normal → critical
OS: Windows XP → All
Hardware: PC → All
Assignee | ||
Comment 4•17 years ago
|
||
No, I think we're trying to get people to move to 2.0 - basically, we're dropping support for 1.5 in the not too distant future, and are only fixing security vulnerabilities in 1.5
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•14 years ago
|
Crash Signature: [@nsMsgSearchDBView::~nsMsgSearchDBView]
You need to log in
before you can comment on or make changes to this bug.
Description
•