Closed Bug 690340 Opened 14 years ago Closed 6 years ago

336960-1.html still crashes [@ nsFrameLoader::Show] when loaded from a resource:// url

Categories

(Core :: XBL, defect)

x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

When loading that crashtest from a resource:// url, I crash with Fennec trunk on Windows desktop. I assume this is probably also the case with Firefox. I guess I could make a simple extension that would let you load that crashtest like this: resource://crashtest/336960-1.html I can do that, if wanted. https://crash-stats.mozilla.com/report/index/97c64492-fa38-4571-8dff-6d9f62110929 0 xul.dll nsFrameLoader::Show content/base/src/nsFrameLoader.cpp:827 1 xul.dll nsSubDocumentFrame::ShowViewer layout/generic/nsSubDocumentFrame.cpp:232 2 xul.dll AsyncFrameInit::Run layout/generic/nsSubDocumentFrame.cpp:149 3 xul.dll nsContentUtils::RemoveScriptBlocker content/base/src/nsContentUtils.cpp:4402 4 xul.dll PresShell::FlushPendingNotifications layout/base/nsPresShell.cpp:3980 5 xul.dll nsDocument::FlushPendingNotifications content/base/src/nsDocument.cpp:6318 6 xul.dll nsDocument::FlushPendingNotifications content/base/src/nsDocument.cpp:6313 7 xul.dll nsDocLoader::DocLoaderIsEmpty uriloader/base/nsDocLoader.cpp:806 8 xul.dll nsDocLoader::OnStopRequest uriloader/base/nsDocLoader.cpp:736 9 xul.dll nsLoadGroup::RemoveRequest netwerk/base/src/nsLoadGroup.cpp:734 10 xul.dll nsDocument::DoUnblockOnload content/base/src/nsDocument.cpp:7225 11 xul.dll nsDocument::UnblockOnload content/base/src/nsDocument.cpp:7167 12 xul.dll nsDocument::DispatchContentLoadedEvents content/base/src/nsDocument.cpp:4197 13 xul.dll nsRunnableMethodImpl<void obj-firefox/dist/include/nsThreadUtils.h:345 14 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:631 15 xul.dll NS_ProcessNextEvent_P obj-firefox/xpcom/build/nsThreadUtils.cpp:245 16 xul.dll mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:110 17 xul.dll MessageLoop::RunInternal ipc/chromium/src/base/message_loop.cc:208 18 xul.dll MessageLoop::RunHandler ipc/chromium/src/base/message_loop.cc:201 19 xul.dll MessageLoop::Run ipc/chromium/src/base/message_loop.cc:175 20 xul.dll nsBaseAppShell::Run widget/src/xpwidgets/nsBaseAppShell.cpp:189 etc..
Summary: 336960-1.html still crashes [@ ] when loaded from a resource:// url → 336960-1.html still crashes [@ nsFrameLoader::Show] when loaded from a resource:// url
We're crashing because mDocShell is presumably null. I guess somewhere under the Create() call or the SetVisibility() call the XBL constructor ran?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

XBL is now disabled in Firefox (Bug 1583314) and is in the process of being removed from Gecko (Bug 1566221), so closing bugs requesting changes to its implementation as wontfix.

Status: REOPENED → RESOLVED
Closed: 9 years ago6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.