From owner-freebsd-ports@freebsd.org Tue Jun 16 10:15:37 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D48D33077C for ; Tue, 16 Jun 2020 10:15:37 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49mPGc2f47z4dPY for ; Tue, 16 Jun 2020 10:15:35 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id a208cc42; Tue, 16 Jun 2020 10:15:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=TJB+CGN8TwgPnc 6aqR+sSBmYcgo=; b=V9906PQpRDU08fHsZspnfO7c6QYr/j2pM99oECGDvfBkbS 9Mh+HpAdihsFR2RAdtZprhHPJp+5ZuxDLKipj4+HD02kLdAhaXoijm+ju7C+wTH8 35REGqBi1a5w86lzGWep1ewSfqLq4leN9SCZM5Yr4IXCB+IREbXt3r5aSX+8XwHp QIkzqLKGYtsKVqvoFBlvlHhJ06A6w2UZogi5sZ53q7hGwnTx1HHDtYmA26EK6Gq7 gNLoJYAgbHzlBoqCi4Hv2lsEQpBaIV8sZGw3PYknVe8YpQcs6HOceidbrvzV+20+ emT5YTT9DTso5N7bJQArXZeJJP3yydCyP5HsWKxQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=fyAupSCj CIkyatkJDM0FXK9SrqmqB2I0Ul7L7SL/ZdsV4M3+SOwqfHrDnToHVA6LeZ8UQGZo f0fcUgCv01IHRr4Sf4UScCC/XUMRqMu/HFJlZVE6uGjl3G06DbjrbRokSdKpTSrJ 2iRYc7s98B4ZQVSXP+BWKvMfg3Q7meel/Ahhj+DMMs+ZuGNd7rMBvHN+6PcnMuf1 leyll4t+QHFqQLE/w4mysHZtavRtx3HqqAshsX+oefC48qEXhBzbdfW8IbLxdOau DDpx46+5lJKC4UTGdOg+w08WGeEZD+1r1GTEU4ShkXqzumefaPZzco1gYpCxmxEO K14g5FC7q1uhTQ== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 6ee16858 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Tue, 16 Jun 2020 10:15:30 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: cups-pdf crash status -139 From: Michael Gmelin In-Reply-To: Date: Tue, 16 Jun 2020 12:15:28 +0200 Cc: FreeBSD Message-Id: <4910A962-B20D-4D0B-A1A2-B57E2B2F4434@grem.de> References: To: Per olof Ljungmark X-Mailer: iPhone Mail (17F80) X-Rspamd-Queue-Id: 49mPGc2f47z4dPY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=V9906PQp; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-2.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.05)[-1.046]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_LONG(-0.99)[-0.990]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.44)[-0.445]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2020 10:15:37 -0000 > On 16. Jun 2020, at 11:47, Per olof Ljungmark 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 wrote: >>> On 2020-06-15 09:50, Michael Gmelin wrote: >>>>=20 >>>> =20 >>>>> On 15. Jun 2020, at 09:45, Per olof Ljungmark >>>>> 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"