Closed Bug 284600 Opened 20 years ago Closed 12 years ago

nsEditor should not init for NS_BINDING_ABORTED - ###!!! ASSERTION: no frame, see bug #188946: 'frame', file r:/mozilla/editor/libeditor/base/nsEditor.cpp, line 4160

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timeless, Assigned: timeless)

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

###!!! ASSERTION: no frame, see bug #188946: 'frame', file r:/mozilla/editor/libeditor/base/nsEditor.cpp, line 4160 xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x03727ba0, const char * aExpr=0x03727b98, const char * aFile=0x03727b68, int aLine=0x00001040) Line 109 C++ editor.dll!nsEditor::IsPreformatted(nsIDOMNode * aNode=0x01f9477c, int * aResult=0x0012e588) Line 4160 + 0x20 C++ editor.dll!nsWSRunObject::GetRuns() Line 984 C++ editor.dll!nsWSRunObject::nsWSRunObject(nsHTMLEditor * aEd=0x01fb9020, nsIDOMNode * aNode=0x01f9477c, int aOffset=0x00000000) Line 81 C++ editor.dll!nsHTMLEditor::BeginningOfDocument() Line 487 C++ editor.dll!nsEditor::Init(nsIDOMDocument * aDoc=0x01f93654, nsIPresShell * aPresShell=0x01f9ed40, nsIContent * aRoot=0x00000000, nsISelectionController * aSelCon=0x01f9edc0, unsigned int aFlags=0x00000000) Line 314 C++ editor.dll!nsPlaintextEditor::Init(nsIDOMDocument * aDoc=0x01f93654, nsIPresShell * aPresShell=0x01f9ed40, nsIContent * aRoot=0x00000000, nsISelectionController * aSelCon=0x01f9edc0, unsigned int aFlags=0x00000000) Line 160 + 0x1d C++ editor.dll!nsHTMLEditor::Init(nsIDOMDocument * aDoc=0x01f93654, nsIPresShell * aPresShell=0x01f9ed40, nsIContent * aRoot=0x00000000, nsISelectionController * aSelCon=0x01f9edc0, unsigned int aFlags=0x00000000) Line 253 + 0x1d C++ composer.dll!nsEditingSession::SetupEditorOnWindow(nsIDOMWindow * aWindow=0x01f8383c) Line 450 + 0x47 C++ > composer.dll!nsEditingSession::EndDocumentLoad(nsIWebProgress * aWebProgress=0x01f82ee4, nsIChannel * aChannel=0x01f927b8, unsigned int aStatus=0x804b0002, int aIsToBeMadeEditable=0x00000001) Line 1077 + 0x15 C++ composer.dll!nsEditingSession::OnStateChange(nsIWebProgress * aWebProgress=0x01f82ee4, nsIRequest * aRequest=0x01f927b8, unsigned int aStateFlags=0x00020010, unsigned int aStatus=0x804b0002) Line 783 C++ docshell.dll!nsDocLoader::FireOnStateChange(nsIWebProgress * aProgress=0x01f82ee4, nsIRequest * aRequest=0x01f927b8, int aStateFlags=0x00020010, unsigned int aStatus=0x804b0002) Line 1195 C++ docshell.dll!nsDocLoader::doStopDocumentLoad(nsIRequest * request=0x01f927b8, unsigned int aStatus=0x804b0002) Line 832 C++ docshell.dll!nsDocLoader::DocLoaderIsEmpty() Line 729 C++ docshell.dll!nsDocLoader::OnStopRequest(nsIRequest * aRequest=0x01f927b8, nsISupports * aCtxt=0x00000000, unsigned int aStatus=0x804b0002) Line 653 C++ necko.dll!nsLoadGroup::RemoveRequest(nsIRequest * request=0x01f927b8, nsISupports * ctxt=0x00000000, unsigned int aStatus=0x804b0002) Line 732 + 0x2c C++ necko.dll!nsLoadGroup::Cancel(unsigned int status=0x804b0002) Line 400 C++ docshell.dll!nsDocLoader::Stop() Line 311 + 0x1f C++ docshell.dll!nsDocShell::Stop() Line 250 C++ docshell.dll!nsDocShell::Stop(unsigned int aStopFlags=0x00000003) Line 3153 C++ docshell.dll!nsDocShell::Destroy() Line 3381 C++ webbrwsr.dll!nsWebBrowser::SetDocShell(nsIDocShell * aDocShell=0x00000000) Line 1616 C++ webbrwsr.dll!nsWebBrowser::InternalDestroy() Line 144 C++ webbrwsr.dll!nsWebBrowser::Destroy() Line 1222 C++ mfcembed.exe!CBrowserView::DestroyBrowser() Line 380 C++ mfcembed.exe!CBrowserView::OnDestroy() Line 278 C++ mfc71d.dll!CWnd::OnWndMsg(unsigned int message=0x00000002, unsigned int wParam=0x00000000, long lParam=0x00000000, long * pResult=0x0012f050) Line 2023 C++ mfc71d.dll!CWnd::WindowProc(unsigned int message=0x00000002, unsigned int wParam=0x00000000, long lParam=0x00000000) Line 1745 + 0x1e C++ mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x01f828b8, HWND__ * hWnd=0x000f0a32, unsigned int nMsg=0x00000002, unsigned int wParam=0x00000000, long lParam=0x00000000) Line 241 + 0x1a C++ mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x000f0a32, unsigned int nMsg=0x00000002, unsigned int wParam=0x00000000, long lParam=0x00000000) Line 389 C++ mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x000f0a32, unsigned int nMsg=0x00000002, unsigned int wParam=0x00000000, long lParam=0x00000000) Line 209 + 0x15 C++ user32.dll!_InternalCallWinProc@20() + 0x28 user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 user32.dll!_DispatchClientMessage@20() + 0x4d user32.dll!___fnDWORD@4() + 0x24 ntdll.dll!_KiUserCallbackDispatcher@12() + 0x13 user32.dll!_NtUserDestroyWindow@4() + 0xc mfcembed.exe!CBrowserFrame::OnClose() Line 130 C++ mfc71d.dll!CWnd::OnWndMsg(unsigned int message=0x00000010, unsigned int wParam=0x00000000, long lParam=0x00000000, long * pResult=0x0012f3a0) Line 2023 C++ mfc71d.dll!CWnd::WindowProc(unsigned int message=0x00000010, unsigned int wParam=0x00000000, long lParam=0x00000000) Line 1745 + 0x1e C++ mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x01f824b8, HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x00000010, unsigned int wParam=0x00000000, long lParam=0x00000000) Line 241 + 0x1a C++ mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x00000010, unsigned int wParam=0x00000000, long lParam=0x00000000) Line 389 C++ mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x00000010, unsigned int wParam=0x00000000, long lParam=0x00000000) Line 209 + 0x15 C++ user32.dll!_InternalCallWinProc@20() + 0x28 user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 user32.dll!_DispatchClientMessage@20() + 0x4d user32.dll!___fnDWORD@4() + 0x24 ntdll.dll!_KiUserCallbackDispatcher@12() + 0x13 user32.dll!_NtUserMessageCall@28() + 0xc user32.dll!_RealDefWindowProcA@16() + 0x27 user32.dll!_DefWindowProcA@16() + 0x53 user32.dll!_InternalCallWinProc@20() + 0x28 user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 user32.dll!_CallWindowProcAorW@24() + 0x51 user32.dll!_CallWindowProcA@20() + 0x1b mfc71d.dll!CWnd::DefWindowProcA(unsigned int nMsg=0x00000112, unsigned int wParam=0x0000f060, long lParam=0x012505bb) Line 1024 + 0x20 C++ mfc71d.dll!CWnd::Default() Line 275 C++ mfc71d.dll!CWnd::OnSysCommand(unsigned int __formal=0x0000f060, unsigned int __formal=0x0000f060) Line 436 + 0xf C++ mfc71d.dll!CFrameWnd::OnSysCommand(unsigned int nID=0x0000f060, long lParam=0x012505bb) Line 1047 C++ mfc71d.dll!CWnd::OnWndMsg(unsigned int message=0x00000112, unsigned int wParam=0x0000f060, long lParam=0x012505bb, long * pResult=0x0012f8cc) Line 2051 C++ mfc71d.dll!CWnd::WindowProc(unsigned int message=0x00000112, unsigned int wParam=0x0000f060, long lParam=0x012505bb) Line 1745 + 0x1e C++ mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x01f824b8, HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x00000112, unsigned int wParam=0x0000f060, long lParam=0x012505bb) Line 241 + 0x1a C++ mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x00000112, unsigned int wParam=0x0000f060, long lParam=0x012505bb) Line 389 C++ mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x00000112, unsigned int wParam=0x0000f060, long lParam=0x012505bb) Line 209 + 0x15 C++ user32.dll!_InternalCallWinProc@20() + 0x28 user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 user32.dll!_DispatchClientMessage@20() + 0x4d user32.dll!___fnDWORD@4() + 0x24 ntdll.dll!_KiUserCallbackDispatcher@12() + 0x13 user32.dll!_NtUserMessageCall@28() + 0xc user32.dll!_RealDefWindowProcA@16() + 0x27 user32.dll!_DefWindowProcA@16() + 0x53 user32.dll!_InternalCallWinProc@20() + 0x28 user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 user32.dll!_CallWindowProcAorW@24() + 0x51 user32.dll!_CallWindowProcA@20() + 0x1b mfc71d.dll!CWnd::DefWindowProcA(unsigned int nMsg=0x000000a1, unsigned int wParam=0x00000014, long lParam=0x012505bb) Line 1024 + 0x20 C++ mfc71d.dll!CWnd::WindowProc(unsigned int message=0x000000a1, unsigned int wParam=0x00000014, long lParam=0x012505bb) Line 1746 + 0x1a C++ mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x01f824b8, HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x000000a1, unsigned int wParam=0x00000014, long lParam=0x012505bb) Line 241 + 0x1a C++ mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x000000a1, unsigned int wParam=0x00000014, long lParam=0x012505bb) Line 389 C++ mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x000c0838, unsigned int nMsg=0x000000a1, unsigned int wParam=0x00000014, long lParam=0x012505bb) Line 209 + 0x15 C++ user32.dll!_InternalCallWinProc@20() + 0x28 user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 user32.dll!_DispatchMessageWorker@8() + 0xdc user32.dll!_DispatchMessageA@4() + 0xf mfc71d.dll!AfxInternalPumpMessage() Line 188 C++ mfc71d.dll!CWinThread::PumpMessage() Line 916 C++ mfc71d.dll!CWinThread::Run() Line 637 + 0xb C++ mfc71d.dll!CWinApp::Run() Line 701 C++ mfc71d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x0014239d, int nCmdShow=0x0000000a) Line 49 + 0xb C++ mfcembed.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x0014239d, int nCmdShow=0x0000000a) Line 25 C++ mfcembed.exe!WinMainCRTStartup() Line 390 + 0x39 C kernel32.dll!_BaseProcessStart@4() + 0x23
Attachment #176157 - Flags: review?(smontagu)
Comment on attachment 176157 [details] [diff] [review] skip stuff when the status is binding aborted passing request off to a composer peer
Attachment #176157 - Flags: review?(smontagu) → review?(neil.parkwaycc.co.uk)
Steps to reproduce problem would be nice...
closing an mfcembed window of some sort. not quite sure :(
QA Contact: bugzilla → editor
Attached file testcase
Keywords: testcase
The assertion was removed in Bug 336104.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Comment on attachment 176157 [details] [diff] [review] skip stuff when the status is binding aborted Bug was resolved wfm, so there's nothing to review -> cancelling review request.
Attachment #176157 - Flags: review?(neil)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: