Closed Bug 314974 Opened 19 years ago Closed 15 years ago

crash on restart after upgrade to 1.5rc1 [@ js_SetClassPrototype ]

Categories

(Core :: XPConnect, defect)

1.8 Branch
x86
Windows XP
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: bmo, Unassigned)

References

Details

(Keywords: crash)

Crash Data

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5 firefox restarted after using the update system to go from 1.5 b2 to rc1. as session saver was opening up lots of stuff, i was moving windows around and firefox crashed. talkback: TB11415156W i don't know if this would have been repeatable because tabs that didn't get fully loaded drop out of session saver. i do know that i was able to successfully restart firefox on the second try. Reproducible: Didn't try Steps to Reproduce:
Keywords: crash, talkbackid
Version: 1.0 Branch → 1.5 Branch
Incident ID: 11415156 Stack Signature js_SetClassPrototype 03725a5e Product ID Firefox15 Build ID 2005102519 Trigger Time 2005-11-03 11:58:22.0 Platform Win32 Operating System Windows NT 5.1 build 2600 Module js3250.dll + (0002f6c5) URL visited User Comments Since Last Crash 179 sec Total Uptime 179 sec Trigger Reason Access violation Source File, Line No. c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/js/src/jsobj.c, line 3890 Stack Trace js_SetClassPrototype [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/js/src/jsobj.c, line 3890] XPCNativeWrapper::AttachNewConstructorObject [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/XPCNativeWrapper.cpp, line 1280] nsXPConnect::InitClassesWithNewWrappedGlobal [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/nsXPConnect.cpp, line 558] nsGlobalWindow::SetNewDocument [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp, line 1060] nsGlobalWindow::SetNewDocument [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp, line 809] DocumentViewerImpl::Init [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/layout/base/nsDocumentViewer.cpp, line 633] nsDocShell::Embed [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/docshell/base/nsDocShell.cpp, line 4554] nsDocShell::CreateContentViewer [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/docshell/base/nsDocShell.cpp, line 5659] nsDSURIContentListener::DoContent [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/docshell/base/nsDSURIContentListener.cpp, line 131] nsDocumentOpenInfo::TryContentListener [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/uriloader/base/nsURILoader.cpp, line 776] nsDocumentOpenInfo::DispatchContent [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/uriloader/base/nsURILoader.cpp, line 500] nsDocumentOpenInfo::OnStartRequest [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/uriloader/base/nsURILoader.cpp, line 345] nsHttpChannel::CallOnStartRequest [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp, line 757] nsHttpChannel::OnStartRequest [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp, line 4007] nsInputStreamReadyEvent::EventHandler [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/xpcom/io/nsStreamUtils.cpp, line 120] 0x778b0c24 nsStyleLinkElement::ParseLinkTypes [c:/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/content/base/src/nsStyleLinkElement.cpp, line 153] 0xd910245c
Assignee: nobody → dbradley
Component: General → XPConnect
Product: Firefox → Core
QA Contact: general → pschwartau
Summary: crash on restart after upgrade to 1.5rc1 → crash on restart after upgrade to 1.5rc1 [@ js_SetClassPrototype ]
Version: 1.5 Branch → 1.8 Branch
arg! same thing happened on the restart following my RC2 update :( you'd think i'd learn to save my session saver state so that this could be reproduced and so that i wouldn't lose it... talkback: TB11693607G
Marc, the stacktrace you posted is bug 310508 or bug 315254.
thanks! apparently my overburdened pc tickled two different race conditions :)
I cna confirm the issue when firefox restart with sessionsaver and a lot of windows/tabs opening. I have the same problem in my system. I'm using Linux, so the issue seems platform independent. I can have a dozen of crashes trying to restart firefox with the tabs. Of course, I backup the prefs.js each time, since each crash would lose several tabs/windows. Example: TB14661753Q I paste the traceback, to preserve the history: Stack Signature js_SetClassPrototype() ab7379d0 Product ID Firefox15 Build ID 2006020204 Trigger Time 2006-02-02 08:19:54.0 Platform LinuxIntel Operating System Linux 2.6.13-15.7-smp Module libmozjs.so + (0004ef65) URL visited User Comments Since Last Crash 0 sec Total Uptime 0 sec Trigger Reason SIGSEGV: Segmentation Fault: (signal 11) Source File, Line No. /builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/js/src/jsobj.c, line 3926 Stack Trace js_SetClassPrototype() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/js/src/jsobj.c, line 3926] JS_InitClass() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/js/src/jsapi.c, line 2059] jsj_init_JavaClass() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/js/src/liveconnect/jsj_JavaClass.c, line 736] JSJ_InitJSContext() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/js/src/liveconnect/jsj.c, line 547] nsJVMManager::InitLiveConnectClasses() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/modules/oji/src/nsJVMManager.cpp, line 449] nsJSContext::InitializeLiveConnectClasses() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp, line 848] nsJSContext::InitClasses() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp, line 1979] nsJSContext::InitContext() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp, line 842] nsGlobalWindow::SetNewDocument() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp, line 1145] nsGlobalWindow::SetNewDocument() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp, line 809] DocumentViewerImpl::InitInternal() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/layout/base/nsDocumentViewer.cpp, line 848] DocumentViewerImpl::Init() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/layout/base/nsDocumentViewer.cpp, line 633] nsDocShell::SetupNewViewer() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/docshell/base/nsDocShell.cpp, line 848] nsDocShell::Embed() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/docshell/base/nsDocShell.cpp, line 830] nsDocShell::CreateContentViewer() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/docshell/base/nsDocShell.cpp, line 842] nsDSURIContentListener::DoContent() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/docshell/base/nsDSURIContentListener.cpp, line 131] nsDocumentOpenInfo::TryContentListener() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/uriloader/base/nsURILoader.cpp, line 776] nsDocumentOpenInfo::DispatchContent() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/uriloader/base/nsURILoader.cpp, line 842] nsDocumentOpenInfo::OnStartRequest() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/uriloader/base/nsURILoader.cpp, line 345] nsInputStreamChannel::OnStartRequest() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/netwerk/base/src/nsInputStreamChannel.cpp, line 360] nsInputStreamPump::OnStateStart() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/netwerk/base/src/nsInputStreamPump.cpp, line 385] nsInputStreamPump::OnInputStreamReady() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/netwerk/base/src/nsInputStreamPump.cpp, line 344] nsInputStreamReadyEvent::EventHandler() PL_HandleEvent() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/xpcom/threads/plevent.c, line 689] PL_ProcessPendingEvents() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/xpcom/threads/plevent.c, line 623] nsEventQueueImpl::ProcessPendingEvents() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/xpcom/threads/nsEventQueue.cpp, line 421] event_processor_callback() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp, line 67] libglib-2.0.so.0 + 0x5215f (0x4064015f) libglib-2.0.so.0 + 0x2835c (0x4061635c) libglib-2.0.so.0 + 0x2b7cb (0x406197cb) libglib-2.0.so.0 + 0x2bae7 (0x40619ae7) libgtk-x11-2.0.so.0 + 0x12e861 (0x402f0861) nsAppShell::Run() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp, line 141] nsAppStartup::Run() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp, line 151] XRE_main() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/toolkit/xre/nsAppRunner.cpp, line 2315] main() [/builds/tinderbox/Fx-Mozilla1.8.0/Linux_2.4.21-37.EL_Depend/mozilla/browser/app/nsBrowserApp.cpp, line 62] libc.so.6 + 0x14ea0 (0x40a62ea0)
I had a similar crash: ff went down when sessionsaver was pulling multiple tabs. hasn't happened that often, but here is the incident: TB16115573M here's the info: Incident ID: 16115573 Stack Signature js_SetClassPrototype 0c83888e Product ID Firefox15 Build ID 2006011112 Trigger Time 2006-03-08 17:17:41.0 Platform Win32 Operating System Windows NT 5.1 build 2600 Module js3250.dll + (0002f8e7) URL visited *shrug* [crash] User Comments I just started ff & she blew...sessionsaver is installed and brought up the last set of tabs I had opened when I closed ff last. :( Since Last Crash 389468 sec Total Uptime 1937767 sec Trigger Reason Access violation Source File, Line No. c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/jsobj.c, line 3931 Stack Trace js_SetClassPrototype [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/jsobj.c, line 3931] js_InitObjectClass [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/jsobj.c, line 1840] InitFunctionAndObjectClasses [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/jsapi.c, line 1131] JS_ResolveStandardClass [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/jsapi.c, line 1418] TempGlobalResolve [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/nsXPConnect.cpp, line 461] js_LookupPropertyWithFlags [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/jsobj.c, line 2757] js_LookupProperty [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/jsobj.c, line 2615] js_GetProperty [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/jsobj.c, line 2900] XPCWrappedNativeScope::SetGlobal [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/xpcwrappednativescope.cpp, line 192] XPCWrappedNativeScope::XPCWrappedNativeScope [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/xpcwrappednativescope.cpp, line 162] nsXPConnect::InitClasses [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/nsXPConnect.cpp, line 436] nsXPConnect::InitClassesWithNewWrappedGlobal [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/js/src/xpconnect/src/nsXPConnect.cpp, line 507] nsJSContext::InitContext [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp, line 1605] NS_CreateScriptContext [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/dom/src/base/nsJSEnvironment.cpp, line 2407] nsDOMScriptObjectFactory::NewScriptContext [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/dom/src/base/nsDOMScriptObjectFactory.cpp, line 103] nsDocShell::GetInterface [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/docshell/base/nsDocShell.cpp, line 392] nsWebShell::GetInterface [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/docshell/base/nsWebShell.cpp, line 253] nsCOMPtr_base::assign_from_helper [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/xpcom/build/nsCOMPtr.cpp, line 150] nsFrameLoader::EnsureDocShell [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/content/base/src/nsFrameLoader.cpp, line 375] nsFrameLoader::LoadFrame [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/content/base/src/nsFrameLoader.cpp, line 95] nsGenericHTMLFrameElement::LoadSrc [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/content/html/content/src/nsGenericHTMLElement.cpp, line 3538] nsGenericElement::AppendChildTo [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/content/base/src/nsGenericElement.cpp, line 2803] SinkContext::OpenContainer [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/content/html/document/src/nsHTMLContentSink.cpp, line 1221] HTMLContentSink::OpenContainer [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/content/html/document/src/nsHTMLContentSink.cpp, line 2933] CNavDTD::HandleDefaultStartToken [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/parser/htmlparser/src/CNavDTD.cpp, line 1283] CNavDTD::HandleStartToken [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/parser/htmlparser/src/CNavDTD.cpp, line 1668] CNavDTD::HandleToken [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/parser/htmlparser/src/CNavDTD.cpp, line 955] CNavDTD::BuildModel [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/parser/htmlparser/src/CNavDTD.cpp, line 458] nsParser::BuildModel [c:/builds/tinderbox/Fx-Mozilla1.8.0/WINNT_5.2_Depend/mozilla/parser/htmlparser/src/nsParser.cpp, line 2132]
earthsound, This bug seem a duplicate of Bug 307317, recently resolved. I used to have the same issue with session saver restaring and massive windows/tabs. Current nightly builds solved the bug. Please, try to trigger the bug with an updated build. I would rather suggest to mark this bugs as a duplicated of Bug 307317, recently solved.
brendan: can you let us know if talkback: TB11415156W is indeed a dupe of bug 307317? or is it a dupe of bug 301265?
Keywords: talkbackid
*** Bug 326892 has been marked as a duplicate of this bug. ***
Assignee: dbradley → nobody
QA Contact: pschwartau → xpconnect
Is this still an issue in Firefox 3.5? If it is not, we should set the resolution of the bug to WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
tanner: it never was reproducible :(
Status: RESOLVED → VERIFIED
Crash Signature: [@ js_SetClassPrototype ]
You need to log in before you can comment on or make changes to this bug.