Closed Bug 89186 Opened 24 years ago Closed 22 years ago

XPConnect is being called on a scope without a 'Components' property!

Categories

(Other Applications Graveyard :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: rginda)

References

Details

Attachments

(1 file)

40.42 KB, text/plain
Details
092branch debug build w2k, launch chatzilla, /attach moznot, nick beokey, /exit This assert repeats a lot. /content/chatzilla.xul /content/outputwindow.html WEBSHELL- = 9 WEBSHELL- = 8 ###!!! ASSERTION: XPConnect is being called on a scope without a 'Components' property! This is pretty much always bad. It usually means that native code is making a callback to an interface implemented in JavaScript, but the document where the JS object was created has already been cleared and the global properties of that document's window are *gone*. Generally this indicates a problem that should be addressed in the design and use of the callback code. : 'Error', file F:\build\beonex\mozilla\js\src\xpconnect\src\xpcwrappednativescope.cpp, line 515 ###!!! Break: at file F:\build\beonex\mozilla\js\src\xpconnect\src\xpcwrappednativescope.cpp, line 5 15 NTDLL! 77fa018c() nsDebug::Assertion(const char * 0x0109c1c4 msg, const char * 0x100e32dc, const char * 0x010b05e8, int 515) line 290 + 13 bytes nsDebug::Error(const char * 0x0109c1c4 msg, const char * 0x010b05e8, int 515) line 458 + 22 bytes DEBUG_CheckForComponentsInScope(XPCCallContext & {...}, JSObject * 0x0475b350, int 0) line 515 + 21 bytes XPCWrappedNativeScope::FindInJSObjectScope(XPCCallContext & {...}, JSObject * 0x0475b350, int 0) line 557 + 17 bytes XPCConvert::NativeInterface2JSObject(XPCCallContext & {...}, nsIXPConnectJSObjectHolder * * 0x0012f514, nsISupports * 0x06d2f590, const nsID * 0x06edd790, JSObject * 0x0475a4b8, unsigned int * 0x00000000) line 784 + 15 bytes XPCConvert::NativeData2JS(XPCCallContext & {...}, long * 0x0012f8ec, const void * 0x0012fa88, const nsXPTType & {...}, const nsID * 0x06edd790, JSObject * 0x0475a4b8, unsigned int * 0x00000000) line 342 + 49 bytes nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJSClass * const 0x06d2cf20, nsXPCWrappedJS * 0x06d2be30, unsigned short 5, const nsXPTMethodInfo * 0x00d62188, nsXPTCMiniVariant * 0x0012fa88) line 872 + 46 bytes nsXPCWrappedJS::CallMethod(nsXPCWrappedJS * const 0x06d2be30, unsigned short 5, const nsXPTMethodInfo * 0x00d62188, nsXPTCMiniVariant * 0x0012fa88) line 427 PrepareAndDispatch(nsXPTCStubBase * 0x06d2be30, unsigned int 5, unsigned int * 0x0012fb38, unsigned int * 0x0012fb28) line 100 + 31 bytes SharedStub() line 124 nsOnDataWritableEvent::HandleEvent() line 135 + 73 bytes nsARequestObserverEvent::HandlePLEvent(PLEvent * 0x06f01c44) line 64 PL_HandleEvent(PLEvent * 0x06f01c44) line 590 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00d99900) line 520 + 9 bytes _md_EventReceiverProc(HWND__ * 0x00020626, unsigned int 49412, unsigned int 0, long 14260480) line 1071 + 9 bytes USER32! 77e12e98() USER32! 77e130e0() USER32! 77e15824() nsAppShellService::Run(nsAppShellService * const 0x00e2de60) line 419 main1(int 1, char * * 0x00485fb0, nsISupports * 0x00000000) line 1161 + 32 bytes main(int 1, char * * 0x00485fb0) line 1464 + 37 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e97d08() i upgraded to cz083 it didn't solve my problems
Status: NEW → ASSIGNED
*** Bug 118811 has been marked as a duplicate of this bug. ***
I don't see this on Linux. Does anyone see this currently on Windows (or any other platform)? If so, please give exact steps to reproduce it.
QA Contact: mozilla → samuel
i just hit this while quiting (freebsd, cvs build from yesterday) solaris sparc + w2k x86 = all/all.
OS: Windows 2000 → All
Hardware: PC → All
Attached file log
here's a log, please excuse my foibles, i still don't know what to look for when it comes to things like this. It looks like the CEvent failures and the Components assertions are related. dbradley said that there is some dom logic to 'clean' the global object. what we're dealing with here is obviously an edge case, so anything is possible :). After he mentioned that, i looked back and noticed that indeed there is a mention of /dom/ right before this problem happens :-)
Is this still happening?
i haven't used a cvs build in a while
This doesn't seem to happen anymore. Reopen if you see it.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: