Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2020 12:15:28 +0200
From:      Michael Gmelin <freebsd@grem.de>
To:        Per olof Ljungmark <peo@nethead.se>
Cc:        FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: cups-pdf crash status -139
Message-ID:  <4910A962-B20D-4D0B-A1A2-B57E2B2F4434@grem.de>
In-Reply-To: <ea164f59-56ae-d93a-25de-b0fc8ba8d49a@nethead.se>
References:  <ea164f59-56ae-d93a-25de-b0fc8ba8d49a@nethead.se>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 16. Jun 2020, at 11:47, Per olof Ljungmark <peo@nethead.se> wrote:
>=20
> =EF=BB=BFOn 2020-06-15 16:14, Michael Gmelin wrote:
>>> On Mon, 15 Jun 2020 12:03:17 +0200
>>> Per olof Ljungmark <peo@nethead.se> wrote:
>>> On 2020-06-15 09:50, Michael Gmelin wrote:
>>>>=20
>>>>  =20
>>>>> On 15. Jun 2020, at 09:45, Per olof Ljungmark <peo@nethead.se>
>>>>> wrote:
>>>>=20
>>>> What happens if you run the gs command on the pdf you=E2=80=99re printi=
ng
>>>> directly:
>>>>=20
>>>>  =20
>>>>> gs -q -dNOPAUSE -dBATCH -dSAFER -dNOMEDIAATTRS -sstdout=3D?
>>>>> -sDEVICE=3Dps2write -dShowAcroForm -sOUTPUTFILE=3D? -dLanguageLevel=3D=
2
>>>>> -r300 -dCompressFonts=3Dfalse -dNoT3CCITT -dNOINTERPOLATE ? ? -f ?
>>>=20
>>> A PDF is created.
>>>=20
>>> And, according to logs gs is OK:
>>>=20
>>> D [15/Jun/2020:09:16:23 +0200] [Job 1070] Wrote 1 pages...
>>> D [15/Jun/2020:09:16:23 +0200] [Job 1070] PID 37126 (pstops) exited
>>> with no errors.
>>> D [15/Jun/2020:09:16:23 +0200] [Job 1070] PID 37125 (gs) exited with
>>> no errors.
>>> D [15/Jun/2020:09:16:23 +0200] [Job 1070] PID 37123
>>> (/usr/local/libexec/cups/filter/pdftops) exited with no errors.
>>> I [15/Jun/2020:09:16:23 +0200] [Job 1070] Backend returned status
>>> -139 (crashed)
>> Are you printer(s) shown as okay in the cups web UI? (like, not
>> temporarily halted, stopped, etc.?). I sometimes had some issues after
>> upgrading, especially with hplip.
>> This upstream issue reported earlier this year sounds similar to what
>> you're seeing, maybe it helps: https://github.com/apple/cups/issues/5765
>=20
> The cups-pdf printer is paused with "Backend failed" but all other printer=
s are OK. HPLIP is not installed.
>=20

Can you enable the cups-pdf printer using the =E2=80=9Ccupsenable=E2=80=9D c=
ommand? And if so, will it stay enabled or go back to paused/failed at the n=
ext attempt?

Cheers,
Michael



> The info from the link you sent looks related although the configs are not=
 the same, but it is an interesting lead that I will pursue further. There i=
s a severe lack of debug info though, the error_log is not helpful at all.
>=20
> Also, that thread is dated April 6 which is about the same time that the p=
roblem showed up here too.
>=20
> Thanks,
>=20
> Per
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4910A962-B20D-4D0B-A1A2-B57E2B2F4434>