Skip to content

Instantly share code, notes, and snippets.

@nmaier
Created May 21, 2012 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmaier/2763057 to your computer and use it in GitHub Desktop.
Save nmaier/2763057 to your computer and use it in GitHub Desktop.
gdb traces
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCWrappedNative::WrapNewGlobal
#4 nsXPConnect::InitClassesWithNewWrappedGlobal
#5 mozJSComponentLoader::GlobalForLocation
#6 mozJSComponentLoader::LoadModule
#7 nsComponentManagerImpl::KnownModule::Load
#8 nsFactoryEntry::GetFactory
#9 nsComponentManagerImpl::CreateInstance
#10 nsJSCID::CreateInstance
#11 NS_InvokeByIndex_P
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCWrappedNative::WrapNewGlobal
#4 nsXPConnect::InitClassesWithNewWrappedGlobal
#5 mozJSComponentLoader::GlobalForLocation
#6 mozJSComponentLoader::LoadModule
#7 nsComponentManagerImpl::KnownModule::Load
#8 nsFactoryEntry::GetFactory
#9 nsComponentManagerImpl::CreateInstanceByContractID
#10 nsComponentManagerImpl::GetServiceByContractID
#11 CallGetService
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 nsXULPDGlobalObject::EnsureScriptEnvironment
#4 nsXULPDGlobalObject::GetScriptContext
#5 nsXULPrototypeScript::Compile
#6 XULContentSinkImpl::HandleEndElement
#7 nsExpatDriver::HandleEndElement
#8 Driver_HandleEndElement
#9 doContent
#10 contentProcessor
#11 doProlog
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 nsXBLDocGlobalObject::EnsureScriptEnvironment
#4 nsXBLDocGlobalObject::GetContext
#5 nsXBLDocGlobalObject::GetScriptContext
#6 nsIScriptGlobalObject::GetContext
#7 nsXBLPrototypeBinding::Write
#8 WriteBinding
#9 hashEnumerate
#10 PL_DHashTableEnumerate
#11 nsHashtable::Enumerate
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 xpc_CreateSandboxObject
#4 nsXPCComponents_utils_Sandbox::CallOrConstruct
#5 nsXPCComponents_utils_Sandbox::Construct
#6 XPC_WN_Helper_Construct
#7 js::CallJSNative
#8 js::CallJSNativeConstructor
#9 js::InvokeConstructorKernel
#10 js::Interpret
#11 js::RunScript
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCJSContextStack::GetSafeJSContext
#4 nsXPConnect::GetSafeJSContext
#5 nsScriptSecurityManager::GetSafeJSContext
#6 nsScriptSecurityManager::Init
#7 nsScriptSecurityManager::GetScriptSecurityManager
#8 nsContentUtils::Init
#9 nsLayoutStatics::Initialize
#10 Initialize
#11 nsComponentManagerImpl::KnownModule::Load
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCWrappedNative::WrapNewGlobal
#4 nsXPConnect::InitClassesWithNewWrappedGlobal
#5 nsFrameScriptExecutor::InitTabChildGlobalInternal
#6 nsInProcessTabChildGlobal::InitTabChildGlobal
#7 nsInProcessTabChildGlobal::Init
#8 nsInProcessTabChildGlobal::LoadFrameScript
#9 nsAsyncScriptLoad::Run
#10 nsContentUtils::RemoveScriptBlocker
#11 PresShell::DidCauseReflow
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCWrappedNative::WrapNewGlobal
#4 nsXPConnect::InitClassesWithNewWrappedGlobal
#5 nsFrameScriptExecutor::InitTabChildGlobalInternal
#6 nsInProcessTabChildGlobal::InitTabChildGlobal
#7 nsInProcessTabChildGlobal::Init
#8 nsInProcessTabChildGlobal::LoadFrameScript
#9 nsAsyncScriptLoad::Run
#10 nsContentUtils::RemoveScriptBlocker
#11 nsDocument::EndUpdate
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCWrappedNative::WrapNewGlobal
#4 nsXPConnect::InitClassesWithNewWrappedGlobal
#5 mozJSComponentLoader::GlobalForLocation
#6 mozJSComponentLoader::ImportInto
#7 mozJSComponentLoader::Import
#8 nsXPCComponents_Utils::Import
#9 NS_InvokeByIndex_P
#10 CallMethodHelper::Invoke
#11 CallMethodHelper::Call
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 nsXULPDGlobalObject::EnsureScriptEnvironment
#4 nsXULPDGlobalObject::GetScriptContext
#5 nsXULPrototypeScript::Compile
#6 nsXULDocument::OnStreamComplete
#7 nsStreamLoader::OnStopRequest
#8 nsBaseChannel::OnStopRequest
#9 nsInputStreamPump::OnStateStop
#10 nsInputStreamPump::OnInputStreamReady
#11 nsInputStreamReadyEvent::Run
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCWrappedNative::WrapNewGlobal
#4 nsXPConnect::InitClassesWithNewWrappedGlobal
#5 nsJSContext::CreateNativeGlobalForInner
#6 nsGlobalWindow::SetNewDocument
#7 DocumentViewerImpl::InitInternal
#8 DocumentViewerImpl::Init
#9 nsDocShell::SetupNewViewer
#10 nsDocShell::Embed
#11 nsDocShell::CreateContentViewer
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCWrappedNative::WrapNewGlobal
#4 nsXPConnect::InitClassesWithNewWrappedGlobal
#5 mozJSComponentLoader::GlobalForLocation
#6 mozJSComponentLoader::LoadModule
#7 nsComponentManagerImpl::KnownModule::Load
#8 nsFactoryEntry::GetFactory
#9 nsComponentManagerImpl::CreateInstance
#10 nsComponentManagerImpl::GetService
#11 nsJSCID::GetService
#1 CreateNewCompartment
#2 xpc_CreateGlobalObject
#3 XPCWrappedNative::WrapNewGlobal
#4 nsXPConnect::InitClassesWithNewWrappedGlobal
#5 nsJSContext::CreateNativeGlobalForInner
#6 nsGlobalWindow::SetNewDocument
#7 DocumentViewerImpl::InitInternal
#8 DocumentViewerImpl::Init
#9 nsDocShell::SetupNewViewer
#10 nsDocShell::Embed
#11 nsDocShell::CreateAboutBlankContentViewer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment