You are not logged in.

#1 2013-11-02 10:51:30

episyron
Member
Registered: 2010-07-21
Posts: 18

[Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

Hi,

after upgrading imagemagick to 6.8.7.4-1 by running convert or montage I get:

zsh: illegal hardware instruction (core dumped)

and in syslog:

kernel: [ 3859.265061] traps: convert[7753] trap invalid opcode ip:7f3edf03502a sp:7fff85f268c0 error:0 in libMagickCore-6.Q16HDRI.so.1.0.0[7f3edee9200
0+23e000]

Any ideas what could cause this?

Last edited by episyron (2013-11-03 09:09:48)

Offline

#2 2013-11-02 10:56:28

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,676

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

Just so you feel less lonely

$ convert --help
Illegal instruction (core dumped)

Last edited by skunktrader (2013-11-02 10:56:48)

Offline

#3 2013-11-02 11:28:55

episyron
Member
Registered: 2010-07-21
Posts: 18

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

OK, thanks skunktrader. I filed a bug report.

Offline

#4 2013-11-02 13:20:10

hiess
Member
Registered: 2012-11-06
Posts: 4

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

Upgrade imagemagick 6.8.7.4-1, code "display" to set my wallpaper doesn´t work.

[arch@myhost ~]$ display -window root arch-wallpaper.jpg
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)

Downgrade to imagemagick-6.8.7.2-1 works!

Offline

#5 2013-11-02 14:07:51

ball
Member
From: Germany
Registered: 2011-12-23
Posts: 164

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

Cf. https://bbs.archlinux.org/viewtopic.php?id=172271 and particulary bug #37596 -- according to it's comments rebuilding imagemagick fixes the issue.

Offline

#6 2013-11-02 15:06:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

I also saw this, but after an ABS rebuild it works fine.

EDIT: scratch that.  The ABS - even after just updating it - only has 6.8.7.4, so I rebuilt the previous version.

Last edited by Trilby (2013-11-02 15:14:26)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2013-11-02 17:45:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

A rebuild of 6.8.7.4-1 did indeed fix it for me. You can get the source files from: https://projects.archlinux.org/svntogit … magemagick

Or you can get them directly from SVN, kind of like ABS but much better IMO: https://www.archlinux.org/svn/

Offline

#8 2013-11-02 18:50:43

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

Does anyone know how to remove the resulting coredump files?

$ sudo systemd-coredumpctl list
TIME                                         PID   UID   GID SIG EXE
              Sat 2013-11-02 18:04:35 GMT   8846  1000  1000   4 /usr/bin/convert
              Sat 2013-11-02 18:07:01 GMT   8896  1000  1000   4 /usr/bin/convert

Added later: at least one solution is to

systemctl stop systemd-journald
rm -fr /var/log/journal 
mkdir /var/log/journal

Then reboot. But that is about as dirty a way as I could imagine of removing unwanted coredump files.  Surely the systemd developer would have coded a way to delete the coredumps when they are no longer needed and have been analysed?

The coredump files can be extracted to a specified file using the "dump" directive and specifying an output file eg:

# systemd-coredumpctl dump -o dump1.out

For multiple coredumps one can also select by process pid - but it must be possible to remove them from the journal without deleting the entire journal directory?

Last edited by mcloaked (2013-11-02 20:12:20)


Mike C

Offline

#9 2013-11-02 19:32:09

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,358

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

I can confirm that a rebuild fixes


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#10 2013-11-03 09:09:08

episyron
Member
Registered: 2010-07-21
Posts: 18

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

New package version 6.8.7.4-2, which fix this, is relesed, so the problem is solved. Thanks everybody!

Offline

#11 2013-11-03 15:45:39

hoffe
Member
Registered: 2013-11-03
Posts: 1

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

It's in fact fixed, but now I get this warning:

convert: clGetplatformIDs failed. (-1001) @ warning/opencl.c/InitOpenCLPlatformDevice/822.

Offline

#12 2013-11-03 21:02:00

train_wreck
Member
Registered: 2011-10-22
Posts: 97

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

nvm

Last edited by train_wreck (2013-11-03 21:06:10)

Offline

#13 2013-11-03 21:07:23

COPE
Member
Registered: 2013-11-03
Posts: 31

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

train_wreck wrote:

i don't think this is fixed... just tried to install it on 2 systems that never had it installed, and i can't find the binary??

[root@hostname /]# find / -name imagemagick* -exec echo {} \;
/var/cache/pacman/pkg/imagemagick-6.8.7.4-2-x86_64.pkg.tar.xz
/var/lib/pacman/local/imagemagick-6.8.7.4-2
/usr/share/licenses/imagemagick

....? it appeared to install normally...

There shouldn't be any.

ImageMagick® is a software suite (..)

Offline

#14 2013-11-12 18:06:04

crashandburn4
Member
Registered: 2013-03-03
Posts: 108

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

I get the same error as hoffe, does anyone know a fix for this?

Offline

#15 2013-11-18 11:11:53

Vain
Member
Registered: 2008-10-19
Posts: 183

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

crashandburn4 wrote:

I get the same error as hoffe, does anyone know a fix for this?

I found hoffe's posting over here: http://forum.manjaro.org/index.php?topic=8030.0 It suggests he uses an Intel GPU – so do I and I get that warning as well.

It appears imagemagick tries to use OpenCL which probably fails because I don't have intel-opencl-sdk installed (see https://wiki.archlinux.org/index.php/Opencl#Intel). Or maybe it's not supported at all on my hardware (Intel IvyBridge HD4000 iGPU). I haven't checked.

Now the interesting part is why do I get the warning now? OpenCL was enabled in imagemagick quite some time ago. My guess is that this warning is present since OpenCL was enabled. It simply didn't show up because not a lot of stuff was OpenCL-accelerated at first. With imagemagick-6.7.8.4, more algorithms gained support for OpenCL (see http://www.imagemagick.org/script/changelog.php).

I think it's legit to enable OpenCL in imagemagick by default. Some people may benefit from it, others get a warning but imagemagick still does its job.

So, if you want to get rid of the warning, I think your best bet is to get OpenCL running properly on your system. If that's not possible, rebuild imagemagick without "--enable-opencl", also remove the dependencies on the OpenCL stuff.

Offline

#16 2013-12-10 14:42:05

jaylittle
Member
Registered: 2013-01-16
Posts: 47

Re: [Solved] Upgrading imagemagick to 6.8.7.4-1 broke it?

So I've been getting this problem with convert on my system and I found the answers in this thread didn't really help with the issue.  What did help with the issue was removing intel-opencl-sdk and installing beignet from AUR.  That solved my OpenCL and Imagemagick related issues on my System76 GazP9 with an Intel HD4600.  In case anybody else has this issue in the future, perhaps they can now find the solution here.

Last edited by jaylittle (2013-12-10 14:42:40)

Offline

Board footer

Powered by FluxBB