Closed Bug 3295 Opened 26 years ago Closed 26 years ago

Crash clicking on Print button: nsScrollbar::SetParameters

Categories

(Core :: Layout, defect, P1)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: akkzilla, Assigned: slogan)

Details

Run apprunner, click Print. Boom! Both Linux and Windows. #1 0x400887ea in nsScrollbar::SetParameters (this=0x8146c00, aMaxRange=0, aThumbSize=0, aPosition=0, aLineIncrement=0) at /builds/seamonkey/mozilla/widget/src/gtk/nsScrollbar.cpp:248 #2 0x40fbab9b in nsScrollingView::ComputeContainerSize (this=0x80acf80) at /builds/seamonkey/mozilla/view/src/nsScrollingView.cpp:1177 #3 0x40fbad6c in nsScrollingView::SetScrollPreference (this=0x80acf80, aPref=nsScrollPreference_kAuto) at /builds/seamonkey/mozilla/view/src/nsScrollingView.cpp:1223 #4 0x404ac3e1 in nsScrollFrame::CreateScrollingView (this=0x80acf18) at /builds/seamonkey/mozilla/layout/html/base/src/nsScrollFrame.cpp:200 #5 0x404abe5b in nsScrollFrame::Init (this=0x80acf18, aPresContext=@0x8146a38, aContent=0x0, aParent=0x80acc80, aStyleContext=0x80accf8, aPrevInFlow=0x0) at /builds/seamonkey/mozilla/layout/html/base/src/nsScrollFrame.cpp:59 #6 0x40590545 in nsCSSFrameConstructor::ConstructRootFrame (this=0x8146b48, aPresContext=0x8146a38, aDocElement=0x815c95c, aNewFrame=@0x8146bbc) at /builds/seamonkey/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:1400 #7 0x4045b26d in StyleSetImpl::ConstructRootFrame (this=0x8146b00, aPresContext=0x8146a38, aDocElement=0x815c95c, aFrameSubTree=@0x8146bbc) at /builds/seamonkey/mozilla/layout/base/src/nsStyleSet.cpp:725 #8 0x404a7439 in PresShell::InitialReflow (this=0x8146b90, aWidth=11520, aHeight=14400) at /builds/seamonkey/mozilla/layout/html/base/src/nsPresShell.cpp:823 #9 0x4023a6f8 in DocumentViewerImpl::Print (this=0x815c320) at /builds/seamonkey/mozilla/webshell/src/nsDocumentViewer.cpp:552 #10 0x40829dc8 in GlobalWindowImpl::Print (this=0x815cc90) at /builds/seamonkey/mozilla/dom/src/base/nsGlobalWindow.cpp:833 #11 0x4082407e in WindowPrint (cx=0x80af648, obj=0x812bae0, argc=0, argv=0x81780ac, rval=0xbfffe9bc)
Assignee: troy → michaelp
The viewer prints just fine for me (on NT anyway), so either this is an apprunner specific problem or a platform specific platform. Either way it doesn't look like a layout problem.
Assignee: michaelp → ramiro
Assignee: ramiro → syd
I'm working with Don Cone to implement PS printing RSN in Linux.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Should be fixed.
Status: RESOLVED → VERIFIED
Using 3/26 build on Win 95, Win 98, Win NT, Mac85. and Linux, verified fixed. Clicking on 'Print' in Apprunner does not cause a crash.
You need to log in before you can comment on or make changes to this bug.