Closed Bug 186220 Opened 22 years ago Closed 22 years ago

crash on stylesheet change

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 186132

People

(Reporter: bugzilla, Assigned: asa)

References

()

Details

(Keywords: crash, stackwanted, Whiteboard: TB15297061H)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20021219
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20021219

Browser crashes when the stylesheet is changed (as soon as the mouse moves over
the page).

Crash occurs both when the style sheet is changed using a script from the page
or using view > use style from the menubar.

No javascript console errors / html & css validate OK.

Talkback ID: TB15297061H

Reproducible: Always

Steps to Reproduce:
1. goto http://www.yarl.org/new/index.htm
2. click the x to the right of the menu panel or change the stylesheet through
view > use style
3. move the mouse on the page

Actual Results:  
Page displays with new style but on moving the mouse over the content, the
browser crashes.

Expected Results:  
Display page.

Probably bad design in the page / script or css somewhere but it shouldn't crash
- Phoenix / IE and earlier nightlies don't crash. Gkcontent.dll might have been
mentioned.

If not marked duplicate - will be able to get into a testcase.
Summary: crash on stylesheet change to contain display:none for div class. → crash on stylesheet change
The crash is only reproducable through clicking the x to the right of the menu
panel which changes the style sheet through an external javascript.

The changed style has a class which is set to display:none - it is only when
changing TO this style sheet using the javascript that the crash is reproducible. 

Changing to the default style sheet using the same script does not cause the
crash and changing to the nomenu style sheet through the menu does not reproduce
the crash every time (?ever).
Keywords: crash, stackwanted
Whiteboard: TB15297061H
Dupe of 186132

00000000()
nsEventStateManager::DispatchMouseEvent(nsIPresContext * 0x03958260, nsGUIEvent 
* 0x0012f7d8, unsigned int 0x0000014c, nsIContent * 0x038677d8, nsIFrame * 
0x039313cc, nsIContent * 0x03404a60) line 2416
nsEventStateManager::GenerateMouseEnterExit(nsIPresContext * 0x03958260, 
nsGUIEvent * 0x0012f7d8) line 2518
nsEventStateManager::PreHandleEvent(nsEventStateManager * const 0x039d0f38, 
nsIPresContext * 0x03958260, nsEvent * 0x0012f7d8, nsIFrame * 0x03931030, 
nsEventStatus * 0x0012f5d4, nsIView * 0x03a7c1b8) line 377
PresShell::HandleEventInternal(nsEvent * 0x0012f7d8, nsIView * 0x03a7c1b8, 
unsigned int 0x00000001, nsEventStatus * 0x0012f5d4) line 6147 + 43 bytes
PresShell::HandleEvent(PresShell * const 0x0340420c, nsIView * 0x03a7c1b8, 
nsGUIEvent * 0x0012f7d8, nsEventStatus * 0x0012f5d4, int 0x00000000, int & 
0x00000001) line 6076 + 25 bytes
nsViewManager::HandleEvent(nsView * 0x034db870, nsGUIEvent * 0x0012f7d8, int 
0x00000000) line 2209
nsView::HandleEvent(nsViewManager * 0x03a15e48, nsGUIEvent * 0x0012f7d8, int 
0x00000000) line 304
nsViewManager::DispatchEvent(nsViewManager * const 0x03a15e48, nsGUIEvent * 
0x0012f7d8, nsEventStatus * 0x0012f6d8) line 1943 + 23 bytes
HandleEvent(nsGUIEvent * 0x0012f7d8) line 83
nsWindow::DispatchEvent(nsWindow * const 0x034db92c, nsGUIEvent * 0x0012f7d8, 
nsEventStatus & nsEventStatus_eIgnore) line 1116 + 10 bytes
nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012f7d8) line 1137
nsWindow::DispatchMouseEvent(unsigned int 0x0000012c, unsigned int 0x00000000, 
nsPoint * 0x00000000) line 5376 + 21 bytes
ChildWindow::DispatchMouseEvent(unsigned int 0x0000012c, unsigned int 
0x00000000, nsPoint * 0x00000000) line 5633
nsWindow::ProcessMessage(unsigned int 0x00000200, unsigned int 0x00000000, long 
0x00170069, long * 0x0012fc48) line 4068 + 28 bytes
nsWindow::WindowProc(HWND__ * 0x00a2010a, unsigned int 0x00000200, unsigned int 
0x00000000, long 0x00170069) line 1403 + 27 bytes
USER32! 77e3a244()
USER32! 77e145e5()
USER32! 77e1a792()
nsAppShellService::Run(nsAppShellService * const 0x00ffd2a0) line 472
main1(int 0x00000001, char * * 0x002c6e50, nsISupports * 0x002c6eb8) line 1543 
+ 32 bytes
main(int 0x00000001, char * * 0x002c6e50) line 1904 + 37 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77ea847c()

*** This bug has been marked as a duplicate of 186132 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.