Closed
Bug 335024
Opened 19 years ago
Closed 15 years ago
Firefox 1.5.0.2 shutdown topcrash [@ nsCOMPtr_base::~nsCOMPtr_base() | XPCWrappedNativeProto::`scalar deleting destructor''(unsigned int)] [@ nsCOMPtr_base::~nsCOMPtr_base() | XPCWrappedNativeProto::~XPCWrappedNativeProto()]
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dbaron, Unassigned)
References
Details
(Keywords: crash, topcrash)
Crash Data
Attachments
(2 files)
One of the top crashes for Firefox 1.5.0.2 is a shutdown crash with the following stack:
nsCOMPtr_base::~nsCOMPtr_base() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/xpcom/build/nsCOMPtr.cpp, line 81]
XPCWrappedNativeProto::~XPCWrappedNativeProto() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/xpconnect/src/xpcwrappednativeproto.cpp, line 88]
DyingProtoKiller() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/xpconnect/src/xpcjsruntime.cpp, line 212]
JS_DHashTableEnumerate() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/jsdhash.c, line 621]
XPCJSRuntime::GCCallback() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/xpconnect/src/xpcjsruntime.cpp, line 561]
DOMGCCallback() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp, line 2192]
js_GC() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/jsgc.c, line 1942]
js_ForceGC() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/jsgc.c, line 1514]
js_DestroyContext() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/jscntxt.c, line 284]
JS_DestroyContext() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/jsapi.c, line 933]
mozJSComponentLoader::UnloadAll() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/js/src/xpconnect/loader/mozJSComponentLoader.cpp, line 1008]
nsComponentManagerImpl::UnloadLibraries() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/xpcom/components/nsComponentManager.cpp, line 3114]
nsComponentManagerImpl::Shutdown() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/xpcom/components/nsComponentManager.cpp, line 900]
NS_ShutdownXPCOM_P() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/xpcom/build/nsXPComInit.cpp, line 854]
ScopedXPCOMStartup::~ScopedXPCOMStartup() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/toolkit/xre/nsAppRunner.cpp, line 553]
XRE_main() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/toolkit/xre/nsAppRunner.cpp, line 848]
main() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.ELsmp_Depend/mozilla/browser/app/nsBrowserApp.cpp, line 62]
I'm wondering if the problem here is that the release that we're crashing on (presumably XPCNativeScriptableInfo::mCallback) can trigger a recursive GC and should thus use the deferred releases mechanism.
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Updated•19 years ago
|
Flags: blocking1.8.0.3?
Reporter | ||
Comment 2•19 years ago
|
||
I believe these crashes are showing up in significant numbers on Windows as well (the clear reports are on Linux): although the only the first, fifth, and sixth, and eighth frames of the stack are identifiable. (I've seen stacks reliably mangled in similar ways for other crashes on Windows.)
OS: Linux → All
Hardware: PC → All
Comment 3•19 years ago
|
||
don't know if it is of any use, but I like the links into LXR
Comment 4•19 years ago
|
||
Looks like this is missing 1.8.0.3, try 1.8.0.4
Flags: blocking1.8.0.4?
Flags: blocking1.8.0.3?
Flags: blocking1.8.0.3-
Comment 5•18 years ago
|
||
Minusing, no patch and a shutdown crash isn't critical enough to push hard for.
Flags: blocking1.8.0.5? → blocking1.8.0.5-
Comment 6•18 years ago
|
||
Talkback TB21571362
It's probably the same problem.
Reporter | ||
Comment 7•18 years ago
|
||
A number of the user comments for this stack don't mention shutdown; they mention sites like gmail, google.com, etc. See:
http://talkback-public.mozilla.org/search/start.jsp?search=1&searchby=stacksig&match=contains&searchfor=nsCOMPtr_base::~nsCOMPtr_base&vendor=MozillaOrg&product=Firefox2&platform=All&buildid=&sdate=&stime=&edate=&etime=&sortby=bbid
Reporter | ||
Comment 8•18 years ago
|
||
Actually, never mind the previous comment. The stacks are different; the ones not within XPCOM shutdown are destroying a wrapped native, not a wrapped native proto.
Updated•18 years ago
|
Flags: blocking1.8.1?
Updated•18 years ago
|
Flags: blocking1.8.1? → blocking1.8.1-
Updated•18 years ago
|
Assignee: dbradley → nobody
Updated•18 years ago
|
QA Contact: pschwartau → xpconnect
A windows user with incident - http://talkback-public.mozilla.org/search/start.jsp?search=2&type=iid&id=26109651 - reported that disabling an extension called "My Global Search" stopped the crashing on exit. Apparently it appeared automatically after installing BearShare, and uninstalling BearShare didn't remove the malware.
References:
http://security-central.us/SafeHex/prevention.htm
http://research.sunbelt-software.com/threatdisplay.aspx?name=MyGlobalSearch.Toolbar&threatid=41891
http://www.file.net/process/mgsbar.dll.html
http://www.spyware-browser.com/items/-/9184/
Updated•17 years ago
|
Version: Trunk → 1.8 Branch
Comment 10•15 years ago
|
||
Very few of these crashes nowadays. It sounds like dbaron never identified a likely cause (except maybe the last paragraph of comment 0?).
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Summary: Firefox 1.5.0.2 shutdown topcrash [@ nsCOMPtr_base::~nsCOMPtr_base()] called [@ XPCWrappedNativeProto::~XPCWrappedNativeProto()] → Firefox 1.5.0.2 shutdown topcrash [@ nsCOMPtr_base::~nsCOMPtr_base() | XPCWrappedNativeProto::`scalar deleting destructor''(unsigned int)] [@ nsCOMPtr_base::~nsCOMPtr_base() | XPCWrappedNativeProto::~XPCWrappedNativeProto()]
See Also: → https://launchpad.net/bugs/72142
Assignee | ||
Updated•13 years ago
|
Crash Signature: [@ nsCOMPtr_base::~nsCOMPtr_base() | XPCWrappedNativeProto::`scalar deleting destructor''(unsigned int)]
[@ nsCOMPtr_base::~nsCOMPtr_base() | XPCWrappedNativeProto::~XPCWrappedNativeProto()]
You need to log in
before you can comment on or make changes to this bug.
Description
•