Re: gutenprint crashes with signal 6 / bad colorspace

Solomon Peachy via Gimp-print-devel <[email protected]> Tue, 10 Mar 2026 08:38:44 -0400
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <[email protected]>
--===============9002987601008904746==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="WLx+49hPDwD9nc/3"
Content-Disposition: inline


--WLx+49hPDwD9nc/3
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 09, 2026 at 03:14:05PM +0100, Dr. Peer Griebel via Gimp-print-d=
evel wrote:
> I have a huge problem with CPUS/Gutenprint.  I already filed a report:
> https://bugs.gentoo.org/970997.  Should I repeat the contents here?

What appears to be happening is that the unknown colorspace results in=20
the input image being treated as the default of B&W, which throws off=20
all of the calculations for the amount of data that needs to be read.

I'm shocked this hasn't manifested until now; these colorspace tags were=20
added in CUPS 1.4.5 (late 2010).  As for how it's being triggered, your=20
print flow apparently is using Ghostscript which is rather unusual these=20
days.  Somewhere in its configuration (or possibly even hardcoded?) it=20
is set to default to specifying sRGB.

This is the patch I just committed to (hopefully) resolve this:

  https://sourceforge.net/p/gimp-print/source/ci/86650bbe8dde7d86c468d1645c=
aae1afc7db37e1/

 - Solomon
--=20
Solomon Peachy			      pizza at shaftnet dot org (email&xmpp)
                                      @pizza:shaftnet dot org   (matrix)
Dowling Park, FL                      speachy (libera.chat)

--WLx+49hPDwD9nc/3
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE3H5Sx9DyiyB5hnENrGLLO/XVulEFAmmwENIACgkQrGLLO/XV
ulH8hRAAq6n38XtDqC6IXiTZbf/WuVmIMwUcG6ZmXGtM+xeMJpMEwFcOQuGSpcYK
GWNvvgdu+kVrqyovN63ixOws98aIDsAj1+mF0XPk2aHEtO8NnZOX7Nmkom1A1NvD
mHiPeKPWcUL7XG53aDZXRBHfZs+0+Vjvbudu7HCOqYLroesTGCvZJMWbT3ZW7xRc
eWkoomjXwTkxE8kM348A7aFgpuuA/3mNXXSFfhpRAeffNG/s5JIaZjIozK5S+6Jj
EbqSieoGi8iYzFcHHvxfONcbDAYigGcw/HpvgfTSTQbhqWj4Qg3CiHEHYQnXD2C2
oWdODmqdX34ms1oBk1jZjfsHC9Fr/tWUWMbUdPxZXRFnT3YXvYAT0XvrpcwVRRkQ
xIvZD2F0Gatzx4bmj4mtEC34OCojbDJniRN0DgTkGhu9aqlPGAyOeekqHaJ12U/a
a8VRh810bKXb1KuLh7/cT6jVMbVpTEPRG2QseEQuoGGHw0cDtMcYNhraL7bdpjUO
ixXROHbT4xRO7cT9iTdBIBQW4YsotdhwQSQVgqsac9DvPRarR52Q0kKyJ1hCJLvc
ymVn4bjRH3fUWYJQHCS5EwFvOdgvj7K73ErzTyArrzKOfMBMcEWOGFAkDX1zddAG
urTVBsW7/yo/ZJzjczlD1pdmiUQsRHP/aGLuWg920nsUMNcoj0A=
=TrI+
-----END PGP SIGNATURE-----

--WLx+49hPDwD9nc/3--


--===============9002987601008904746==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============9002987601008904746==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gimp-print-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimp-print-devel

--===============9002987601008904746==--