Problems with ImageMagick C++ interface on x86_64

"Geoff Quelch" <[email protected]>
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
Hi,
I am attempting to build an existing, working application (on an x386
architecture machine) on a new system, x86_64, Redhat EL AS 5.2 and
kernel 2.6.18-92.el5xen.

I initially attempted to build the application with the ImageMagick
RPMs provided with RedHat which are currently version 6.2.8. This
resulted in an assertion failure, as documented in the RedHat
bugzilla; https://bugzilla.redhat.com/show_bug.cgi?id=439915

This entry contains a test case and information on the error I am receiving:

magick/splay-tree.c:903: RemoveNodeByValueFromSplayTree: Assertion `splay_info
!= (SplayTreeInfo *) ((void *)0)' failed.

In order to try and get a working application I erased the RPMs and
installed the latest code, from source, version 6.4.1. With my test
case I get a different assertion failure:

[quelch@adws00 image_bug]$ g++  `Magick++-config --cppflags --cxxflags
--ldflags --libs` main.cpp -o bugtest
[quelch@adws00 image_bug]$ ./bugtest
bugtest: magick/exception.c:374: DestroyExceptionInfo: Assertion
`exception->signature == 0xabacadabUL' failed.
Aborted

When I built I ran the "make check" and nothing seemingly unusual occurred:

========================================================
All 697 tests behaved as expected (33 expected failures)
========================================================

Any suggestions would be welcome at this point.

Regards,
Geoff Quelch

--
Geoff Quelch; [email protected]
303.255.1107 (W)
720.841.3341 (C)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.