Closed Bug 110804 Opened 24 years ago Closed 24 years ago

gdk exits when try to do "print Preview"

Categories

(Core :: Internationalization, defect, P1)

x86
Linux
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: amyy, Assigned: bstell)

References

()

Details

(Keywords: crash, intl, regression)

Attachments

(1 file)

Build: 11-19-06 trunk build. When click the menu item "Print Preview" under file, the browser got crashed. It was worked fine on 11-16 trunk build.
Keywords: crash, regression
Summary: Crash when try to do "print Preview" → Linux: Crash when try to do "print Preview"
Rod, looks like we have a regression here...
Will take a look
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla0.9.7
WFM with Sparc Solaris build 2001111822.
this is for you rod.
Assignee: dcone → rods
Status: ASSIGNED → NEW
Just pulled and built and I was able to PP the mozilla.org page. I need an URL or a stack trace or something
Status: NEW → ASSIGNED
Summary: Linux: Crash when try to do "print Preview" → [WFM]Linux: Crash when try to do "print Preview"
I have this crash with any pages. And don't know why talkback was not showing up with this crash, I only see the error message in terminal window: Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 63454 error_code 8 request_code 73 minor_code 0
It doesn't crash with 11/16 trunk build, but it does crash on 11/18 trunk build on my system. Added bstell on cc list.
may be related to the checkin of bug 90813
Another way: go: http://www.kdaily.com will see the crash which is same as when I try print preview - same error message and no talkback pops-up.
Yuying, can you please provide a URL and/or stack trace? thanks.
This crash doesn't happen when running browser in C or en_US locale. It crashes in Japanese locale. That's why only people in intl group see this crash.
Keywords: intl
I am not really sure how I can fix this bug
I will take a look. Take the bug for now.
Assignee: rods → shanjian
Status: ASSIGNED → NEW
QA contact to Yuying.
QA Contact: sujay → ylong
> Gdk-ERROR **: BadMatch (invalid parameter attributes) > serial 63454 error_code 8 request_code 73 minor_code 0 this appears related to the checkin of bug 90813
Assignee: shanjian → bstell
Change product to intl - not only crash on print preview but also by loading some web pages. (e.g. kdaily.com)
Component: Printing → Internationalization
The test for invalid size was before some of the code that could update the size.
*** Bug 110858 has been marked as a duplicate of this bug. ***
Comment on attachment 58571 [details] [diff] [review] patch; move test for invalid size to after last time value is set /r=yokoyama
Attachment #58571 - Flags: review+
changed title from: [WFM]Linux: Crash when try to do "print Preview" to: gdk exits when try to do "print Preview"
Status: NEW → ASSIGNED
Summary: [WFM]Linux: Crash when try to do "print Preview" → gdk exits when try to do "print Preview"
Attachment #58571 - Attachment description: patch; move test for invalid size to after value is set → patch; move test for invalid size to after last time value is set
I wonder if this fix would also fix the problem that occured in bug 32736 (in the old deprecated shm code). Certainly it'd be quite nice to fix bug 32736 now that we're using blending a bit more heavily under X11 for aasb fonts.
> I wonder if this fix would also fix the problem that > occured in bug 32736 (in the old deprecated shm code). The code in the bug is definitely unrelated to bug 32736. I'm only familar with request codes up to 119 so I don't recognize the error: Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 18726 error_code 8 request_code 129 minor_code 4 > Certainly it'd be quite nice to fix bug 32736 now that > we're using blending a bit more heavily under X11 for > aasb fonts. For AA text display I would much prefer to see the Render extension used than shared memory since Render knows how to interact well with the hardware (ie: avoiding video bus contention).
> Render knows how to interact well with > the hardware (ie: avoiding video bus contention). oops, I forgot: moz draws text to an off screen buffer so this may not matter. Still, Xrender removes the need to move the background down to the client for blending then back up to the server.
> oops, I forgot: moz draws text to an off screen buffer so this may not > matter. Still, Xrender removes the need to move the background down to > the client for blending then back up to the server. Sure! But then, fixing/re-adding shm support for the 'get' would make the speed of the process suck somewhat less for the X servers out there which don't have (working) XRender support (ie. the vast majority of them).
> the X servers out there which don't have (working) XRender > support (ie. the vast majority of them). Is this true?
> Is this true? e.g. of the five X setups I use only one has a (presumably -- untested) working RENDER set-up, and I'm more often obsessively-upgrading than the average person, I think. I'm extrapolating from that.
the reason I ask is that I'm trying to get an TrueType solution that allows Xrender but does not require it and I find I'm being beaten soundly about the head and shoulders for even considering such a thing.
Don't get me wrong; I'd be as keen as anyone on a nice TTF solution which is possibly-independant of RENDER. I am merely wishing to draw attention to what looks like relatively-light work which would possibly benefit more users in the short term.
Comment on attachment 58571 [details] [diff] [review] patch; move test for invalid size to after last time value is set sr=waterson
Attachment #58571 - Flags: superreview+
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Not reproducible on 11-29 trunk build. Verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: