Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78249 - convert provided by the latest imagemagick 7.1.1.7 encounters IOT instruction error during runtime.

Attached to Project: Community Packages
Opened by SS Liu (stepinslience) - Tuesday, 18 April 2023, 05:08 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 18 April 2023, 07:19 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The convert command in imagemagick 7.1.1.7 reports IOT instruction errors when converting a png file to pdf format. A quick search in imagemagick's bugzilla doesn't find anything relevant to this issue, so I wonder if maybe something is wrong with the package. A dumped core file is attached.

Additional info:
* package version(s)
imagemagick 7.1.1.7

* system info
CPU: i7-8700
kernel: 6.2.11-zen1-1-zen

Steps to reproduce:
1. Install imagemagick 7.1.1.7
2. Convert a png file to a pdf file by command
```
convert cifib.png -resize 100% cifib.pdf
```
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 18 April 2023, 07:19 GMT
Reason for closing:  Upstream
Comment by SS Liu (stepinslience) - Tuesday, 18 April 2023, 05:10 GMT
Update: convert command in imagemagick 7.1.1.6 works.
Comment by Toolybird (Toolybird) - Tuesday, 18 April 2023, 06:21 GMT
Cannot repro. Converting a png to pdf using your command line works fine in the general case.

PS: core files are clunky and very inconvenient to work with. The preferred method these days is to generate a backtrace with debug symbols as per [1].
i.e.
$ coredumpctl gdb (then answer y when it asks "Enable debuginfod for this session?")

[1] https://wiki.archlinux.org/title/Debugging/Getting_traces#Debuginfod
Comment by Antonio Rojas (arojas) - Tuesday, 18 April 2023, 06:48 GMT
This version was released less than 24 hours ago, it is completely to be expected that nobody has reported the issue yet. Please report it upstream and, if possible, attach the affected file, since the issue seems to be specific for that file.
Comment by SS Liu (stepinslience) - Tuesday, 18 April 2023, 07:18 GMT
Yes, Antonio, you are right. I have done lots of experiments and confirmed that a png file containing specific mathematical symbols(in this case, it is the integral symbol) and exported by the latest draw.io desktop application at 200% zoom could trigger this runtime error. And really thanks Toolybird for the quick testing and telling me the correct way to collect debug info. I will report this issue to the upstream.

Loading...