Closed Bug 22285 Opened 26 years ago Closed 26 years ago

Browser crash at hotbot.com (NOBR around content in TD + CSS)

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: solomonr, Assigned: troy)

References

()

Details

(Keywords: crash)

Attachments

(3 files)

I get the following dump when going to hotbot. I am using build 1999121915. I hope this helps. MOZILLA caused an invalid page fault in module GKHTML.DLL at 0177:6020b697. Registers: EAX=00000000 CS=0177 EIP=6020b697 EFLGS=00010202 EBX=01072710 SS=017f ESP=0063f13c EBP=0063f188 ECX=01050020 DS=017f ESI=60b79aaa FS=442f EDX=01072710 ES=017f EDI=01050010 GS=0000 Bytes at CS:EIP: ff 00 eb 09 83 7b 08 00 74 03 ff 40 04 5f 5e 5b Stack dump: 00000003 60b79aaa 01050010 6020ad6e 01072710 00000002 00000003 01050010 00000001 00000003 00000001 006d5154 0105f3a0 00000002 00000001 00000003
Severity: major → critical
Also occurs with same build on Windows NT4 sp6. Highly reproducable, but if it doesn't crash at once, try Reload a few times. Stack crawl on NT: FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name 0012f6b4 6020ad6e 0a2b6ad0 00000002 00000003 0a29a010 gkhtml!NS_NewCSSNameSpaceRule (FPO: [3,0,3]) 0012f6f8 6020ab0e 0012f75c 00000002 00000003 00000002 gkhtml!NS_NewCSSNameSpaceRule 0012f724 602014b1 0012f75c 00000002 00000001 0969b08c gkhtml!NS_NewCSSNameSpaceRule 0012f738 60207baa 0a1af060 0012f75c 00000002 00000001 gkhtml!NS_NewCSSNameSpaceRule (FPO: [4,0,1]) 0012f77c 601b2f1b 00000000 0a1af060 0a1b01a0 00000000 gkhtml!NS_NewCSSNameSpaceRule 0012f79c 601f930d 0a19a910 0a1af060 0a1b01a0 0969b08c gkhtml!NS_NewFrameManager 0012f84c 601f957d 0969b08c 0a1b01a0 0a27429c 0a27f030 gkhtml!NS_NewCSSStyleSheet [omap] 0012f870 601fd1e7 0a1b03a0 0a1af060 0a27429c 0a27f030 gkhtml!NS_NewCSSStyleSheet [omap] 0012f8a4 601f8939 0a1af060 0a27f030 0a1b01a0 0a1b01a8 gkhtml!NS_NewCSSStyleSheet [omap] 0012f948 60183d2d 0a1b03a0 0a1af060 0a27d86c 0000000f gkhtml!NS_NewCSSStyleSheet [omap] 0012f95c 601a8f82 0a1b0400 0a1af060 0a27d86c 0000000f gkhtml!NS_NewNameSpaceManager (FPO: [4,0,0]) 0012f980 60233ce1 0a1b01a8 0a1bc5c0 0a27d86c 0000000f gkhtml!NS_NewPresShell 0012f9a8 601cc670 0a1bc5c0 0a27d86c 0000000f 0a27d86c gkhtml!nsStyleChangeList::Clear 0012f9c4 601c70a1 0a1bc5c0 0a27d86c 0000000f 0a19e010 gkhtml!NS_NewHTMLDocument 0012f9d8 601c3e0c 0a27d86c 0000000f 00000000 0a1ea500 gkhtml!NS_CreateHTMLElement (FPO: [2,0,1]) 0012fa10 601c57e6 0a1ea500 0a1ea500 602b8060 0a1800a0 gkhtml!NS_CreateHTMLElement 0012fa1c 602b8060 0a1800a0 0a1ea500 0a1ea500 0a1bed50 gkhtml!NS_CreateHTMLElement (FPO: [2,0,1]) 0012fa34 602b80cc 0a1ea500 00000044 00000000 00000044 gkparser!CNavDTD::CloseContainer (FPO: [3,0,3]) 0012fa58 602b815e 00000000 00000044 00000000 00001210 gkparser!CNavDTD::CloseContainersTo [omap] 0012fa74 602b718c 00000044 00000000 0a03b2f0 0a1bed50 gkparser!CNavDTD::CloseContainersTo [omap] (FPO: [2,0,3]) 0012fbe8 602b6769 0a03b2f0 0a1889d0 0a1bed50 00000000 gkparser!CNavDTD::HandleEndToken 0012fc24 602b6400 0a1bed50 0a03b2f0 0a1889d0 0a1889d0 gkparser!CNavDTD::HandleToken 0012fc5c 602bd59a 0a1bed50 0a1889d0 0a1bf080 00000000 gkparser!CNavDTD::BuildModel 0012fc80 602bd4fa 0a28b508 0a1889d4 00000000 602bd82c gkparser!nsParser::BuildModel (FPO: [0,0,3]) 0012fc90 602bd82c 00000000 00000000 00000000 0a2c2c20 gkparser!nsParser::ResumeParse (FPO: [2,0,3]) 0012fd50 609530df 00000ff1 0a2c2c20 00000000 0a28b508 gkparser!nsParser::OnDataAvailable 0012fd7c 60831903 0a1bc8f0 0a1889d4 00000000 0a28b508 gkweb!nsQueryInterface::operator= 0012fd9c 6095354a 0a1e4940 0a2c2c20 00000000 0a28b508 urildr!nsGetInterface::operator= 0012fdbc 60555263 0a1ba080 0a2c2c20 00000000 0a28b508 gkweb!nsQueryInterface::operator= 0012fe0c 604e2278 0a28b5a0 0a2c2950 0a2c2c20 0a28b508 nkhttp!nsProxyObjectCallInfo::operator= 0012fe28 604e1dd0 0a270700 0a270550 60b5191e 0a270550 necko!NSGetModule (FPO: [1,0,0]) 0012fe34 60b5191e 0a270550 0045fc30 0a270550 60b5185c necko!NSGetModule (FPO: [1,0,1]) 0012fe44 60b5185c 0a270550 0012feac 0012feb4 00000000 plds3!PL_HandleEvent (FPO: [1,0,2]) 0012fe5c 60b51b48 0045fc30 77e7124c 00880b04 0000c0c7 plds3!PL_ProcessPendingEvents (FPO: [EBP 0x0012feac] [1,0,4]) 0012fe64 77e7124c 00880b04 0000c0c7 00000000 0045fc30 plds3!PL_IsQueueOnCurrentThread (FPO: [4,0,0]) 0012fec8 60011ebe 00000001 004018b5 0045ff90 004031b8 user32!TranslateMessageEx 0012fed0 004018b5 0045ff90 004031b8 80000000 00000000 appshell!nsQueryReferent::operator= (FPO: [1,0,0]) 0012ff14 00401554 00000001 00410080 0000025c 7ffdf000 mozilla!nsGetInterface::operator= 0012ff4c 004026bd 00000001 00410080 00410eb0 00405000 mozilla!nsGetInterface::operator= 0012ffc0 77f1b9ea 0000025c 0011cbb0 7ffdf000 c0000005 mozilla!nsGetInterface::operator= 0012fff0 00000000 004025da 00000000 000000b0 00000100 kernel32!GetProcessPriorityBoost 00000000 00000000 00000000 00000000 00000000 00000000 mozilla!<nosymbols>
*** Bug 22567 has been marked as a duplicate of this bug. ***
Assignee: nobody → karnaze
Component: Browser-General → HTMLTables
Summary: Browser crash at hotbot.com → Browser crash at hotbot.com (NOBR around content in TD + CSS)
The three above attachments: 1) This is the problem HTML from the hotbot page in isolation. Mouse over the links in the table and Mozilla will crash. 2) Mouse over the links in the table and the table will "disappear". Remove the NOBR from around the contents of the TD, and table stays visible. 3) This is the same as attachment (2), except that there are *two* TD in the single row TABLE. Mouse over the links in the table and Mozilla will crash|assert. Remove the NOBR from around the contents of the TD, and Mozilla does not crash. Tested these attachments with [1999123008 Win95] I'm passing this to karnaze/HTMLTables, but it may be that the <TABLE> is only providing the necessary constrained condition that triggers a bug involving a combination of CSS and the <NOBR> tag.
Assignee: karnaze → pierre
Reassigning to Pierre based on stack.
Status: NEW → ASSIGNED
Target Milestone: M13
Assignee: pierre → karnaze
Status: ASSIGNED → NEW
QA Contact: nobody → chrisd
I'm reassigning back to karnaze because we hit the "invalid col span or col index" assert in nsCellMap.cpp line 1108, which is clearly in Tables. When the assert fires off, CSS doesn't appear anywhere in the stack. Also the stack above, even though it shows that the crash happened in CSS, has certainly been taken while reloading the page, not when mousing over the links. I guess something got broken when mousing over and we crashed on the next reload. Note: The Mac doesn't crash but we can get up to 3 different asserts: ###!!! ASSERTION: invalid col span or col index: 'effColSpan > 0', file nsCellMap.cpp, line 1108 ###!!! ASSERTION: bad arg, col index out of bounds: 'numCols > aColIndex', file nsTableFrame.cpp, line 3659 ###!!! ASSERTION: nsCellMap::GetNumCellsOriginatingInCol - bad col index: 'PR_FALSE', file nsCellMap.cpp, line 972 (The QA contact was nobody@mozilla.org (?), I changed it to ChrisD).
Assignee: karnaze → troy
Target Milestone: M13
I'm not seeing the crash now, but the vanishing table is still a problem. Troy, In the 2nd attachment, when mousing over the cell, the cell gets reframed and a dirty reflow command is issued. However, before this reflow command is processed, the outer table gets an incremental reflow command with itself as the target and proceeds to resize reflow the inner table. But that results in a table about 30 twips wide because the cell has been reframed and its pass1 max element size is 0, since the frame was newly constructed. It seems that the incremental reflow command targeting the cell should happen prior to this to avoid the problem. Actually, the reflow command targeting the cell never takes place.
Blocks: 24206
Adding "crash" keyword to all known open crasher bugs.
Keywords: crash
Status: NEW → ASSIGNED
This works okay with the latest build so I'm marking it FIXED. One of the main problems in this page had to do with anonymous block frames and GetPrimaryFrame() not finding the frame. Buster and Nisheeth fixed that problem and now the page works okay
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
No longer blocks: 24206
Marking VERIFIED FIXED on: - MacOS9 2000-07-06-08-M17 Commercial - Linux6 2000-07-07-10-M17 Commercial - Win98 2000-07-07-13-M17 Commercial
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: