X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 24BA33851C09 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mhoenicka.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=markus DOT hoenicka AT mhoenicka DOT de MIME-Version: 1.0 Date: Tue, 23 Jun 2020 15:03:15 +0200 From: Markus Hoenicka To: cygwin AT cygwin DOT com Subject: Re: ImageMagick maybe broken by libgs9 upgrade In-Reply-To: <134f371b-8989-4ed7-2209-acc486960d65@cornell.edu> References: <241354771 DOT 1752406 DOT 1592876221936 DOT ref AT mail DOT yahoo DOT com> <241354771 DOT 1752406 DOT 1592876221936 AT mail DOT yahoo DOT com> <92b51d45-55b5-33e1-c1c7-883094b6b09b AT cornell DOT edu> <134f371b-8989-4ed7-2209-acc486960d65 AT cornell DOT edu> Message-ID: <0dd00cea6dd675142ca617d2caf5d818@mhoenicka.de> X-Sender: markus DOT hoenicka AT mhoenicka DOT de User-Agent: Roundcube Webmail X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 05ND3iYg008172 On 2020-06-23 14:15, Ken Brown via Cygwin was heard to say: > On 6/23/2020 7:27 AM, Ken Brown via Cygwin wrote: >> On 6/22/2020 9:37 PM, Emily via Cygwin wrote: >>> I use ImageMagick to convert and crop shipping labels from PDFs >>> generated by Ebay.  On 6/8, this command worked: >>> >>> $ convert -density 300 -crop 1500x1200 label.pdf label.png >>> Aborted (core dumped) >>> >>> >>> The command still runs on PDFs that were not generated by Ebay, but I >>> get the same error on old Ebay PDF files (from 6/8 and earlier) that >>> previously converted and cropped without problems. >>> >>> >>> This is in my /var/log/setup.log: >>> >>> 2020/06/09 19:52:15   29 install libgs9                9.52-2 >>> 2020/06/09 19:52:15   30   erase libgs9                9.27-2 >>> >>> >>> Cropping in a separate step after converting to PNG still works: >>> >>> $ convert -density 300 label.pdf temp.png >>> $ convert -crop 1500x1200 temp.png label.png >>> >>> >>> But in case other ImageMagick functionality is also broken, this >>> isn't a permanent solution.  I tried to downgrade libgs9, but 9.27 is >>> no longer an option in setup, even after I added another mirror. >> >> Please provide a sample label.pdf for which you're seeing this >> behavior. > > You could also try adding the '-verbose' option to your command line > to see if that gives a clue. > > Ken Hi, I don't know whether this helps to track down the problem, but here goes anyway: I see the same crash with .ps and .eps files (unsurprisingly, as these and .pdf are processed by libgs). The same conversions work with "gm convert" from the GraphicsMagick package. gm is not linked against libgs, but seems to invoke the gs executable instead. This does not crash, although it is linked against the very same libgs. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple