Closed
Bug 445072
Opened 17 years ago
Closed 10 years ago
Crash [@ nsPrintEngine::DoPrint] when trying to print page which has iframe in binding
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(4 keywords, Whiteboard: [sg:nse] null deref)
Crash Data
Attachments
(3 files, 2 obsolete files)
1.81 KB,
text/plain
|
Details | |
1.65 KB,
patch
|
Details | Diff | Splinter Review | |
1.23 KB,
application/zip
|
Details |
See testcase, which crashes current trunk build when trying to print.
This regressed when the frame display lists patch landed (bug 317375).
Marking as security sensitivie, just in case, although it looks like a normal crash to me.
http://crash-stats.mozilla.com/report/index/aaaf256b-512f-11dd-836f-001cc45a2ce4?p=1
Frame Module Signature [Expand] Source
0 xul.dll nsPrintEngine::DoPrint layout/printing/nsPrintEngine.cpp:2131
1 xul.dll nsPrintEngine::PrintDocContent layout/printing/nsPrintEngine.cpp:2085
2 xul.dll nsPrintEngine::PrintDocContent layout/printing/nsPrintEngine.cpp:2094
3 xul.dll nsPrintEngine::DonePrintingPages layout/printing/nsPrintEngine.cpp:2727
4 xul.dll nsPagePrintTimer::Notify layout/printing/nsPagePrintTimer.cpp:93
5 xul.dll nsTimerImpl::Fire xpcom/threads/nsTimerImpl.cpp:403
6 xul.dll nsTimerEvent::Run xpcom/threads/nsTimerImpl.cpp:490
7 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:510
8 nspr4.dll PR_GetEnv
Reporter | ||
Comment 1•17 years ago
|
||
Comment 2•16 years ago
|
||
Since this is a null deref (backtrace attached) I'm going to set to sg:nse.
Updated•16 years ago
|
Whiteboard: [sg:nse] null deref
Reporter | ||
Comment 3•16 years ago
|
||
Ok, is adding null check then sufficient here?
Attachment #355858 -
Flags: review?(bzbarsky)
Updated•16 years ago
|
Attachment #355858 -
Flags: review?(bzbarsky) → review?(roc)
Comment 4•16 years ago
|
||
Comment on attachment 355858 [details] [diff] [review]
patch?
roc might be a better reviewer here (e.g. might know why this is null and whether it should be).
I'm afraid I don't know, not without debugging it myself. I'm afraid that this patch might just paper over some bigger bug. Since it's a null-pointer exception on a synthetic testcase (I presume?), I think we're better off not fixing it until someone reworks this code or has time to debug it.
Reporter | ||
Updated•16 years ago
|
Attachment #355858 -
Flags: review?(roc)
Assignee | ||
Updated•14 years ago
|
Crash Signature: [@ nsPrintEngine::DoPrint]
Reporter | ||
Updated•13 years ago
|
Group: core-security
Comment 6•10 years ago
|
||
WFM, Nightly on Linux64. Martijn, can you still reproduce this crash?
Flags: needinfo?(martijn.martijn)
Reporter | ||
Comment 7•10 years ago
|
||
Yes, seems to work in current trunk build.
Attachment #329367 -
Attachment is obsolete: true
Attachment #329368 -
Attachment is obsolete: true
Flags: needinfo?(martijn.martijn)
Reporter | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•