Closed
Bug 263738
Opened 21 years ago
Closed 21 years ago
crash on print/print preview [@ nsTableRowFrame::InsertCellFrame]
Categories
(Core :: Printing: Output, defect)
Core
Printing: Output
Tracking
()
VERIFIED
FIXED
People
(Reporter: felix, Assigned: bernd_mozilla)
References
()
Details
(5 keywords)
Crash Data
Attachments
(4 files, 1 obsolete file)
|
18.92 KB,
text/plain
|
Details | |
|
17.26 KB,
text/plain
|
Details | |
|
6.36 KB,
text/html
|
Details | |
|
2.94 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
chofmann
:
approval-aviary+
chofmann
:
approval1.7.5+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041005 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041005 Firefox/0.10.1
This page can't be printed with any Gecko-based browser. When trying to print
this page, the browser crashes. Verified with Linux, Windows, MacOS X and
various Browsers (Mozilla 1.7 / Firefox 1.0PR)
Reproducible: Always
Steps to Reproduce:
1. open page http://www.lyngsat.com/astra19.html
2. Open Menu File->Print
3. Klick OK to start printing
Actual Results:
Application crashes. On MacOS X it says "the Application exited unexpectedly",
on Linux it just disappears.
Expected Results:
print the page without crashing ;-)
using default theme and any operating-system. Bug is reproduceable easily as
some colleagues / friends proofed.
Comment 1•21 years ago
|
||
Comment 2•21 years ago
|
||
Confirming bug, 2004-10-09-07 trunk Linux (both on Print and Print Preview).
Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
Summary: crash if I want to print the page http://www.lyngsat.com/astra19.html → crash on print/print preview [@ nsTableRowFrame::InsertCellFrame]
Comment 4•21 years ago
|
||
The critical section of code seems to be
<http://lxr.mozilla.org/seamonkey/source/layout/html/table/src/nsTableRowGroupFrame.cpp#1111>.
The call to UndoContinuedRow() at line 1115 is apparently supposed to invalidate
contRow, and at least in debug builds causes the contRow data structure to be
filled with 0xdd. contRow is passed to SplitSpanningCells() at line 1121, which
passes it to nsTableRowFrame::InsertCellFrame(). InsertCellFrame() dereferences
a pointer which has been set to 0xdddddddd and segfaults.
Severity: critical → normal
Comment 5•21 years ago
|
||
Looks very much the same as the one from Linux
Comment 6•21 years ago
|
||
This doesn't seem to be reduced, but everything I change "fixes" it.
Comment 7•21 years ago
|
||
this regressed between linux trunk 2004041308 and 2004041409. bug 231823 looks
like the likely culprit.
Updated•21 years ago
|
Severity: normal → critical
taking the bug, bug 231823 only corrected the situation when we split, so
probably it only exposed the bug.
Assignee: core.printing → bernd_mozilla
Comment 10•21 years ago
|
||
Bernd: with the patch, I still crash printing and print prviewing the URL and
testcase
| Assignee | ||
Comment 11•21 years ago
|
||
Attachment #161745 -
Attachment is obsolete: true
| Assignee | ||
Comment 12•21 years ago
|
||
Andrew, could you please retest?
Comment 13•21 years ago
|
||
printing URL and testcase with the new patch works.
Attachment #161761 -
Flags: superreview?(bzbarsky)
Attachment #161761 -
Flags: review?(bzbarsky)
Comment 14•21 years ago
|
||
Comment on attachment 161761 [details] [diff] [review]
revised patch
r+sr=bzbarsky, but we really need to make this code more sane... :(
Attachment #161761 -
Flags: superreview?(bzbarsky)
Attachment #161761 -
Flags: superreview+
Attachment #161761 -
Flags: review?(bzbarsky)
Attachment #161761 -
Flags: review+
| Assignee | ||
Comment 15•21 years ago
|
||
Comment on attachment 161761 [details] [diff] [review]
revised patch
going for approval
Attachment #161761 -
Flags: approval1.7.x?
Attachment #161761 -
Flags: approval-aviary?
Comment 16•21 years ago
|
||
Comment on attachment 161761 [details] [diff] [review]
revised patch
a=chofmann for the branches
Attachment #161761 -
Flags: approval1.7.x?
Attachment #161761 -
Flags: approval1.7.x+
Attachment #161761 -
Flags: approval-aviary?
Attachment #161761 -
Flags: approval-aviary+
| Assignee | ||
Comment 17•21 years ago
|
||
fix checked in trunk + branches
Keywords: fixed-aviary1.0,
fixed1.7.x
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Verified FIXED on the trunk with build 2004-10-14-05, Windows XP Seamonkey.
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Crash Signature: [@ nsTableRowFrame::InsertCellFrame]
You need to log in
before you can comment on or make changes to this bug.
Description
•