Closed
Bug 151389
Opened 23 years ago
Closed 23 years ago
printing a page with MathML causes a browser crash
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 156043
People
(Reporter: zufar, Assigned: rods)
References
()
Details
(Keywords: crash, stackwanted, Whiteboard: Need TB8071933Z data)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607
BuildID: 0000000000
Attempting to print MathML demo page
http://www.mozilla.org/projects/mathml/demo/basics.xhtml
to either postscript file or printer
reproducibly crashes the browser. It manages to produce an aborted postscript
document from the MathML demo page before crashing.
This happens with Mozilla 1.1 Alpha as well.
Reproducible: Always
Steps to Reproduce:
1.Go to http://www.mozilla.org/projects/mathml/demo/basics.xhtml
2.Print to file (mozilla.ps)
Actual Results: Browser crashed. Only part of postscript output was produced.
Expected Results: Print
http://www.mozilla.org/projects/mathml/demo/basics.xhtml to a postscript file.
Updated•23 years ago
|
Keywords: crash
Summary: printing a page with MathML causes a browser crash → printing a page with MathML causes a browser crash
Comment 1•23 years ago
|
||
confirming using build 2002070508 on Linux (trunk): TB8071933Z.
Assignee: rbs → rods
Component: MathML → Printing
Keywords: stackwanted
QA Contact: ian → sujay
Whiteboard: Need TB8071933Z data
Comment 2•23 years ago
|
||
Confirming bug with 2002-06-29-08-trunk + Xprint module on Solaris/SPARC.
Stack trace looks like this:
-- snip --
Trying to position a sizeless window; caller should have called sizeToContent()
or sizeTo(). See bug 75649.
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, mXpEventBase, XPStartPageNotify)
XpuWaitForPrintNotify: 0=IsXpNotifyEvent(70,2)
XpuWaitForPrintNotify: 1=IsXpNotifyEvent(70,4)
t@1 (l@1) signal SEGV (no mapping at the fault address) in
nsRenderingContextGTK::Init at line 185 in file "nsRenderingContextGTK.cpp"
185 NS_ADDREF(mSurface);
(dbx) where
current thread: t@1
=>[1] nsRenderingContextGTK::Init(this = ???, aContext = ???, aSurface = ???)
(optimized), at 0xfcc4a2a4 (line ~185) in "nsRenderingContextGTK.cpp"
[2] NewOffscreenContext(deviceContext = ???, surface = ???, size = STRUCT,
aResult = ???) (optimized), at 0xfb9a84c0 (line ~1292) in "nsViewManager.cpp"
[3] nsViewManager::CreateBlendingBuffers(this = ???, aRC = CLASS) (optimized),
at 0xfb9a8824 (line ~1361) in "nsViewManager.cpp"
[4] nsViewManager::RenderViews(this = ???, aRootView = ???, aRC = CLASS, aRect
= STRUCT, aResult = ???) (optimized), at 0xfb9a7e70 (line ~1099) in
"nsViewManager.cpp"
[5] nsViewManager::Display(this = ???, aView = ???, aX = ???, aY = ???,
aClipRect = STRUCT) (optimized), at 0xfb9ac460 (line ~3075) in
"nsViewManager.cpp"
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-06-29-08-trunk/objdir_ws7_gtk/layout/build/nsSimplePageSequence.o"
dbx: warning: see `help finding-files'
[6] nsSimplePageSequenceFrame::PrintNextPage(0xb72870, 0xb1d798, 0x0,
0xdf9028, 0xfb65a360, 0x80000000), at 0xfb213be8
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-06-29-08-trunk/objdir_ws7_gtk/content/build/nsDocumentViewer.o"
[7] DocumentViewerImpl::PrintPage(0x84d678, 0xb1d798, 0x1, 0xa97320, 0xa98d40,
0x0), at 0xfc1a4528
[8] nsPagePrintTimer::Notify(0xb0e618, 0xb65738, 0x3f6db8, 0xce, 0xff101560,
0xb1d798), at 0xfc1c372c
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-06-29-08-trunk/objdir_ws7_gtk/xpcom/build/nsTimerImpl.o"
[9] nsTimerImpl::Fire(0xb65738, 0x2c80, 0x1, 0xff1eefe8, 0xff1e0ee4, 0x2c00),
at 0xff0fe948
[10] handleTimerEvent(0xe0d620, 0xff1eefe0, 0xe24bc, 0xfef7d4a8, 0x0,
0xff1e0ee4), at 0xff0febb4
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-06-29-08-trunk/objdir_ws7_gtk/xpcom/build/plevent.o"
[11] PL_HandleEvent(0xe0d620, 0xff0fea1c, 0xc786c, 0x1, 0x0, 0xe0d620), at
0xff0f4688
[12] PL_ProcessEventsBeforeID(0xc7868, 0x3193, 0x0, 0x0, 0xe0d620,
0xff1e0ee4), at 0xff0f4e14
[13] processQueue(aElement = ???, aData = ???) (optimized), at 0xfd4a5250
(line ~447) in "nsAppShell.cpp"
dbx: warning: can't find file
"/shared/bigtmp2/mozilla/2002-06-29-08-trunk/objdir_ws7_gtk/xpcom/build/nsVoidArray.o"
[14] nsVoidArray::EnumerateForwards(0xec278, 0xfd4a5248, 0x3193, 0x2f6ae8,
0x0, 0x0), at 0xff094d30
[15] nsAppShell::ProcessBeforeID(aID = ???) (optimized), at 0xfd4a52a4 (line
~455) in "nsAppShell.cpp"
[16] handle_gdk_event(event = ???, data = ???) (optimized), at 0xfd4b321c
(line ~924) in "nsGtkEventHandler.cpp"
dbx: warning: can't find file
"/home/gisburn/package-builds/gtk+/gtk+-1.2.8/objdir/gdk/gdkevents.lo"
[17] gdk_event_dispatch(0x0, 0xffbef078, 0x0, 0x0, 0x0, 0xffbeefe0), at
0xfea41470
dbx: warning: can't find file
"/home/gisburn/package-builds/glib/glib-1.2.8/objdir/gmain.lo"
[18] g_main_dispatch(0xffbef078, 0x118d58, 0x1, 0x0, 0xfeb5155b, 0x378), at
0xfe9b6dc8
[19] g_main_iterate(0x1, 0x1, 0x0, 0x0, 0x0, 0x0), at 0xfe9b7bcc
[20] g_main_run(0x2f0368, 0x2f0368, 0x0, 0x0, 0x0, 0x0), at 0xfe9b7f64
dbx: warning: can't find file
"/home/gisburn/package-builds/gtk+/gtk+-1.2.8/objdir/gtk/gtkmain.lo"
[21] gtk_main(0xc7838, 0xc7730, 0xffbef154, 0xffbef158, 0x0, 0xfd4a5004), at
0xfecd60a0
[22] nsAppShell::Run(this = ???) (optimized), at 0xfd4a4f58 (line ~332) in
"nsAppShell.cpp"
[23] nsAppShellService::Run(this = ???) (optimized), at 0xfd5af0e8 (line ~457)
in "nsAppShellService.cpp"
[24] main1(argc = ???, argv = ???, nativeApp = ???) (optimized), at 0x19d98
(line ~1456) in "nsAppRunner.cpp"
[25] main(argc = ???, argv = ???) (optimized), at 0x1a780 (line ~1805) in
"nsAppRunner.cpp"
-- snip --
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•23 years ago
|
||
The stack trace is identical to the one in bug 156043 ("Moz cores when printing
[@ nsRenderingContextGTK::Init") ...
*** This bug has been marked as a duplicate of 156043 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 4•23 years ago
|
||
Reporter:
(General issue:) Printing MathML is not supported for Mozilla's PostScript
module; only the Xprint module (see http://xprint.mozdev.org/ or
http://puck.informatik.med.uni-giessen.de/people/gisburn/work/xprint/) supports
printing MathML (see http://mozilla.org/releases/mozilla1.0/#printing).
You need to log in
before you can comment on or make changes to this bug.
Description
•