Closed Bug 431242 Opened 16 years ago Closed 15 years ago

Crash [@ nsVoidArray::Count] while trying to print

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: crash, testcase, Whiteboard: [sg:nse] null deref; fixed by bug 425265)

Crash Data

Attached file testcase
(Sorry for not filing the previous print-crash bug as security sensitive, I'll file them as security sensitive from now on)

See testcase, when clicking on the print button and while the printing is going on, current trunk builds of Mozilla crash.
It doesn't seem to happen on branch. If wanted, I can look for a regression range.

http://crash-stats.mozilla.com/report/index/055793ab-1567-11dd-950b-001a4bd46e84?p=1
0  	xul.dll  	nsVoidArray::Count  	 nsVoidArray.h:63
1 	xul.dll 	nsTableFrame::GetColCount 	mozilla/layout/tables/nsTableFrame.h:798
2 	xul.dll 	TableBackgroundPainter::TableBackgroundPainter 	mozilla/layout/tables/nsTablePainter.cpp:249
3 	xul.dll 	nsTableFrame::PaintTableBorderBackground 	mozilla/layout/tables/nsTableFrame.cpp:1469
4 	xul.dll 	nsDisplayTableBorderBackground::Paint 	mozilla/layout/tables/nsTableFrame.cpp:1318
5 	xul.dll 	nsDisplayList::Paint 	mozilla/layout/base/nsDisplayList.cpp:296
6 	xul.dll 	nsLayoutUtils::PaintFrame 	mozilla/layout/base/nsLayoutUtils.cpp:988
7 	xul.dll 	nsPageFrame::PaintPageContent 	mozilla/layout/generic/nsPageFrame.cpp:562
8 	xul.dll 	PaintPageContent 	mozilla/layout/generic/nsPageFrame.cpp:403
9 	xul.dll 	nsDisplayGeneric::Paint 	mozilla/layout/base/nsDisplayList.h:862
10 	xul.dll 	nsDisplayList::Paint 	mozilla/layout/base/nsDisplayList.cpp:296
11 	xul.dll 	nsLayoutUtils::PaintFrame 	mozilla/layout/base/nsLayoutUtils.cpp:988
12 	xul.dll 	nsSimplePageSequenceFrame::PrintNextPage 	mozilla/layout/generic/nsSimplePageSequence.cpp:647
13 	xul.dll 	nsPrintEngine::PrintPage 	mozilla/layout/printing/nsPrintEngine.cpp:2368
14 	xul.dll 	nsPagePrintTimer::Notify 	mozilla/layout/printing/nsPagePrintTimer.cpp:90
15 	xul.dll 	nsTimerImpl::Fire 	mozilla/xpcom/threads/nsTimerImpl.cpp:403
16 	xul.dll 	nsTimerEvent::Run 	mozilla/xpcom/threads/nsTimerImpl.cpp:490
17 	xul.dll 	nsThread::ProcessNextEvent 	mozilla/xpcom/threads/nsThread.cpp:510
18 	xul.dll 	nsBaseAppShell::Run 	mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:170
Depends on: 424377
Looks like a null deref, anyone seeing something scarier here?
Whiteboard: [sg:nse] null deref
Depends on: 425265
No longer depends on: 424377
Can't reproduce after bug 425265.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment on attachment 318265 [details]
testcase

Hiding the testcase per comment 2
Group: core-security
Whiteboard: [sg:nse] null deref → [sg:nse] null deref; fixed by bug 425265
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.12?
Flags: blocking1.9.0.12?
Crash Signature: [@ nsVoidArray::Count]
You need to log in before you can comment on or make changes to this bug.