LWN.net Logo

Fix for PostScript printer crash

Fix for PostScript printer crash

Posted Apr 11, 2008 14:33 UTC (Fri) by cworth (subscriber, #27653)
Parent article: cairo release 1.6.0 now available

So isn't it always like this?

We spent a year putting that release together and trying to get it
just right. That nasty printer-crashing bug appeared in the last few
days and I had to overcome my perfectionist tendencies to release with
the bug in place and just mention it in the release notes:


	[*] Note: Just before this release, a bug has been reported that the
	PostScript output from cairo can crash some printers, (so far the
	following models have been reported as problematic Xerox Workcentre
	7228 or 7328 and Dell 5100cn). We will implement a workaround as soon
	as we can learn exactly what in cairo's output these printers object
	to, (and we could use help from users that have access to misbehaving
	printers). This bug is being tracked here:

	Printing some PDFs from evince is crashing our Xerox printer
	http://bugs.freedesktop.org/show_bug.cgi?id=15348

And then Adrian went and fixed the bug with a tiny change not more
than 12 hours after the release went out:

http://gitweb.freedesktop.org/?p=cairo;a=commit;h=c5814d2...

Ah well. I am happy that the fix is in place now. And it is
interesting to realize that these printers must have some very broken
memory management, (somehow they don't like us creating a new font
every few glyphs).

Anyone responsible for cairo in a distribution might want to create a
patch real quick from the fix above. And I'll probably roll an
immediate 1.6.2 with it.

Perhaps this will help keep us humble,

-Carl


(Log in to post comments)

Fix for PostScript printer crash

Posted Apr 11, 2008 19:08 UTC (Fri) by cworth (subscriber, #27653) [Link]

I said earlier:

> Anyone responsible for cairo in a distribution might want to create a
> patch real quick from the fix above. And I'll probably roll an
> immediate 1.6.2 with it.

And I've done that now:

http://cairographics.org/news/cairo-1.6.2/

Sorry for the noise,

-Carl

Fix for PostScript printer crash

Posted Apr 11, 2008 23:58 UTC (Fri) by engla (guest, #47454) [Link]

I'm sorry for the bad luck you've had but I enjoyed the humor in the two minor releases
tremendously. --ulrik

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds