Page 1 of 1

All Versions after 6.4.4.1 fail the logo Test on Win7

Posted: 2010-10-19T06:01:56-07:00
by odysseuscm
I just tried all versions of Q16-windows-dll backwards from 6.6.5.0 and each failed the logo test. Sometimes with a runtimes error, sometimes simply not displaying the logo. 6.6.4.1 is the first that works.
I'm using Win7 x64 and use ImageMagick in combination with imagick for image manipulation in PHP. The webserver is 32 bit, so I also use the 32 bit version of ImageMagick.
To my knowledge I have all VC runtimes installed (VC6, VC8, VC10). What could I be missing?

Thanks
Chris

Re: All Versions after 6.4.4.1 fail the logo Test on Win7

Posted: 2010-10-19T06:08:26-07:00
by magick
What command are you using and how does it fail? Are you suggesting:
  • convert logo: logo.png
    imdisplay
    <select logo.png to display>
fails? If so, the problem could very well be isolated to imdisplay which is a contributed program and not part of the ImageMagick core.

Re: All Versions after 6.4.4.1 fail the logo Test on Win7

Posted: 2010-10-19T06:49:53-07:00
by odysseuscm
I'm using the commands suggested in the setup
convert logo: logo.miff
imdisplay logo.miff

I only got to realise that something didn't work right because PHP/Apache would crash with every simple imagick command. The extension loads correctly but when I use it to generate preview pictures from uploaded PDF-Files, it crashes 9 times out of 10, especially if is has to process several files one after the other. This does not happen with 6.6.4.1
So first I thought it was the php_imagick_ts.dll, but then I remembered the convert logo test and when it failed I concluded that the problem was with imagick itself. So I tried all versions backward until I found one where the test worked and voila, all fine in PHP as well.

Also not all the newer versions failed with imdisplay, some also gave a runtime error with convert logo.

Re: All Versions after 6.4.4.1 fail the logo Test on Win7

Posted: 2010-10-19T06:58:21-07:00
by odysseuscm
This is the application error with 6.5.5.0

Name der fehlerhaften Anwendung: imdisplay.exe, Version: 1.0.0.1, Zeitstempel: 0x4cb64cee
Name des fehlerhaften Moduls: imdisplay.exe, Version: 1.0.0.1, Zeitstempel: 0x4cb64cee
Ausnahmecode: 0x40000015
Fehleroffset: 0x0034e417
ID des fehlerhaften Prozesses: 0xc20
Startzeit der fehlerhaften Anwendung: 0x01cb6f86c4821fd4
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\ImageMagick\imdisplay.exe
Pfad des fehlerhaften Moduls: C:\Program Files (x86)\ImageMagick\imdisplay.exe
Berichtskennung: 0248844d-db7a-11df-863c-00247eaa50cf

And when the imagick command crashes Apache I get this

Name der fehlerhaften Anwendung: httpd.exe, Version: 2.2.17.0, Zeitstempel: 0x4cbc89f4
Name des fehlerhaften Moduls: MSVCR100.dll, Version: 10.0.30319.1, Zeitstempel: 0x4ba1dbbe
Ausnahmecode: 0xc0000417
Fehleroffset: 0x0008ae6e
ID des fehlerhaften Prozesses: 0x1b28
Startzeit der fehlerhaften Anwendung: 0x01cb6f82eba4cd7e
Pfad der fehlerhaften Anwendung: C:\Webserver\Apache2.2\bin\httpd.exe
Pfad des fehlerhaften Moduls: C:\Windows\system32\MSVCR100.dll
Berichtskennung: 2a804f86-db76-11df-863c-00247eaa50cf

Re: All Versions after 6.4.4.1 fail the logo Test on Win7

Posted: 2010-10-19T07:07:07-07:00
by magick
We have seen some problems with imdisplay since we started compiling ImageMagick with Visual Studio 10. imdisplay is a contributed program. Do you see any problems with the supported ImageMagick core programs such as convert or identify. For example, does
  • convert logo: logo.png
    identify -verbose logo.png
work for you or cause an exception?

Re: All Versions after 6.4.4.1 fail the logo Test on Win7

Posted: 2010-10-19T07:39:41-07:00
by odysseuscm
-verbose works fine. Lots of info :)

Could the problem with PHP be that the php_imagick_ts.dll from valokuva.org is VC9 while you've moved to VC10?

Re: All Versions after 6.4.4.1 fail the logo Test on Win7

Posted: 2010-10-19T07:44:10-07:00
by magick
That could very well be the problem. However, we're Linux experts and rely on Windows developers to find the root cause of these sorts of problems.

Re: All Versions after 6.4.4.1 fail the logo Test on Win7

Posted: 2010-10-19T08:04:30-07:00
by odysseuscm
I understand. I'm just glad I found a version that still works with PHP (I don't really need the latest version for my trivial image work in PHP, just a habit of keeping everything up to date) and it might be useful for you to know, if someone has similar problems.
So am I right to assume that 6.6.4.1 was the last version you compiled with Visual Studio 9?
Thanks for your help!