Closed Bug 283167 Opened 20 years ago Closed 20 years ago

segfault when printing (postscript)

Categories

(Firefox :: General, defect)

All
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 282739

People

(Reporter: jbohac, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.7.3) Gecko/20040913 Firefox/0.10

Firefox segfaults when trying to print this page. no Xprint installed, using the
default postscript driver. No matter whether I print to file, or to the print
system, using lpr.

Reproducible: Always

Steps to Reproduce:
1. go to http://www.seznam.cz
2. File->Print; select the default postscript printer; print to file to save
paper if it worked
3. click "print"

Actual Results:  
segfault, nothing printed, the resulting file empty

Expected Results:  
printed
oops, sorry, the resulting file is not empty. It starts as a fvalid postscript,
and ends unexpectedly. This is what I get at the end of the file:
{
  csize /Nog
The crash looks like this:

(gdb) bt
#0  0x0000002a9a402ca6 in nsCOMPtr<nsIRenderingContext>::get (this=0x8)
    at nsCOMPtr.h:693
#1  0x0000002a9a402a9f in nsCOMPtr<nsIRenderingContext>::operator
nsDerivedSafe<nsIRenderingContext>* (this=0x8) at nsCOMPtr.h:705
#2  0x0000002a9a78d146 in nsViewManager::RenderViews (this=0x14c2e40,
    aRootView=0x14c1c60, aRC=@0x14b4930, aRegion=@0x7fbfffe920,
    aRCSurface=0x0, aDisplayList=@0x7fbfffe960) at nsViewManager.cpp:1346
#3  0x0000002a9a7920c5 in nsViewManager::Display (this=0x14c2e40,
    aView=0x14c1c60, aX=0, aY=0, aClipRect=@0x7fbfffea80)
    at nsViewManager.cpp:3289
#4  0x0000002a9a3f0b34 in nsSimplePageSequenceFrame::PrintNextPage (
    this=0x166a2f0, aPresContext=0x169e110) at nsSimplePageSequence.cpp:891
#5  0x0000002a9a53410e in nsPrintEngine::PrintPage (this=0x11a4fe0,
    aPresContext=0x169e110, aPrintSettings=0x11e9be0, aPO=0x119cea0,
    aInRange=@0x7fbfffeb98) at nsPrintEngine.cpp:3576
#6  0x0000002a9a53c137 in nsPagePrintTimer::Notify (this=0x18b2d20,
    timer=0x18b2d80) at nsPagePrintTimer.cpp:91
#7  0x0000002a95957672 in nsTimerImpl::Fire (this=0x18b2d80)
    at nsTimerImpl.cpp:385
#8  0x0000002a9595782a in handleTimerEvent (event=0x10af770)
    at nsTimerImpl.cpp:447
#9  0x0000002a95950116 in PL_HandleEvent (self=0x10af770) at plevent.c:673
#10 0x0000002a9594ffa9 in PL_ProcessPendingEvents (self=0x5ba7f0)
---Type <return> to continue, or q <return> to quit---
    at plevent.c:608
#11 0x0000002a95952ea8 in nsEventQueueImpl::ProcessPendingEvents (
    this=0x606c10) at nsEventQueue.cpp:398
#12 0x0000002a997aa6ee in event_processor_callback (source=0x78cec0,
    condition=G_IO_IN, data=0x606c10) at nsAppShell.cpp:67
#13 0x0000002a96e0fcdb in g_io_unix_dispatch (source=0x78cf40,
    callback=0x2a997aa6b8 <event_processor_callback>, user_data=0x606c10)
    at giounix.c:162
#14 0x0000002a96dee90c in g_main_dispatch (context=0x57b2e0) at gmain.c:1947
#15 0x0000002a96def8a4 in IA__g_main_context_dispatch (context=0x57b2e0)
    at gmain.c:2497
#16 0x0000002a96defbae in g_main_context_iterate (context=0x57b2e0, block=1,
    dispatch=1, self=0x40) at gmain.c:2578
#17 0x0000002a96df0095 in IA__g_main_loop_run (loop=0x78f620) at gmain.c:2782
#18 0x0000002a961817f1 in IA__gtk_main () at gtkmain.c:963
#19 0x0000002a997aad06 in nsAppShell::Run (this=0x5be5c0) at nsAppShell.cpp:142
#20 0x0000002a99055a5c in nsAppShellService::Run (this=0x5bcd30)
    at nsAppShellService.cpp:494
#21 0x000000000040e628 in xre_main (argc=3, argv=0x7fbffff5e8,
    aAppData=0x5220a0) at nsAppRunner.cpp:1907
#22 0x00000000004090da in main (argc=3, argv=0x7fbffff5e8)
    at nsBrowserApp.cpp:58

*** This bug has been marked as a duplicate of 282739 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.