Closed Bug 214253 Opened 22 years ago Closed 22 years ago

printing about:config page crashes the browser

Categories

(Core :: Printing: Output, defect)

DEC
OSF/1
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 195721

People

(Reporter: shanmus, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.4) Gecko/20030701 Build Identifier: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.4) Gecko/20030701 I see this problem in Mozilla 1.4. Loaded the about:config page and try to print. This caused mozilla crash. My default printer is Postscript. Reproducible: Always Steps to Reproduce: 1.Load about:config 2.Try to print 3.See the crash Actual Results: The browser crashes Expected Results: Should have printed the page
Attached file Stack trace
Reporter: Can you try if printing via Xprint crashes, too ?
Bug 195721 (via bug 192706)? BTW: nice typo in summary
Summary: printing about:crash page crashes the browser → printing about:config page crashes the browser
The root cause of the problem is that this code is dealing with a NULL pointer. (I am trying to install Xprint on my system. I didn't have success in the first time). (ladebug) t 2 #0 0x3ffbf78084c in ((nsDrawingSurfaceGTK*)0x0)->nsDrawingSurfaceGTK::GetDrawable() "nsDrawingSurfaceGTK.h":105 >1 0x3ffbf781d9c in ((nsNativeThemeGTK*)0x140368a60)->nsNativeThemeGTK::DrawWidgetBackground(aContext=0x140f57180, aFrame=0x141080848, aWidgetType='W', aRect=& struct nsRect { ... }, aClipRect=& struct nsRect { ... }) "nsNativeThemeGTK.cpp":382 (ladebug) w 377 &flags)) 378 return NS_OK; 379 380 nsDrawingSurfaceGTK* surface; 381 aContext->GetDrawingSurface((nsDrawingSurface*)&surface); > 382 GdkWindow* window = (GdkWindow*) surface->GetDrawable(); 383 384 nsTransform2D* transformMatrix; 385 aContext->GetCurrentTransform(transformMatrix); 386 (ladebug) p surface 0x0 (ladebug)
One more key information is that even priting this "about:config" to a file, by choosing "Print to a file" also crashes.That is one more reason to believe that using Xprint wouldn't avoid the crash.
Duping. though the bug i am duping to has a different summary, bugs that crash in about:crash has been duped to that one. *** This bug has been marked as a duplicate of 195721 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Note that printing XUL (about:config is written in XUL, not HTML) is only half-working since pagination is not implemented - you will only see the first page
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: