[imagemagick] Converseen does not start (ArchLinux)

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
jerem1313
Posts: 3
Joined: 2017-07-23T13:00:54-07:00
Authentication code: 1151

[imagemagick] Converseen does not start (ArchLinux)

Post by jerem1313 »

hello.

Since the last update of Converseen (version 0.9.6.2-2), it does not start any more.
System : ArchLinux 64bits Gnome-Shell 3.24.3-1.
Kernel-lts 4.9.37-1
Up-to-date system

Launching Converseen via the terminal

Code: Select all

Libpng warning: iCCP: known incorrect sRGB profile
Terminate called after throwing an instance of 'Magick :: ErrorModule'
What: (): unable to load module `/usr/lib/ImageMagick-6.9.9//modules-Q16HDRI/coders/dng.la ': file not found @ error / module.c / OpenModule / 1290
Abandonment (core dumped)
[Arch @ arch]: ~> $
Dng.la is present in /usr/lib/ImageMagick-6.9.9//modules-Q16HDRI/coders/
All the dependencies are installed.
And before the upgrade, Converseen was working fine.

Bug reported also on ArchLinux
https://bugs.archlinux.org/task/54912

If a workaround exists, I am a taker.
thank you
Good Luck
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: [imagemagick] Converseen does not start (ArchLinux)

Post by Bonzo »

As far as I know Converseen is nothing to do with the Imagemagick team. Have you tried contact the Converseen site about your problem?

Also my antivirus software will not let me access the Converseen website.
arojas
Posts: 4
Joined: 2017-07-23T13:14:42-07:00
Authentication code: 1151

Re: [imagemagick] Converseen does not start (ArchLinux)

Post by arojas »

Arch Linux packager here. This is a regression with imagemagick 6.9.9.1, it works fine with 6.9.9.0

Full backtrace:
#0 0x00007fa013e888c0 in raise () at /usr/lib/libc.so.6
#1 0x00007fa013e89f72 in abort () at /usr/lib/libc.so.6
#2 0x00007fa0144a4035 in __gnu_cxx::__verbose_terminate_handler() () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00007fa0144a1c46 in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4 0x00007fa0144a1c91 in std::terminate() () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5 0x00007fa0144a1ed3 in __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*)) (obj=<optimized out>, tinfo=0x7fa015d3aae8 <typeinfo for Magick::ErrorModule>, dest=0x7fa015b09270 <Magick::ErrorModule::~ErrorModule()>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:93
#6 0x00007fa015b0b89a in Magick::throwException(MagickCore::_ExceptionInfo*, bool) () at /usr/lib/libMagick++-6.Q16HDRI.so.8
#7 0x000000010003912c in Magick::coderInfoList<std::__cxx11::list<Magick::CoderInfo, std::allocator<Magick::CoderInfo> > >(std::__cxx11::list<Magick::CoderInfo, std::allocator<Magick::CoderInfo> >*, Magick::CoderInfo::MatchType, Magick::CoderInfo::MatchType, Magick::CoderInfo::MatchType) (isMultiFrame_=Magick::CoderInfo::AnyMatch, isWritable_=Magick::CoderInfo::AnyMatch, isReadable_=Magick::CoderInfo::TrueMatch, container_=0x7fffffffdcc0)
at /usr/include/ImageMagick-6/Magick++/STL.h:2178
#8 0x000000010003912c in Formats::loadFormats() () at /build/converseen/src/converseen-0.9.6.2/src/formats.cpp:41
#9 0x0000000100044471 in MainWindowImpl::loadFormats() (this=this@entry=0x7fffffffdf90)
at /build/converseen/src/converseen-0.9.6.2/src/mainwindowimpl.cpp:545
#10 0x00000001000449ce in MainWindowImpl::MainWindowImpl(QWidget*, QFlags<Qt::WindowType>) (this=0x7fffffffdf90, parent=<optimized out>, f=...)
at /build/converseen/src/converseen-0.9.6.2/src/mainwindowimpl.cpp:89
#11 0x00000001000253c7 in main(int, char**) (argc=<optimized out>, argv=0x7fffffffe5e8) at /build/converseen/src/converseen-0.9.6.2/src/main.cpp:45
jerem1313
Posts: 3
Joined: 2017-07-23T13:00:54-07:00
Authentication code: 1151

Re: [imagemagick] Converseen does not start (ArchLinux)

Post by jerem1313 »

In fact, but the bug has appeared since an update of ImageMagick.
I just remount a bug imagemagick and that impacts on Converseen, at least on ArchLinux.
The two are intimately linked.

It's better to postpone two bugs than zero, no. ??

Contacting the Converseen team will not be of much interest, the package is compiled differently for each Linux distribution.
The archlinux maintainer of the converseen package advised me to remount the bug at you
arojas
Posts: 4
Joined: 2017-07-23T13:14:42-07:00
Authentication code: 1151

Re: [imagemagick] Converseen does not start (ArchLinux)

Post by arojas »

Bisected to c265a37b06555035583423b8fa06ff489fb86411. Compiling imagemagick without libraw works around the issue.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: [imagemagick] Converseen does not start (ArchLinux)

Post by magick »

We emulated the point of failure for converseen/formats.cpp:51 and it ran without complaint on our CentOS 7 system. We're running ImageMagick 6.9.9-3 with the program below. Does our example work on your system? The build command is:

Code: Select all

c++ -O2 -o demo demo.cpp -L/usr/local/lib `Magick++-config --cppflags --cxxflags --ldflags --libs`
./demo
The source is:

Code: Select all

#include <Magick++.h> 
#include <iostream> 

using namespace std; 
using namespace Magick; 

int main(int argc,char **argv) 
{ 
  InitializeMagick(*argv);

  try { 
    list<CoderInfo> coderList;
    coderInfoList(&coderList,
                  CoderInfo::TrueMatch,
                  CoderInfo::AnyMatch,
                  CoderInfo::AnyMatch);

    list<CoderInfo>::iterator entry = coderList.begin();
  } 
  catch( Exception &error_ ) 
    { 
      cout << "Caught exception: " << error_.what() << endl; 
      return 1; 
    } 
  return 0; 
}
arojas
Posts: 4
Joined: 2017-07-23T13:14:42-07:00
Authentication code: 1151

Re: [imagemagick] Converseen does not start (ArchLinux)

Post by arojas »

> ./demo
Caught exception: demo: unable to load module `/usr/lib/ImageMagick-6.9.9//modules-Q16HDRI/coders/dng.la': file not found @ error/module.c/OpenModule/1290

Again, no issues if IM is compiled without libraw
arojas
Posts: 4
Joined: 2017-07-23T13:14:42-07:00
Authentication code: 1151

Re: [imagemagick] Converseen does not start (ArchLinux)

Post by arojas »

jerem1313
Posts: 3
Joined: 2017-07-23T13:00:54-07:00
Authentication code: 1151

Re: [imagemagick] Converseen does not start (ArchLinux)

Post by jerem1313 »

it's good for me
The problem is solved thanks to this morning's update of imagemagick.
Everything works again in Converseen.
thank you
have a good day ;)
Post Reply