If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[@nsXULPrototypeScript::Compile] [fastLoadService==0]->GetOutputStream(getter_AddRefs(objectOutput));

VERIFIED WORKSFORME

Status

()

Core
XUL
--
critical
VERIFIED WORKSFORME
16 years ago
9 years ago

People

(Reporter: timeless, Assigned: brendan)

Tracking

Trunk
x86
FreeBSD
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
I was shuting down mozilla with debugger open debugging mailnews. 

nsPluginHostImpl::Observe "quit-application"
vnk: Application venkman, 'JavaScript Debugger' unloading.
+++ JavaScript debuging hooks removed.
WEBSHELL- = 7
WEBSHELL- = 6
WEBSHELL- = 5
WARNING: requested removal of nonexistent window
, file /home/timeless/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 852
WEBSHELL- = 4
WEBSHELL- = 3
WEBSHELL- = 2
WEBSHELL- = 1
WEBSHELL- = 0
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "display is not defined" {file: "chrome://venkman/content/venkman-debugger.js" line: 121}]' when
 calling method: [jsdIExecutionHook::onExecute]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "J
S frame :: chrome://messenger/content/mailWindowOverlay.js :: <TOP_LEVEL> :: line 39"  data: yes]
************************************************************
WARNING: Failed to get a global Object Owner, file /home/timeless/mozilla/dom/src/base/nsJSEnvironment.cpp, line 124
### nsCacheProfilePrefObserver::Observe [topic=xpcom-shutdown data=]
nsPluginHostImpl::Observe "xpcom-shutdown"
Creating new instance on shutdown. Denied.
  ContractID: @mozilla.org/timer;1
         IID: {497eed20-b740-11d1-9bc3-0060088ca6b3}
nsPluginHostImpl dtor
Getting service on shutdown. Denied.
  ContractID: @mozilla.org/observer-service;1
         IID: {d07f5192-e3d1-11d2-8acd-00105a1b8860}
Getting service on shutdown. Denied.
  ContractID: @mozilla.org/observer-service;1
         IID: {d07f5192-e3d1-11d2-8acd-00105a1b8860}
Getting service on shutdown. Denied.
         CID: {a6cf9112-15b3-11d2-932e-00805f8add32}
         IID: {a6cf9111-15b3-11d2-932e-00805f8add32}
Getting service on shutdown. Denied.
         CID: {c943093c-ac94-4bee-840b-8b5a6e314fa7}
         IID: {759e475e-0c23-4dbf-b1b8-78c9369e3072}
###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../../dist/include/xpcom/nsC
OMPtr.h, line 650
###!!! Break: at file ../../../../dist/include/xpcom/nsCOMPtr.h, line 650

rginda doesn't think the venkman warning is really his fault. that's fine w/ me, i'm currently more concerned with the crash :)

0x2912c970 in nsXULPrototypeScript::Compile (this=0x9288680, aText=0x817a000, aTextLength=24213, aURI=0x83c5600, aLineNo=1,
    aDocument=0x8f36400, aPrototypeDocument=0x8fe2240) at /home/timeless/mozilla/content/xul/content/src/nsXULElement.cpp:5230
5230            fastLoadService->GetOutputStream(getter_AddRefs(objectOutput));
Current language:  auto; currently c++
(gdb) p fastLoadService
$1 = {mRawPtr = 0x0}
(gdb) l
5225
5226            // XXXbe temporary, until we serialize/deserialize everything from the
5227            //       nsXULPrototypeDocument on down...
5228            nsCOMPtr<nsIFastLoadService> fastLoadService(do_GetFastLoadService());
5229            nsCOMPtr<nsIObjectOutputStream> objectOutput;
5230            fastLoadService->GetOutputStream(getter_AddRefs(objectOutput));
5231            if (objectOutput) {
5232                rv = Serialize(objectOutput, context);
5233                if (NS_FAILED(rv))
5234                    nsXULDocument::AbortFastLoads();
(gdb) where
#0  0x2912c970 in nsXULPrototypeScript::Compile (this=0x9288680, aText=0x817a000, aTextLength=24213, aURI=0x83c5600, aLineNo=1,
    aDocument=0x8f36400, aPrototypeDocument=0x8fe2240) at /home/timeless/mozilla/content/xul/content/src/nsXULElement.cpp:5230
