public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Markus Hoenicka <markus.hoenicka@mhoenicka.de>
To: cygwin@cygwin.com
Subject: Re: ImageMagick maybe broken by libgs9 upgrade
Date: Tue, 23 Jun 2020 15:03:15 +0200	[thread overview]
Message-ID: <0dd00cea6dd675142ca617d2caf5d818@mhoenicka.de> (raw)
In-Reply-To: <134f371b-8989-4ed7-2209-acc486960d65@cornell.edu>

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

  reply	other threads:[~2020-06-23 13:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <241354771.1752406.1592876221936.ref@mail.yahoo.com>
2020-06-23  1:37 ` Emily
2020-06-23 11:27   ` Ken Brown
2020-06-23 12:15     ` Ken Brown
2020-06-23 13:03       ` Markus Hoenicka [this message]
2020-06-23 16:56         ` Marco Atzeri
2020-06-23 18:18           ` Ken Brown
2020-06-23 20:56             ` Ken Brown
2020-06-23 21:02               ` Marco Atzeri
2020-06-24  5:30                 ` Marco Atzeri
2020-06-24 10:24                   ` Ken Brown
2020-06-24 18:21                     ` Marco Atzeri
2020-06-24 18:46                       ` Emily
2020-06-24 19:03                         ` Ken Brown
2020-06-24 19:04                         ` Marco Atzeri
     [not found]                           ` <1033343864.3079093.1593118308854@mail.yahoo.com>
2020-06-26  3:38                             ` Marco Atzeri
2020-06-26  4:00                               ` Marco Atzeri
2020-06-26  5:46                                 ` Emily
2020-06-26 18:10                                   ` marco atzeri
2020-06-23 13:05       ` Lemures Lemniscati
2020-06-23 19:32       ` Emily
2020-06-23 19:41         ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0dd00cea6dd675142ca617d2caf5d818@mhoenicka.de \
    --to=markus.hoenicka@mhoenicka.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).