Closed Bug 189814 Opened 22 years ago Closed 15 years ago

Printing a XUL slider crashes browser in Classic theme [@ nsPrintEngine::ReflowPrintObject]

Categories

(Core :: XUL, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: chuckie, Unassigned)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3b) Gecko/20030119 Build Identifier: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3b) Gecko/20030119 If the Classic theme is active, printing a XUL document with a <slider> will crash the browser. Setting the enclosed <thumb>'s CSS -moz-appearance property to "none" prevents the crash. The crash doesn't happen at all in the Modern theme. Reproducible: Always Steps to Reproduce: 1. Switch to the Classic theme 2. access the attached printcrash.xul document 3. print this document. Actual Results: Browser crashed. Expected Results: Printed the document. Talkback crash ID: TB16399880E
Blocks: xulprinting
Keywords: crash, stackwanted
Whiteboard: TB16399880E
Attached file stacktrace
from linux trunk CVS (today)
marking NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: stackwantedtestcase
Summary: Printing a XUL slider crashes browser in Classic theme → Printing a XUL slider crashes browser in Classic theme [@ nsPrintEngine::ReflowPrintObject]
WTF with 2003-03-27-08-trunk - should be fixed now...
I still crash with linux trunk 20030330
Andrew Schultz wrote: > I still crash with linux trunk 20030330 Printing PostScript module or Xprint module ?
I now crash with print preview (which should be using XPrint), but not print (XPrint and Postcript both work).
It's also crashing with 2003091510/trunk/W2K -> TB23659746M xref: bug 219410 - print preview of about:config is crashing (with same crash signature)
OS: Linux → All
Whiteboard: TB16399880E
about:config is bug 218304
Blocks: 218304
no crash currently. receive message "We are unable to Print or Print Preview this page."
Assignee: hyatt → nobody
QA Contact: shrir → xptoolkit.xul
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Yeah, that's because of the sketchy fix in bug 240490. It's possible that something like this still crashes when inside an HTML document. But Martijn Wargers has been testing print / print preview really hard, so if this bug still existed when he started I bet it's gone by now. I'll add this testcase as crashtest, just to be sure. I'll use reftest-print if the framework lets me.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Using reftest-print seems to get around the fix in bug 240490, triggering assertions like: ###!!! ASSERTION: XUL documents should never be scrollable - see above: '!isScrollable || !isXUL', file /Users/jruderman/central/layout/base/nsCSSFrameConstructor.cpp, line 2853 ###!!! ASSERTION: Unexpected PopupSetFrame: 'nsIRootBox::GetRootBox(mPresShell) && nsIRootBox::GetRootBox(mPresShell)->GetPopupSetFrame() == newFrame', file /Users/jruderman/central/layout/base/nsCSSFrameConstructor.cpp, line 3903 So I'll add this as a normal crashtest.
Crash Signature: [@ nsPrintEngine::ReflowPrintObject]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: