crash in nsXPCWrappedJS::CallMethod via ImportMailThread, accessing/calling nsXPCWrappedJS off-main-thread after nsMsgFolderNotificationService::NotifyFolderDeleted. Mostly importing from Eudora and Outlook
Categories
(MailNews Core :: Import, defect)
Tracking
(thunderbird38 wontfix, thunderbird39 affected, thunderbird40 affected, thunderbird41 affected, thunderbird_esr24?, thunderbird_esr3840+ affected)
People
(Reporter: wsmwk, Unassigned)
References
Details
(Keywords: crash, testcase-wanted)
Crash Data
Attachments
(1 file)
6.64 KB,
text/plain
|
Details |
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Updated•11 years ago
|
Reporter | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Updated•11 years ago
|
Reporter | ||
Comment 8•10 years ago
|
||
Reporter | ||
Comment 9•9 years ago
|
||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Reporter | ||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Comment 14•9 years ago
|
||
Comment 15•9 years ago
|
||
Comment 16•9 years ago
|
||
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
Reporter | ||
Comment 19•9 years ago
|
||
Comment 20•9 years ago
|
||
Updated•9 years ago
|
Comment 21•9 years ago
|
||
Reporter | ||
Comment 22•9 years ago
|
||
Comment 23•9 years ago
|
||
Comment 24•9 years ago
|
||
Comment 25•9 years ago
|
||
Comment 26•9 years ago
|
||
Comment 27•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Reporter | ||
Comment 28•6 years ago
|
||
Reporter | ||
Comment 29•6 years ago
|
||
Reporter | ||
Comment 30•5 years ago
|
||
In version 68., the crash rate for nsXPCWrappedJS::CallMethod has increased 100x (it was also a steady crash for 60.) - (see the graph) https://crash-stats.mozilla.org/signature/?signature=nsXPCWrappedJS%3A%3ACallMethod&date=%3E%3D2019-06-15T15%3A02%3A00.000Z&date=%3C2019-09-15T15%3A02%3A00.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_columns=startup_crash&_sort=-date&page=3#graphs
75% of the crashes I sampled have import on the stack. example bp-937b764c-470d-4ade-98e8-50ad30190915
It's not suprising to see an increase in import crashes on a new release - users expect/hope new versions will fix their import problems and give it another try. But 100x is exceptionally high, quite extraordinary.
Reporter | ||
Comment 32•4 years ago
|
||
per bug 1175168 comment 14, most of the import related crashes are gone, probably due to fixing Bug 272292 - unable to import Seamonkey data into Thunderbird - in 78.1.1 (78.1.0 still has the high crash rate)
Most remaining signatures of nsXPCWrappedJS::CallMethod do not have outlook on the stack but a few do
bp-2bae85b8-bbb9-4d36-81e7-7c3c70201229 78.6.0
0 xul.dll nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) js/xpconnect/src/XPCWrappedJSClass.cpp:753
1 xul.dll PrepareAndDispatch(nsXPTCStubBase*, unsigned int, unsigned int*, unsigned int*) xpcom/reflect/xptcall/md/win32/xptcstubs.cpp:88
2 xul.dll SharedStub() xpcom/reflect/xptcall/md/win32/xptcstubs.cpp:110
3 xul.dll nsAbOutlookDirectory::ExecuteQuery(_SRestriction&, nsIAbDirSearchListener*, int, int, int) comm/mailnews/addrbook/src/nsAbOutlookDirectory.cpp:941
Comment 33•4 years ago
|
||
MOZ_CRASH Reason (Sanitized): MOZ_RELEASE_ASSERT(NS_IsMainThread()) (nsXPCWrappedJS::CallMethod called off main thread), starting off from https://hg.mozilla.org/releases/comm-esr78/file/tip/mailnews/addrbook/src/nsAbOutlookDirectory.cpp#l941
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 34•3 years ago
|
||
Hard to say, but looks like version 91.3.0 crash rate for nsXPCWrappedJS::AddRef was significantly lower than version 78 (in early November 2021 just before crash-stats stopped accepting TB crash reports)
Crash report: https://crash-stats.mozilla.org/report/index/96caf3d0-4eea-44f7-a083-3b9ac0211109 91.3.0
MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(NS_IsMainThread()) (nsXPCWrappedJS::AddRef called off main thread)
Top 10 frames of crashing thread:
0 xul.dll nsXPCWrappedJS::AddRef js/xpconnect/src/XPCWrappedJS.cpp:240
1 xul.dll AddRefThunk ipc/mscom/VTableBuilder.c:22
2 xul.dll nsMsgMailNewsUrl::~nsMsgMailNewsUrl comm/mailnews/base/src/nsMsgMailNewsUrl.cpp:73
3 xul.dll [thunk]: virtual void* __thiscall nsImapUrl::`vector deleting destructor'
4 xul.dll nsMsgMailNewsUrl::Release comm/mailnews/base/src/nsMsgMailNewsUrl.cpp:81
5 xul.dll nsImapUrl::Release comm/mailnews/imap/src/nsImapUrl.cpp:81
6 xul.dll nsImapProtocol::~nsImapProtocol comm/mailnews/imap/src/nsImapProtocol.cpp:669
7 xul.dll [thunk]: virtual void* __thiscall nsImapProtocol::`vector deleting destructor'
8 xul.dll mozilla::net::HttpBaseChannel::Release netwerk/protocol/http/HttpBaseChannel.cpp:383
9 xul.dll nsMsgAsyncWriteProtocol::Release comm/mailnews/base/src/nsMsgProtocol.cpp:1153
nsXPCWrappedJS::CallMethod (still) no longer occurs.
Comment 35•3 years ago
|
||
nsImapProtocol
is no longer destroyed on non-main thread after landing Bug 1742991. So comment #34's crash will be fixed by it.
Reporter | ||
Comment 36•2 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #35)
nsImapProtocol
is no longer destroyed on non-main thread after landing Bug 1742991. So comment #34's crash will be fixed by it.
Agree, => WFM
Description
•