#1  0x29156d40 in nsXULDocument::OnStreamComplete (this=0x8f36400, aLoader=0x82fd200, context=0x0, aStatus=0, stringLen=24213,
    string=0x8556000 "/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\n * The contents of this file ar
e subject to the Netscape Public\n * License Version 1.1 (the \"License\"); you may not use thi"...)
    at /home/timeless/mozilla/content/xul/document/src/nsXULDocument.cpp:6107
#2  0x28a4c214 in nsStreamLoader::OnStopRequest (this=0x82fd200, request=0x8380080, ctxt=0x0, aStatus=0)
    at /home/timeless/mozilla/netwerk/base/src/nsStreamLoader.cpp:161
#3  0x28aa503d in nsJARChannel::OnStopRequest (this=0x8380080, jarExtractionTransport=0x83d9304, context=0x0, aStatus=0)
    at /home/timeless/mozilla/netwerk/protocol/jar/src/nsJARChannel.cpp:611
#4  0x28ac2399 in nsOnStopRequestEvent::HandleEvent (this=0x828bc80)
    at /home/timeless/mozilla/netwerk/base/src/nsRequestObserverProxy.cpp:212
#5  0x28a34938 in nsARequestObserverEvent::HandlePLEvent (plev=0x828bc80)
    at /home/timeless/mozilla/netwerk/base/src/nsRequestObserverProxy.cpp:115
#6  0x282cf871 in PL_HandleEvent (self=0x828bc80) at /home/timeless/mozilla/xpcom/threads/plevent.c:590
#7  0x282cf658 in PL_ProcessPendingEvents (self=0x8179940) at /home/timeless/mozilla/xpcom/threads/plevent.c:520
#8  0x282d1b54 in nsEventQueueImpl::ProcessPendingEvents (this=0x8179900)
    at /home/timeless/mozilla/xpcom/threads/nsEventQueue.cpp:388
#9  0x282d1c06 in nsEventQueueImpl::ProcessPendingEvents (this=0x8e72000)
    at /home/timeless/mozilla/xpcom/threads/nsEventQueue.cpp:394
#10 0x282d1c06 in nsEventQueueImpl::ProcessPendingEvents (this=0x90d9680)
    at /home/timeless/mozilla/xpcom/threads/nsEventQueue.cpp:394
#11 0x282d1c06 in nsEventQueueImpl::ProcessPendingEvents (this=0x92a9540)
    at /home/timeless/mozilla/xpcom/threads/nsEventQueue.cpp:394
#12 0x28263c5c in NS_ShutdownXPCOM (servMgr=0x0) at /home/timeless/mozilla/xpcom/build/nsXPComInit.cpp:552
#13 0x0805b9da in main (argc=1, argv=0xbfbff868) at /home/timeless/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1633
#14 0x08055cc9 in _start ()
(gdb) up 12
#12 0x28263c5c in NS_ShutdownXPCOM (servMgr=0x0) at /home/timeless/mozilla/xpcom/build/nsXPComInit.cpp:552
552             currentQ->ProcessPendingEvents();
(gdb) l
547         // Shutdown global servicemanager
548         nsComponentManagerImpl::gComponentManager->FreeServices();
549         nsServiceManager::ShutdownGlobalServiceManager(nsnull);
550
551         if (currentQ) {
552             currentQ->ProcessPendingEvents();
553             currentQ = 0;
554         }
555
556         // Release the directory service
this is the second event queue session, in this the component manager et al are unavailable, fastload should have done its work in the first call.
timeless: problem still there?

Comment 2

15 years ago
No response, marking WFM.

pi
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 3

15 years ago
This was fixed in revision 1.411
date: 2002/05/03 03:04:23;  author: ben%netscape.com;  state: Exp;  lines: +337 -68
[Chrome FastLoad]
Implement XUL Prototype Document and Prototype Element
serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt
Status: RESOLVED → VERIFIED
(Reporter)

Updated

9 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.