Closed
Bug 492429
Opened 15 years ago
Closed 15 years ago
crash [@ nsMsgSearchSession::GetNextUrl()] due to de-referenced null GetRunningScope()
Categories
(MailNews Core :: Search, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b4
People
(Reporter: asuth, Assigned: Bienvenu)
References
Details
(Keywords: crash, topcrash)
Crash Data
Attachments
(1 file)
874 bytes,
patch
|
standard8
:
review+
standard8
:
superreview+
|
Details | Diff | Splinter Review |
I kicked off a search in the 'search messages...' thing on an IMAP account. I closed the search window before it completed. While continuing to use Thunderbird normally, it crashed: nsMsgSearchSession::GetNextUrl at mailnews/base/search/src/nsMsgSearchSession.cpp:497 nsMsgSearchSession::OnStopRunningUrl at mailnews/base/search/src/nsMsgSearchSession.cpp:384 nsImapMailFolder::SetUrlState at mailnews/imap/src/nsImapMailFolder.cpp:6160 In: 495 nsMsgSearchScopeTerm *currentTerm = GetRunningScope(); 496 EnableFolderNotifications(PR_FALSE); 497 nsCOMPtr <nsIMsgFolder> folder = currentTerm->m_folder; currentTerm is 0x0, explaining our crash. Arguably the null de-reference shouldn't happen. Maybe the search window should do a better job of interrupting the search or something too.
Comment 2•15 years ago
|
||
this is a topcrash for 3.0b4pre (#8). goes back to 3.0b2, possibly further. bp-33abca4c-fea5-425e-a67c-3cd9f2090819 and bp-b123db03-f060-4d7a-b762-2631b2090829 both mention smart folders, eg "was using smart folders and was navigating to one of my trash cans and it crashed while loading one of my imap trash folders" bp-ebc41995-a0bc-4654-bfe9-0e0072090604 "Just did a search on some folders: 2 line items, To or CC and From with the same search string. It wouldn't "stop" so I closed the search dialogue box. Then TB crashed."
Flags: blocking-thunderbird3?
Keywords: topcrash
Summary: crash [@ nsMsgSearchSession::GetNextUrl] due to de-referenced null GetRunningScope() → crash [@ nsMsgSearchSession::GetNextUr()l] due to de-referenced null GetRunningScope()
Assignee | ||
Comment 3•15 years ago
|
||
this should fix it...though I don't know what the underlying cause is.
Assignee: nobody → bienvenu
Attachment #399101 -
Flags: superreview?(bugzilla)
Attachment #399101 -
Flags: review?(bugzilla)
Assignee | ||
Comment 4•15 years ago
|
||
would be good to get this into b4 to see if the crash goes away, or a new one appears...
Flags: blocking-thunderbird3? → blocking-thunderbird3+
Target Milestone: --- → Thunderbird 3.0b4
Updated•15 years ago
|
Summary: crash [@ nsMsgSearchSession::GetNextUr()l] due to de-referenced null GetRunningScope() → crash [@ nsMsgSearchSession::GetNextUrl()] due to de-referenced null GetRunningScope()
Comment 5•15 years ago
|
||
Comment on attachment 399101 [details] [diff] [review] check for null search term Yep, let's try this and see what happens.
Attachment #399101 -
Flags: superreview?(bugzilla)
Attachment #399101 -
Flags: superreview+
Attachment #399101 -
Flags: review?(bugzilla)
Attachment #399101 -
Flags: review+
Assignee | ||
Comment 6•15 years ago
|
||
fix checked in.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Crash Signature: [@ nsMsgSearchSession::GetNextUrl()]
You need to log in
before you can comment on or make changes to this bug.
Description
•