Closed Bug 267585 Opened 20 years ago Closed 12 years ago

###!!! ASSERTION: Cannot process pending updates with refresh disabled: 'mRefreshEnabled', file r:/mozilla/view/src/nsViewManager.cpp, line 1578

Categories

(Core :: Web Painting, defect, P5)

x86
Windows XP
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timeless, Unassigned)

Details

(Keywords: assertion)

triggered from help in winembed

###!!! ASSERTION: Cannot process pending updates with refresh disabled:
'mRefreshEnabled', file r:/mozilla/view/src/nsViewManager.cpp, line 1578
Break: at file r:/mozilla/view/src/nsViewManager.cpp, line 1578

 	xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x01aa51b8, const char *
aExpr=0x01aa51f0, const char * aFile=0x01aa4a20, int aLine=0x0000062a)  Line 109	C++
 	gklayout.dll!nsViewManager::ProcessPendingUpdates(nsView * aView=0x03c20498) 
Line 1578 + 0x1f	C++
 	gklayout.dll!nsViewManager::FlushPendingInvalidates()  Line 4133	C++
>	gklayout.dll!nsViewManager::ProcessInvalidateEvent()  Line 4144	C++
 	gklayout.dll!HandlePLEvent(PLEvent * aEvent=0x03fb206c)  Line 367	C++
 	xpcom_core.dll!PL_HandleEvent(PLEvent * self=0x03fb206c)  Line 693	C
 	xpcom_core.dll!PL_ProcessPendingEvents(PLEventQueue * self=0x00fc4478)  Line 628	C
 	xpcom_core.dll!nsEventQueueImpl::ProcessPendingEvents()  Line 395	C++
 	gkwidget.dll!nsWindow::DispatchPendingEvents()  Line 3721	C++
 	gkwidget.dll!nsWindow::ProcessMessage(unsigned int msg=0x00000201, unsigned
int wParam=0x00000001, long lParam=0x00bc003e, long * aRetValue=0x0012fda0) 
Line 4092	C++
 	gkwidget.dll!nsWindow::WindowProc(HWND__ * hWnd=0x00300994, unsigned int
msg=0x00000201, unsigned int wParam=0x00000001, long lParam=0x03ce2da4)  Line
1355 + 0x10	C++
 	user32.dll!77d43a50() 	
 	user32.dll!77d43b1f() 	
 	user32.dll!GetMessageW()  + 0x125	
 	user32.dll!DispatchMessageA()  + 0xb	
 	winEmbed.exe!main(int argc=0x00000001, char * * argv=0x00357b80)  Line 188 +
0x10	C++
 	winEmbed.exe!mainCRTStartup()  Line 400 + 0x11	C
 	kernel32.dll!TermsrvAppInstallMode()  + 0x269
specifically playing w/ the toc in help
Hmm... I can see this happening for subframe loads (the content viewer will
disable refresh for the whole viewmanager tree, and we may already have a
pending invalidate event).

Perhaps invalidate event firing while refresh is disabled should simply cause
the invalidate event to be reposted?  Or silently ignored, since we plan to
reenable refresh and post another invalidate event?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
QA Contact: ian → layout.view-rendering
In Bug 545593, the assert was changed to:
  NS_ASSERTION(IsRefreshEnabled(), "Cannot process pending updates with refresh disabled");

Which was in turn removed as part of Bug 598482.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.