Closed Bug 650615 Opened 14 years ago Closed 9 years ago

crash @ nsMsgMailNewsUrl::SetUrlState. Often when running filters.

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
All
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: Usul, Unassigned)

References

()

Details

(Keywords: crash, reproducible, Whiteboard: [gs][steps:comment 6])

Crash Data

This bug was filed from the Socorro interface and is report bp-1d257df8-2b42-48bb-9d99-6cf982110417 . ============================================================= Got that just a little bit after starting TB up. 0 XUL nsMsgMailNewsUrl::SetUrlState 1 XUL nsImapMailFolder::SetUrlState nsImapMailFolder.cpp:6771 2 XUL NS_InvokeByIndex_P xptcinvoke_unixish_x86.cpp:179 3 XUL nsProxyObjectCallInfo::Run nsProxyEvent.cpp:181 4 XUL nsThread::ProcessNextEvent nsThread.cpp:633 5 XUL NS_ProcessPendingEvents_P nsThreadUtils.cpp:200 6 XUL nsBaseAppShell::NativeEventCallback nsBaseAppShell.cpp:132 7 XUL nsAppShell::ProcessGeckoEvents nsAppShell.mm:399 8 CoreFoundation CFRunLoopRunSpecific 9 CoreFoundation CFRunLoopRunInMode 10 HIToolbox RunCurrentEventLoopInMode 11 HIToolbox ReceiveNextEventCommon 12 HIToolbox BlockUntilNextEventMatchingListInMode 13 AppKit _DPSNextEvent 14 AppKit -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 15 AppKit -[NSApplication run] 16 XUL nsAppShell::Run nsAppShell.mm:746 17 XUL nsAppStartup::Run nsAppStartup.cpp:220 18 XUL XRE_main nsAppRunner.cpp:3786 19 thunderbird-bin main nsMailApp.cpp:104 20 thunderbird-bin thunderbird-bin@0xc75 21 @0x1
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
ludo, roughly how many filters do you have on your inbox? pretty sure most or all of the nsMsgMailNewsUrl::SetUrlState(int, unsigned int) crashes are the same. for example... bp-392d2912-0292-4aaa-a897-c47f92110413 EXCEPTION_ACCESS_VIOLATION_READ 0x0 0 thunderbird.exe nsMsgMailNewsUrl::SetUrlState mailnews/base/util/nsMsgMailNewsUrl.cpp:132 1 thunderbird.exe nsImapMailFolder::SetUrlState mailnews/imap/src/nsImapMailFolder.cpp:6700 2 xpcom_core.dll NS_InvokeByIndex_P xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp:102 bp-7429a182-1f28-4268-bce2-4213c2110413 bp-62265140-a883-4dc2-a224-fc7ef2110323 (kiwi) also * @ nsCOMPtr<nsISelection>::nsCOMPtr<nsISelection>(nsCOMPtr<nsISelection> const&) | nsMsgMailNewsUrl::SetUrlState(int, unsigned int). bp-279f3324-462c-40b6-8fdc-560e52110412 * @ nsCOMPtr_base::~nsCOMPtr_base | nsMsgMailNewsUrl::SetUrlState bp-4e73e6a6-9e79-424a-870f-f36d92110410 (trunk crash) * @ nsCOMPtr<nsIUrlListener>::nsCOMPtr | nsMsgMailNewsUrl::SetUrlState bp-c375c0f3-074e-4c7d-9296-d77d52110401 *
OS: Mac OS X → All
Summary: crash [@ nsMsgMailNewsUrl::SetUrlState] → crash [@ nsMsgMailNewsUrl::SetUrlState]. [@ nsMsgMailNewsUrl::SetUrlState(int, unsigned int)]. [@ nsCOMPtr<nsISelection>::nsCOMPtr<nsISelection>(nsCOMPtr<nsISelection> const&) | nsMsgMailNewsUrl::SetUrlState(int, unsigned int)]
(In reply to comment #1) > ludo, roughly how many filters do you have on your inbox? Not too much - issue is I can't tell which imap account triggered the crash.
Crash Signature: [@ nsMsgMailNewsUrl::SetUrlState] [@ nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] [@ nsCOMPtr<nsISelection>::nsCOMPtr<nsISelection>(nsCOMPtr<nsISelection> const&) | nsMsgMailNewsUrl::SetUrlState(int, unsigned int)]
ludo, do you still see this crash? aceman, these other crashes also possibly involve filters bp-85cd4181-d37e-4b36-b6bc-929282130709 nsCOMPtr_base::~nsCOMPtr_base | nsTArray<nsCOMPtr<nsIUrlListener>, nsTArrayDefaultAllocator>::RemoveElementsAt | nsMsgMailNewsUrl::SetUrlState bp-3762a6d7-2ffc-4839-a4c1-299c22130620 nsMsgMailNewsUrl::SetUrlState(bool, unsigned int)
Crash Signature: [@ nsMsgMailNewsUrl::SetUrlState] [@ nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] [@ nsCOMPtr<nsISelection>::nsCOMPtr<nsISelection>(nsCOMPtr<nsISelection> const&) | nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] → [@ nsMsgMailNewsUrl::SetUrlState] [@ nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] [@ nsCOMPtr<nsISelection>::nsCOMPtr<nsISelection>(nsCOMPtr<nsISelection> const&) | nsMsgMailNewsUrl::SetUrlState(int, unsigned int)]
Flags: needinfo?(ludovic)
Flags: needinfo?(acelists)
(In reply to Wayne Mery (:wsmwk) from comment #3) > ludo, do you still see this crash? nope Haven't seen it in a while but changed my profile 3 or 4time since.
Flags: needinfo?(ludovic)
I couldn't find out anything useful.
Flags: needinfo?(acelists)
user in bp-46b8774a-18e6-43dc-ac94-bf0122130312 reports "the trick is running one filter in one e-mail account while another is still running in another e-mail account. eg. Apparently if one filter is moving mail from remote IMAP inbox A to remote IMAP inbox B and at the same time to manually run a filter on inbox B to move some of those very same e-mails to some local folder C, you get a crash" bp-48bbb167-cca4-4740-90f0-0ee3f2130829 jchase's take on it is " Thunderbird always crashes when I am moving an email from one inbox to the other, when the email being moved over is the last in the inbox. "
Crash Signature: [@ nsMsgMailNewsUrl::SetUrlState] [@ nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] [@ nsCOMPtr<nsISelection>::nsCOMPtr<nsISelection>(nsCOMPtr<nsISelection> const&) | nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] → [@ nsMsgMailNewsUrl::SetUrlState] [@ nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] [@ nsCOMPtr<nsISelection>::nsCOMPtr<nsISelection>(nsCOMPtr<nsISelection> const&) | nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] [@ nsCOMPtr_base::~nsCOMPtr_base…
Flags: needinfo?(acelists)
Summary: crash [@ nsMsgMailNewsUrl::SetUrlState]. [@ nsMsgMailNewsUrl::SetUrlState(int, unsigned int)]. [@ nsCOMPtr<nsISelection>::nsCOMPtr<nsISelection>(nsCOMPtr<nsISelection> const&) | nsMsgMailNewsUrl::SetUrlState(int, unsigned int)] → crash @ nsMsgMailNewsUrl::SetUrlState. Often when running filters.
I have no idea yet of this low level stuff.
Flags: needinfo?(acelists)
Depends on: 871622
John, can you reproduce based on comment 6, or refine the steps?
Flags: needinfo?(johnlgalt)
Keywords: reproducible
Whiteboard: [gs] → [gs][steps:comment 6]
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
Crash Signature: , unsigned int)] [@ nsCOMPtr_base::~nsCOMPtr_base | nsTArray<nsCOMPtr<nsIUrlListener>, nsTArrayDefaultAllocator>::RemoveElementsAt | nsMsgMailNewsUrl::SetUrlState] → , unsigned int)] [@ nsCOMPtr_base::~nsCOMPtr_base | nsTArray<nsCOMPtr<nsIUrlListener>, nsTArrayDefaultAllocator>::RemoveElementsAt | nsMsgMailNewsUrl::SetUrlState] [@ nsCOMPtr<T>::nsCOMPtr<T> | nsMsgMailNewsUrl::SetUrlState] [@ nsCOMPtr_base::~nsCOMPtr…
Only 3 crashes in past 7. Without a testcase this isn't worth keeping open
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(johnlgalt)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.