Closed Bug 145609 Opened 23 years ago Closed 22 years ago

[WFM]Crash in DocumentViewerImpl::DonePrintingPages() after printing

Categories

(Core :: Printing: Output, defect)

Sun
Solaris
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
mozilla1.3beta

People

(Reporter: roland.mainz, Assigned: rods)

References

()

Details

(Keywords: crash)

Attachments

(1 file)

2002-05-17-08-trunk on Solaris/SPARC build with Sun Workshop 7 EA 2 My build crashes after printing completes like this; -- snip -- ###!!! ASSERTION: mPrt is null!: 'mPrt', file ../../../../../../../../home/mozilla/src/2002-05-17-08-trunk/mozilla/content/base/src/nsDocumentViewer.cpp, line 3032 Break: at file ../../../../../../../../home/mozilla/src/2002-05-17-08-trunk/mozilla/content/base/src/nsDocumentViewer.cpp, line 3032 t@1 (l@1) signal SEGV (no mapping at the fault address) in DocumentViewerImpl::DonePrintingPages dbx: warning: can't find file "/shared/bigtmp2/mozilla/2002-05-17-08-trunk/objdir_ws7ea2_gtk/content/build/nsDocumentViewer.o" dbx: warning: see `help finding-files' at 0xfc5625ac 0xfc5625ac: DonePrintingPages+0x0038: ld [%o7 + 0x10], %o1 Current function is event_processor_callback (optimized) 184 eventQueue->ProcessPendingEvents(); (/opt/SUNWspro/FD7/bin/../YNH/bin/sparcv9/dbx) where current thread: t@1 [1] DocumentViewerImpl::DonePrintingPages(0x197d58, 0xc0b520, 0x852f48, 0x80004000, 0xffbeebdc, 0xe6), at 0xfc5625ac [2] nsPagePrintTimer::Notify(0xe0b740, 0xe0b4e8, 0x1400, 0xff1b0a92, 0x0, 0xff1ed908), at 0xfc580ea0 [3] nsTimerImpl::Fire(0xe0b4e8, 0x0, 0x0, 0xe0b740, 0xfc923638, 0xfc580e30), at 0xff0fde3c [4] handleTimerEvent(0xe0b528, 0x1, 0x2800, 0x2b4c, 0xff1ed788, 0x0), at 0xff0fe0a8 [5] PL_HandleEvent(0xe0b528, 0x152b20, 0x0, 0x1000, 0x130c, 0x1000), at 0xff0f3b00 [6] PL_ProcessPendingEvents(0x97960, 0x3, 0x0, 0xff1df6b0, 0x0, 0x0), at 0xff0f3938 [7] nsEventQueueImpl::ProcessPendingEvents(0x9e778, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff0f5c18 =>[8] event_processor_callback(data = ???, source = ???, condition = ???) (optimized), at 0xfd4a4ac0 (line ~184) in "nsAppShell.cpp" [9] our_gdk_io_invoke(source = ???, condition = ???, data = ???) (optimized), at 0xfd4a4670 (line ~76) in "nsAppShell.cpp" dbx: warning: can't find file "/home/gisburn/package-builds/glib/glib-1.2.8/objdir/giounix.lo" [10] g_io_unix_dispatch(0x2e53b0, 0xffbef030, 0x24aa60, 0x0, 0x0, 0xffbeef98), at 0xfe9b2dc8 dbx: warning: can't find file "/home/gisburn/package-builds/glib/glib-1.2.8/objdir/gmain.lo" [11] g_main_dispatch(0xffbef030, 0xeb0d8, 0x1, 0x0, 0xfeb5155b, 0x378), at 0xfe9b6dc8 [12] g_main_iterate(0x1, 0x1, 0x0, 0x0, 0x0, 0x0), at 0xfe9b7bcc [13] g_main_run(0x2e7158, 0x2e7158, 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" [14] gtk_main(0xc1f30000, 0xd3674, 0xfd4a4cac, 0x0, 0x0, 0x1308d0), at 0xfecd60a0 [15] nsAppShell::Run(this = ???) (optimized), at 0xfd4a4f90 (line ~332) in "nsAppShell.cpp" [16] nsAppShellService::Run(this = ???) (optimized), at 0xfd5b16a8 (line ~450) in "nsAppShellService.cpp" [17] main1(argc = ???, argv = ???, nativeApp = ???) (optimized), at 0x19dc8 (line ~1456) in "nsAppRunner.cpp" [18] main(argc = ???, argv = ???) (optimized), at 0x1a7ac (line ~1805) in "nsAppRunner.cpp" -- snip --
We either do not turn the timer off or do not check for nsnull arguments... bad... ;-(
Keywords: crash
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
can this be reproduced?
rods wrote: > can this be reproduced? Go to http://www.cnn.com/ and try to print on a Linux box. It should crash...
It doesn't crash on my linux box.
Target Milestone: mozilla1.0 → mozilla1.0.1
rods wrote: > It doesn't crash on my linux box. Printing http://arabic.cnn.com/ with 2002-05-31-08-trunk on my Solaris 2.7/SPARC box now brings-up a dialog after printing which says "printing failed for some reason" (which is not true - the job is printed completely without problems); confirming the dialog ends-up in a crash.
http://www.ynet.co.il/ crashes, too... and I see that both pages use IFrames in my case ... ewwwww... ;-(
None of these crash for me on Linux or Win2k
Summary: Crash in DocumentViewerImpl::DonePrintingPages() after printing → [WFM]Crash in DocumentViewerImpl::DonePrintingPages() after printing
Target Milestone: mozilla1.0.1 → mozilla1.1alpha
Attached file Mac OS X Crash Log
Seen at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/dmref_2pt1.asp when printing, I saw the print view, if that's what it's called, superimposed over the page view before the crash. Mac OS X 10.1.5, Mozilla v1.0
worksforme at www.cnn.com and the MS URL, linux trunk build 20020728
Target Milestone: mozilla1.1alpha → mozilla1.2beta
Target Milestone: mozilla1.2beta → mozilla1.3beta
wfm using build 20021226 on Linux. Roland, do you still crash ?
Olivier Cahagne wrote: > wfm using build 20021226 on Linux. > Roland, do you still crash ? No, it prints now without crashing... ... marking bug as WorksForMe... :)
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: