Closed
Bug 362711
Opened 18 years ago
Closed 17 years ago
Crash [@ _moz_cairo_surface_finish][@ nsThebesDeviceContext::EndDocument]with onblur=window.close when printing to a fax that opens up wizard
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 301560
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(1 file)
(deleted),
text/html
|
Details |
See upcoming testcase, which crashes current trunk builds, when following the steps to reproduce.
Talkback ID: TB26838097Z
nsThebesDeviceContext::EndDocument [mozilla\gfx\src\thebes\nsthebesdevicecontext.cpp, line 616]
nsPrintEngine::Destroy [mozilla\layout\printing\nsprintengine.cpp, line 270]
nsPrintCompletionEvent::Run [mozilla\layout\printing\nsprintengine.cpp, line 3714]
NS_ProcessNextEvent_P [mozilla\xpcom\build\nsthreadutils.cpp, line 225]
nsBaseAppShell::Run [mozilla\widget\src\xpwidgets\nsbaseappshell.cpp, line 153]
0x01212ae4
0xccccc3c0
Reporter | ||
Comment 1•18 years ago
|
||
To reproduce the crash:
- Click on the button in the testcase, to open the popup window, it automatically opens the print dialog
- From the print dialog, choose to print to the Fax service, press OK
Result: Crash
Note, you need to have the option to open new pages in new windows set.
Comment 2•18 years ago
|
||
Is this a dup of bug 362476?
Reporter | ||
Comment 3•18 years ago
|
||
Hmm, yes, could be, I'll try with a 2006-12-04 build to see if it still crashes, if it doesn't crash, then I guess it's a duplicate.
Reporter | ||
Comment 4•18 years ago
|
||
I just tried with a 2006-12-04 build, but I still crash. I don't get a useful talkback stack, though.
Comment 5•18 years ago
|
||
testcase doest not crash on
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a1) Gecko/20061204 Minefield/3.0a1 ID:2006120418 [cairo]
Reporter | ||
Comment 6•18 years ago
|
||
I still crash, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061205 Minefield/3.0a1
However, I get a different backtrace, now:
Talkback ID: TB26921916Y
0x000d0804
_moz_cairo_surface_finish [mozilla\gfx\cairo\cairo\src\cairo-surface.c, line 490]
nsPrintEngine::Destroy [mozilla\layout\printing\nsprintengine.cpp, line 270]
nsPrintCompletionEvent::Run [mozilla\layout\printing\nsprintengine.cpp, line 3714]
NS_ProcessNextEvent_P [mozilla\xpcom\build\nsthreadutils.cpp, line 225]
nsBaseAppShell::Run [mozilla\widget\src\xpwidgets\nsbaseappshell.cpp, line 153]
0x01212ae4
0xccccc3c0
Assignee: events → nobody
Component: Event Handling → GFX: Thebes
QA Contact: ian → thebes
Summary: Crash [@ nsThebesDeviceContext::EndDocument] with onblur=window.close when printing to a fax that opens up wizard → Crash [@ _moz_cairo_surface_finish] with onblur=window.close when printing to a fax that opens up wizard
Comment 7•18 years ago
|
||
Doesn't crash on i386-apple-darwin8.8.1 (Intel Mac) either.
Reporter | ||
Comment 8•18 years ago
|
||
I still crash, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070131 Minefield/3.0a2pre
But I don't get this stack trace anymore, I only get garbage as stack trace.
Reporter | ||
Comment 9•18 years ago
|
||
Still crashing, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a5pre) Gecko/20070512 Minefield/3.0a5pre
I get the stacktrace as in comment 0 again.
Reporter | ||
Comment 10•17 years ago
|
||
Actually, I crash with the testcase in a branch build too. Reassigning to printing.
Comment 11•17 years ago
|
||
no crash on Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a9pre) Gecko/2007092605 Minefield/3.0a9pre ID:2007092605
Martijn do you still see this crash ?
Reporter | ||
Comment 12•17 years ago
|
||
Yes, still crashing, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007092605 Minefield/3.0a9pre
http://crash-stats.mozilla.com/report/index/f2a92ee1-6d11-11dc-96d6-001a4bd43ed6
0 nsThebesDeviceContext::EndDocument() mozilla/gfx/src/thebes/nsThebesDeviceContext.cpp:546
1 nsPrintData::~nsPrintData() mozilla/layout/printing/nsPrintData.cpp:114
2 nsPrintEngine::Destroy() mozilla/layout/printing/nsPrintEngine.cpp:253
3 DocumentViewerImpl::OnDonePrinting() mozilla/layout/base/nsDocumentViewer.cpp:3991
4 nsPrintCompletionEvent::Run() mozilla/layout/printing/nsPrintEngine.cpp:3113
5 nsThread::ProcessNextEvent(int, int*) mozilla/xpcom/threads/nsThread.cpp:490
6 NS_ProcessNextEvent_P(nsIThread*, int) nsThreadUtils.cpp:227
7 nsBaseAppShell::Run() mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:154
8 nsAppStartup::Run() mozilla/toolkit/components/startup/src/nsAppStartup.cpp:170
9 XRE_main mozilla/toolkit/xre/nsAppRunner.cpp:3114
10 main mozilla/browser/app/nsBrowserApp.cpp:153
11 WinMain mozilla/browser/app/nsBrowserApp.cpp:166
12 __tmainCRTStartup crtexe.c:589
13 BaseProcessStart
Flags: blocking1.9?
Summary: Crash [@ _moz_cairo_surface_finish] with onblur=window.close when printing to a fax that opens up wizard → Crash [@ _moz_cairo_surface_finish][@ nsThebesDeviceContext::EndDocument]with onblur=window.close when printing to a fax that opens up wizard
There's a crash that looks very similar to this -- bug 301560? Basically someone familiar with the print engine stuff is going to need to look at the shutdown order here.
Flags: blocking1.9? → blocking1.9+
Reporter | ||
Comment 14•17 years ago
|
||
Hmm, I just attached a patch in bug 396024 that actually seems to fix this.
Depends on: 396024
Comment 15•17 years ago
|
||
I can't reproduce this. i agree with vlad that this looks like a dup of 301560
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•14 years ago
|
Crash Signature: [@ _moz_cairo_surface_finish]
[@ nsThebesDeviceContext::EndDocument]
You need to log in
before you can comment on or make changes to this bug.
Description
•