Closed Bug 27623 Opened 26 years ago Closed 26 years ago

Assertion when browser loses focus

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: david, Assigned: joki)

Details

(Keywords: crash)

Using a build from this morning (my time).. I'd browsed a few pages (www.mozilla.org, then mozillazine, then had a look at some MathML info (not rendering MathML, just reading information). I then Alt-Tabbed to another application, and Mozilla asserted: Here is the console stuff: nsContainerFrame: Box[id=]@03523548 changed the maxElementSize *pointer* (baaaad boy!) nsContainerFrame: Box[id=]@03523214 changed the maxElementSize *pointer* (baaaad boy!) nsContainerFrame: Box[id=]@0340E1B4 changed the maxElementSize *pointer* (baaaad boy!) Lost focus. ###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 'mRa wPtr != 0', file d:/mozilla_src/mozilla/xpcom/base/nsCOMPtr.h, line 591 nsWebShellWindow::GOTFOCUS Got focus. Lost focus. Got focus. Lost focus. ###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 'mRa wPtr != 0', file d:/mozilla_src/mozilla/xpcom/base/nsCOMPtr.h, line 591 ###!!! Break: at file d:/mozilla_src/mozilla/xpcom/base/nsCOMPtr.h, line 591 Here is the call stack: NTDLL! 77f9f9df() nsDebug::Assertion(const char * 0x01395a10 `string', const char * 0x01395a54 `string', const char * 0x01395a64 `string', int 591) line 189 + 13 bytes nsDebug::PreCondition(const char * 0x01395a10 `string', const char * 0x01395a54 `string', const char * 0x01395a64 `string', int 591) line 278 + 21 bytes nsCOMPtr<nsIDocument>::operator->() line 591 + 34 bytes nsEventStateManager::PreHandleEvent(nsEventStateManager * const 0x03c03d88, nsIPresContext * 0x035d3ca0, nsGUIEvent * 0x0012e4d8, nsIFrame * 0x0357b72c, nsEventStatus * 0x0012e440, nsIView * 0x035619f8) line 555 + 35 bytes PresShell::HandleEvent(PresShell * const 0x0354d144, nsIView * 0x035619f8, nsGUIEvent * 0x0012e4d8, nsEventStatus * 0x0012e440) line 2929 + 43 bytes nsView::HandleEvent(nsView * const 0x035619f8, nsGUIEvent * 0x0012e4d8, unsigned int 8, nsEventStatus * 0x0012e440, int & 0) line 799 nsView::HandleEvent(nsView * const 0x0329bc18, nsGUIEvent * 0x0012e4d8, unsigned int 8, nsEventStatus * 0x0012e440, int & 0) line 784 nsView::HandleEvent(nsView * const 0x039140e0, nsGUIEvent * 0x0012e4d8, unsigned int 28, nsEventStatus * 0x0012e440, int & 0) line 784 nsViewManager::DispatchEvent(nsViewManager * const 0x03672cc8, nsGUIEvent * 0x0012e4d8, nsEventStatus * 0x0012e440) line 1704 HandleEvent(nsGUIEvent * 0x0012e4d8) line 69 nsWindow::DispatchEvent(nsWindow * const 0x032507b4, nsGUIEvent * 0x0012e4d8, nsEventStatus & nsEventStatus_eIgnore) line 493 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012e4d8) line 514 nsWindow::DispatchFocus(unsigned int 107) line 3078 + 15 bytes nsWindow::ProcessMessage(unsigned int 8, unsigned int 0, long 0, long * 0x0012e72c) line 2337 + 19 bytes nsWindow::WindowProc(HWND__ * 0x001802ae, unsigned int 8, unsigned int 0, long 0) line 673 + 27 bytes USER32! 77e13eb0() USER32! 77e1591b() USER32! 77e1595d() NTDLL! 77f9fb83() USER32! 77e14b2e() USER32! 77e236b8() USER32! 77e23570() USER32! 77e32e3e() USER32! 77e32891() USER32! 77e333c6() USER32! 77e38d45() USER32! 77e38cd2() nsDebug::Assertion(const char * 0x01395a10 `string', const char * 0x01395a54 `string', const char * 0x01395a64 `string', int 591) line 172 + 22 bytes nsDebug::PreCondition(const char * 0x01395a10 `string', const char * 0x01395a54 `string', const char * 0x01395a64 `string', int 591) line 278 + 21 bytes nsCOMPtr<nsIDocument>::operator->() line 591 + 34 bytes nsEventStateManager::PreHandleEvent(nsEventStateManager * const 0x03c03d88, nsIPresContext * 0x035d3ca0, nsGUIEvent * 0x0012fa88, nsIFrame * 0x0357b72c, nsEventStatus * 0x0012f9f0, nsIView * 0x035619f8) line 555 + 35 bytes PresShell::HandleEvent(PresShell * const 0x0354d144, nsIView * 0x035619f8, nsGUIEvent * 0x0012fa88, nsEventStatus * 0x0012f9f0) line 2929 + 43 bytes nsView::HandleEvent(nsView * const 0x035619f8, nsGUIEvent * 0x0012fa88, unsigned int 8, nsEventStatus * 0x0012f9f0, int & 0) line 799 nsView::HandleEvent(nsView * const 0x0329bc18, nsGUIEvent * 0x0012fa88, unsigned int 8, nsEventStatus * 0x0012f9f0, int & 0) line 784 nsView::HandleEvent(nsView * const 0x039140e0, nsGUIEvent * 0x0012fa88, unsigned int 28, nsEventStatus * 0x0012f9f0, int & 0) line 784 nsViewManager::DispatchEvent(nsViewManager * const 0x03672cc8, nsGUIEvent * 0x0012fa88, nsEventStatus * 0x0012f9f0) line 1704 HandleEvent(nsGUIEvent * 0x0012fa88) line 69 nsWindow::DispatchEvent(nsWindow * const 0x032507b4, nsGUIEvent * 0x0012fa88, nsEventStatus & nsEventStatus_eIgnore) line 493 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012fa88) line 514 nsWindow::DispatchFocus(unsigned int 107) line 3078 + 15 bytes nsWindow::ProcessMessage(unsigned int 8, unsigned int 0, long 0, long * 0x0012fcdc) line 2337 + 19 bytes nsWindow::WindowProc(HWND__ * 0x001802ae, unsigned int 8, unsigned int 0, long 0) line 673 + 27 bytes USER32! 77e13eb0() USER32! 77e1591b() USER32! 77e1595d() NTDLL! 77f9fb83() USER32! 77e191df() nsAppShell::Run(nsAppShell * const 0x00d1ae68) line 96 + 24 bytes nsAppShellService::Run(nsAppShellService * const 0x00ce5120) line 404 main1(int 1, char * * 0x00b26940, nsISplashScreen * 0x00000000) line 563 + 32 bytes main(int 1, char * * 0x00b26940) line 693 + 17 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e98b5b() -dave
Marking crash and M17. David, what was the date of "this morning"? I can't tell. Thanks!
Keywords: crash
Target Milestone: M17
Hmm. Working for me. Unless we see this again I'm going to chalk this up as a random flakiness at the time which has gone away.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
'This morning' would have been my morning of the 13th of February.. ~ 7:00am (GMT+1030) I haven't seen this again, so i'm happy to have the 'random flakiness' tag applied to it too :-)
Keywords: verifyme
Verified worksforme.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.