GetMagickThreadSupport problem with mod_perl
GetMagickThreadSupport problem with mod_perl
Hey,
I'm using PerlMagick in a perl module called as a output filter by Apache. This module is scaling my images and returns the output to apache. When i run one concurrent request with ab (apache benchmark) everything works fine. But if i increase the concurrency number I get several assertion errors in the Apache log, but not for all request - just some of them... 2000 request with 30 concurrent will give me like 4 errors in the log.
Here is some output:
[Tue Oct 14 15:54:27 2008] [notice] child pid 2013 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:35 2008] [notice] child pid 2212 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:44 2008] [notice] child pid 2244 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:46 2008] [notice] child pid 2276 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:48 2008] [notice] child pid 2305 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:52 2008] [notice] child pid 2184 exit signal Aborted (6)
I get the feeling this is a problem with non-safe threads? I've not compiled without saftey.
System:
Red Hat Enterprise Linux 5
Apache 2.2.3
ImageMagick 6.4.3 2008-09-12 Q16
I'm using PerlMagick in a perl module called as a output filter by Apache. This module is scaling my images and returns the output to apache. When i run one concurrent request with ab (apache benchmark) everything works fine. But if i increase the concurrency number I get several assertion errors in the Apache log, but not for all request - just some of them... 2000 request with 30 concurrent will give me like 4 errors in the log.
Here is some output:
[Tue Oct 14 15:54:27 2008] [notice] child pid 2013 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:35 2008] [notice] child pid 2212 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:44 2008] [notice] child pid 2244 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:46 2008] [notice] child pid 2276 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:48 2008] [notice] child pid 2305 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:52 2008] [notice] child pid 2184 exit signal Aborted (6)
I get the feeling this is a problem with non-safe threads? I've not compiled without saftey.
System:
Red Hat Enterprise Linux 5
Apache 2.2.3
ImageMagick 6.4.3 2008-09-12 Q16
Re: GetMagickThreadSupport problem with mod_perl
Grab ImageMagick 6.4.4-6, the latest release. We have addressed a few thread-safety issues in recent releases of ImageMagick. If 6.4.4-6 exhibits the same thread problems, let us know and we will try to reproduce and fix the problem.
Re: GetMagickThreadSupport problem with mod_perl
Thanks for the reply, I've now tried ImageMagick-6.4.4-7.tar.gz without luck. I still get the problem when I increase number of concurrent requests:
httpd.worker: magick/magick.c:745: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
httpd.worker: magick/magick.c:745: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Wed Oct 15 07:45:05 2008] [notice] child pid 13517 exit signal Aborted (6)
[Wed Oct 15 07:45:05 2008] [notice] child pid 13573 exit signal Aborted (6)
[Wed Oct 15 07:45:05 2008] [notice] child pid 13602 exit signal Aborted (6)
httpd.worker: magick/magick.c:745: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
httpd.worker: magick/magick.c:745: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Wed Oct 15 07:45:20 2008] [notice] child pid 13574 exit signal Segmentation fault (11)
[Wed Oct 15 07:45:20 2008] [notice] child pid 13661 exit signal Aborted (6)
[Wed Oct 15 07:45:20 2008] [notice] child pid 13689 exit signal Aborted (6)
Please, let me if you want more information.
httpd.worker: magick/magick.c:745: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
httpd.worker: magick/magick.c:745: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Wed Oct 15 07:45:05 2008] [notice] child pid 13517 exit signal Aborted (6)
[Wed Oct 15 07:45:05 2008] [notice] child pid 13573 exit signal Aborted (6)
[Wed Oct 15 07:45:05 2008] [notice] child pid 13602 exit signal Aborted (6)
httpd.worker: magick/magick.c:745: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
httpd.worker: magick/magick.c:745: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Wed Oct 15 07:45:20 2008] [notice] child pid 13574 exit signal Segmentation fault (11)
[Wed Oct 15 07:45:20 2008] [notice] child pid 13661 exit signal Aborted (6)
[Wed Oct 15 07:45:20 2008] [notice] child pid 13689 exit signal Aborted (6)
Please, let me if you want more information.
Re: GetMagickThreadSupport problem with mod_perl
I'm able to reproduce with following setup:
/etc/httpd/conf/httpd.conf
LoadModule perl_module modules/mod_perl.so
PerlSwitches -I /opt/perl/
PerlOutputFilterHandler Test::Magick
/opt/perl/Test/Magick.pm
ab -n 5000 -c 30 http://localhost/image.png
Apache benchmark should die pretty soon with: apr_socket_recv: Connection reset by peer (104)
/etc/httpd/conf/httpd.conf
LoadModule perl_module modules/mod_perl.so
PerlSwitches -I /opt/perl/
PerlOutputFilterHandler Test::Magick
/opt/perl/Test/Magick.pm
Code: Select all
package Test::Magick;
use APR::Table();
use Image::Magick();
use Apache2::RequestRec();
use base qw(Apache2::Filter);
use Apache2::Const -compile => qw(OK);
sub handler : FilterRequestHandler
{
my $f = shift;
my $data = "";
my ($image, $buffer, @x);
while ($f->read($buffer, 1024))
{
$data .= $buffer;
}
$image = new Image::Magick();
$image->BlobToImage($data);
@x = $image->ImageToBlob();
$f->r->headers_out->set("Content-Length"=>length($x[0]));
$f->print($x[0]);
undef $image;
return Apache2::Const::OK;
}
1;
__END__
Apache benchmark should die pretty soon with: apr_socket_recv: Connection reset by peer (104)
Re: GetMagickThreadSupport problem with mod_perl
Unfortunately we cannot reproduce the problem although we know why the problem may occur. Can you post the output of this command:
Grab ImageMagick-6.4.4-8 Beta from ftp://magick.imagemagick.org/pub/ImageMagick/beta in about 2 hours and see if that fixes or reduces the race condition.
- identify -list configure
Grab ImageMagick-6.4.4-8 Beta from ftp://magick.imagemagick.org/pub/ImageMagick/beta in about 2 hours and see if that fixes or reduces the race condition.
Re: GetMagickThreadSupport problem with mod_perl
img102.la [~] $ identify -list configure
Path: /prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -g -O2 -Wall -W -pthread
CONFIGURE ./configure '--prefix=/prun/img/server/imagemagick'
COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
CPPFLAGS -I/prun/img/server/imagemagick/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib dps fontconfig freetype jpeg png x11 xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontpath=
EXEC-PREFIX /prun/img/server/imagemagick
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/prun/img/server/imagemagick/lib -L/usr/X11R6/lib64 -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz
LIB_VERSION 0x644
LIB_VERSION_NUMBER 6,4,4,7
LIBS -lMagickCore -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /prun/img/server/imagemagick
QuantumDepth 16
RELEASE_DATE 2008-10-15
VERSION 6.4.4
WEBSITE http://www.imagemagick.org
img102.la [~] $ uname -a
Linux img102.la 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
img102.la [~] $ cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.2 (Tikanga)
img102.la [~] $ /usr/sbin/apachectl -V
Server version: Apache/2.2.3
Server built: Jan 11 2008 08:20:08
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
I'll try the beta now.. back in a bit.
Path: /prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -g -O2 -Wall -W -pthread
CONFIGURE ./configure '--prefix=/prun/img/server/imagemagick'
COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
CPPFLAGS -I/prun/img/server/imagemagick/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib dps fontconfig freetype jpeg png x11 xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontpath=
EXEC-PREFIX /prun/img/server/imagemagick
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/prun/img/server/imagemagick/lib -L/usr/X11R6/lib64 -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz
LIB_VERSION 0x644
LIB_VERSION_NUMBER 6,4,4,7
LIBS -lMagickCore -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /prun/img/server/imagemagick
QuantumDepth 16
RELEASE_DATE 2008-10-15
VERSION 6.4.4
WEBSITE http://www.imagemagick.org
img102.la [~] $ uname -a
Linux img102.la 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
img102.la [~] $ cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.2 (Tikanga)
img102.la [~] $ /usr/sbin/apachectl -V
Server version: Apache/2.2.3
Server built: Jan 11 2008 08:20:08
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
I'll try the beta now.. back in a bit.
Re: GetMagickThreadSupport problem with mod_perl
Okey, I grabed ImageMagick-6.4.4-9.tar.gz and have now installed it.
Something obviously changed, but unfortunately, not to anything better:
[Thu Oct 16 10:05:43 2008] [notice] child pid 33412 exit signal Segmentation fault (11)
[Thu Oct 16 10:05:44 2008] [notice] child pid 33479 exit signal Segmentation fault (11)
httpd.worker: magick/splay-tree.c:1364: ResetSplayTreeIterator: Assertion `splay_tree != (SplayTreeInfo *) ((void *)0)' failed.
httpd.worker: magick/splay-tree.c:1364: ResetSplayTreeIterator: Assertion `splay_tree != (SplayTreeInfo *) ((void *)0)' failed.
[Thu Oct 16 10:05:47 2008] [notice] child pid 33544 exit signal Aborted (6)
[Thu Oct 16 10:05:47 2008] [notice] child pid 33572 exit signal Aborted (6)
[Thu Oct 16 10:05:53 2008] [notice] child pid 33628 exit signal Segmentation fault (11)
httpd.worker: magick/semaphore.c:440: UnlockSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 10:06:01 2008] [notice] child pid 33573 exit signal Segmentation fault (11)
[Thu Oct 16 10:06:01 2008] [notice] child pid 33684 exit signal Segmentation fault (11)
[Thu Oct 16 10:06:01 2008] [notice] child pid 33685 exit signal Aborted (6)
[Thu Oct 16 10:06:09 2008] [notice] child pid 33796 exit signal Segmentation fault (11)
httpd.worker: magick/splay-tree.c:1364: ResetSplayTreeIterator: Assertion `splay_tree != (SplayTreeInfo *) ((void *)0)' failed.
[Thu Oct 16 10:06:19 2008] [notice] child pid 33797 exit signal Aborted (6)
I can add that pictures are stored on a net storage that may add a slight delay in the serve process. Maybe this increases the possibility for things to collide?
Edit - got another failure in the log:
[Thu Oct 16 10:25:20 2008] [notice] child pid 33881 exit signal Segmentation fault (11)
httpd.worker: magick/magick.c:179: GetImageDecoder: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Thu Oct 16 10:25:22 2008] [notice] child pid 34399 exit signal Segmentation fault (11)
[Thu Oct 16 10:25:22 2008] [notice] child pid 34414 exit signal Aborted (6)
Something obviously changed, but unfortunately, not to anything better:
[Thu Oct 16 10:05:43 2008] [notice] child pid 33412 exit signal Segmentation fault (11)
[Thu Oct 16 10:05:44 2008] [notice] child pid 33479 exit signal Segmentation fault (11)
httpd.worker: magick/splay-tree.c:1364: ResetSplayTreeIterator: Assertion `splay_tree != (SplayTreeInfo *) ((void *)0)' failed.
httpd.worker: magick/splay-tree.c:1364: ResetSplayTreeIterator: Assertion `splay_tree != (SplayTreeInfo *) ((void *)0)' failed.
[Thu Oct 16 10:05:47 2008] [notice] child pid 33544 exit signal Aborted (6)
[Thu Oct 16 10:05:47 2008] [notice] child pid 33572 exit signal Aborted (6)
[Thu Oct 16 10:05:53 2008] [notice] child pid 33628 exit signal Segmentation fault (11)
httpd.worker: magick/semaphore.c:440: UnlockSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 10:06:01 2008] [notice] child pid 33573 exit signal Segmentation fault (11)
[Thu Oct 16 10:06:01 2008] [notice] child pid 33684 exit signal Segmentation fault (11)
[Thu Oct 16 10:06:01 2008] [notice] child pid 33685 exit signal Aborted (6)
[Thu Oct 16 10:06:09 2008] [notice] child pid 33796 exit signal Segmentation fault (11)
httpd.worker: magick/splay-tree.c:1364: ResetSplayTreeIterator: Assertion `splay_tree != (SplayTreeInfo *) ((void *)0)' failed.
[Thu Oct 16 10:06:19 2008] [notice] child pid 33797 exit signal Aborted (6)
I can add that pictures are stored on a net storage that may add a slight delay in the serve process. Maybe this increases the possibility for things to collide?
Edit - got another failure in the log:
[Thu Oct 16 10:25:20 2008] [notice] child pid 33881 exit signal Segmentation fault (11)
httpd.worker: magick/magick.c:179: GetImageDecoder: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Thu Oct 16 10:25:22 2008] [notice] child pid 34399 exit signal Segmentation fault (11)
[Thu Oct 16 10:25:22 2008] [notice] child pid 34414 exit signal Aborted (6)
Re: GetMagickThreadSupport problem with mod_perl
Since we cannot reproduce the problem locally, we'll debug remotely. Go to magick/magick.c and add a return just before the last line of UnregisterMagickInfo():
Next prevent the magick list from being destroyed in DestroyMagickList(). Add a return as the first line:
The thinking is that the magick list splay-tree is being deleted while the node is still in use.
Rebuild and install ImageMagick.
Does the problem still occur? Now try ab with a JPEG image instead of PNG. Does that make any difference?
Code: Select all
RelinquishSemaphoreInfo(magick_semaphore);
return(MagickTrue);
return(DeleteNodeByValueFromSplayTree(magick_list,p));
Code: Select all
return;
AcquireSemaphoreInfo(&magick_semaphore);
if (magick_list != (SplayTreeInfo *) NULL)
magick_list=DestroySplayTree(magick_list);
Rebuild and install ImageMagick.
Does the problem still occur? Now try ab with a JPEG image instead of PNG. Does that make any difference?
Re: GetMagickThreadSupport problem with mod_perl
ab -n 5000 -c 30 http://img102.la/test.jpeg
Still many errors, but the speed is much better and some ab tests even completed:
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:21 2008] [notice] child pid 37578 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:37 2008] [notice] child pid 37752 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:454: UnlockSemaphoreInfo: Assertion `pthread_equal(semaphore_info->id,pthread_self())' failed.
[Thu Oct 16 15:04:38 2008] [notice] child pid 37780 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:40 2008] [notice] child pid 37836 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:42 2008] [notice] child pid 37722 exit signal Aborted (6)
[Thu Oct 16 15:04:42 2008] [notice] child pid 37864 exit signal Segmentation fault (11)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:52 2008] [notice] child pid 37920 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:54 2008] [notice] child pid 37892 exit signal Aborted (6)
[Thu Oct 16 15:04:54 2008] [notice] child pid 37948 exit signal Aborted (6)
ab -n 5000 -c 30 http://img102.la/test.png
Much better than jpeg, but like jpeg i still got some errors thrown, but ab survives most of the runs:
httpd.worker: magick/hashmap.c:1972: ResetLinkedListIterator: Assertion `list_info != (LinkedListInfo *) ((void *)0)' failed.
[Thu Oct 16 15:11:14 2008] [notice] child pid 38841 exit signal Aborted (6)
httpd.worker: magick/hashmap.c:1972: ResetLinkedListIterator: Assertion `list_info != (LinkedListInfo *) ((void *)0)' failed.
[Thu Oct 16 15:11:19 2008] [notice] child pid 38875 exit signal Aborted (6)
httpd.worker: magick/hashmap.c:1972: ResetLinkedListIterator: Assertion `list_info != (LinkedListInfo *) ((void *)0)' failed.
[Thu Oct 16 15:11:22 2008] [notice] child pid 38931 exit signal Aborted (6)
httpd.worker: magick/hashmap.c:1242: IsLinkedListEmpty: Assertion `list_info->signature == 0xabacadabUL' failed.
[Thu Oct 16 15:14:57 2008] [notice] child pid 39562 exit signal Aborted (6)
Still many errors, but the speed is much better and some ab tests even completed:
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:21 2008] [notice] child pid 37578 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:37 2008] [notice] child pid 37752 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:454: UnlockSemaphoreInfo: Assertion `pthread_equal(semaphore_info->id,pthread_self())' failed.
[Thu Oct 16 15:04:38 2008] [notice] child pid 37780 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:40 2008] [notice] child pid 37836 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:42 2008] [notice] child pid 37722 exit signal Aborted (6)
[Thu Oct 16 15:04:42 2008] [notice] child pid 37864 exit signal Segmentation fault (11)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:52 2008] [notice] child pid 37920 exit signal Aborted (6)
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
httpd.worker: magick/semaphore.c:410: RelinquishSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
[Thu Oct 16 15:04:54 2008] [notice] child pid 37892 exit signal Aborted (6)
[Thu Oct 16 15:04:54 2008] [notice] child pid 37948 exit signal Aborted (6)
ab -n 5000 -c 30 http://img102.la/test.png
Much better than jpeg, but like jpeg i still got some errors thrown, but ab survives most of the runs:
httpd.worker: magick/hashmap.c:1972: ResetLinkedListIterator: Assertion `list_info != (LinkedListInfo *) ((void *)0)' failed.
[Thu Oct 16 15:11:14 2008] [notice] child pid 38841 exit signal Aborted (6)
httpd.worker: magick/hashmap.c:1972: ResetLinkedListIterator: Assertion `list_info != (LinkedListInfo *) ((void *)0)' failed.
[Thu Oct 16 15:11:19 2008] [notice] child pid 38875 exit signal Aborted (6)
httpd.worker: magick/hashmap.c:1972: ResetLinkedListIterator: Assertion `list_info != (LinkedListInfo *) ((void *)0)' failed.
[Thu Oct 16 15:11:22 2008] [notice] child pid 38931 exit signal Aborted (6)
httpd.worker: magick/hashmap.c:1242: IsLinkedListEmpty: Assertion `list_info->signature == 0xabacadabUL' failed.
[Thu Oct 16 15:14:57 2008] [notice] child pid 39562 exit signal Aborted (6)
Re: GetMagickThreadSupport problem with mod_perl
Unless we can reproduce the problem locally, we are currently unable to identify and fix the problem. The curious thing is that we are testing on a quad-core system similar to yours (same OS but server rather than client, same Apache) but we cannot get ab to cause any of the sub-processes to fail. If you have other ideas on how we can get your filter to fail that would be helpful. Be sure to check and make sure you only have one version of ImageMagick and PerlMagick installed.
Re: GetMagickThreadSupport problem with mod_perl
Okey, other than storing my images on NFS, I'm running ImageMagick from a local directory.
Stored in /prun/img/server/imagemagick. In my Perl script I'm using following to get this to work:
$ENV{"MAGICK_HOME"} = "/prun/img/server/imagemagick";
$ENV{"MAGICK_CODER_MODULE_PATH"} = "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/modules-Q16/coders";
Some of my httpd.conf settings:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
<FilesMatch "\.(jpg|jpeg|gif|png)">
Header unset Vary
</FilesMatch>
DocumentRoot /images/
<Directory /images/>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
If this does not work, the only thing I can think of is the mod_perl version. May this be my compiler or libs? Is it possible to get a version compiled with ./configure --prefix=/prun/img/server/imagemagick from your machine?
Stored in /prun/img/server/imagemagick. In my Perl script I'm using following to get this to work:
$ENV{"MAGICK_HOME"} = "/prun/img/server/imagemagick";
$ENV{"MAGICK_CODER_MODULE_PATH"} = "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/modules-Q16/coders";
Some of my httpd.conf settings:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
<FilesMatch "\.(jpg|jpeg|gif|png)">
Header unset Vary
</FilesMatch>
DocumentRoot /images/
<Directory /images/>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
If this does not work, the only thing I can think of is the mod_perl version. May this be my compiler or libs? Is it possible to get a version compiled with ./configure --prefix=/prun/img/server/imagemagick from your machine?
Re: GetMagickThreadSupport problem with mod_perl
We replicated your environment as posted and still ab runs to completion without reporting any problems in the log. Unfortunately we cannot build an ImageMagick distribution for you. Our gcc version is:
Post the output of these commands:
- Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
Post the output of these commands:
- convert -debug configure logo: logo.png
convert -debug configure logo.png null:
Re: GetMagickThreadSupport problem with mod_perl
MAGICK_CONFIGURE_PATH did not work either.
I got a little bit older gcc.. 4.0.2.
img102.la [/prun/img] $ convert -debug configure logo: logo.png
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: coder.c/unknown/639/Configure
Loading coder map "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/coder.xml" ...
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: delegate.c/unknown/1178/Configure
Loading delegate map "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/delegates.xml" ...
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: utility.c/unknown/808/Configure
Command line: convert {-debug} {configure} {logo:} {logo.png}
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: magic.c/unknown/682/Configure
Loading magic map "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/magic.xml" ...
img102.la [/prun/img] $ convert -debug configure logo.png null:
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: coder.c/unknown/639/Configure
Loading coder map "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/coder.xml" ...
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: delegate.c/unknown/1178/Configure
Loading delegate map "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/delegates.xml" ...
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: utility.c/unknown/808/Configure
Command line: convert {-debug} {configure} {logo.png} {null:}
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: magic.c/unknown/682/Configure
Loading magic map "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/magic.xml" ...
I got a little bit older gcc.. 4.0.2.
img102.la [/prun/img] $ convert -debug configure logo: logo.png
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "coder.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: coder.c/unknown/639/Configure
Loading coder map "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/coder.xml" ...
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "delegates.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: delegate.c/unknown/1178/Configure
Loading delegate map "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/delegates.xml" ...
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: utility.c/unknown/808/Configure
Command line: convert {-debug} {configure} {logo:} {logo.png}
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: configure.c/unknown/528/Configure
Searching for configure file: "magic.xml"
2008-10-17T14:40:14+00:00 0:01 0.000u 6.4.4 Configure convert[57886]: magic.c/unknown/682/Configure
Loading magic map "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/magic.xml" ...
img102.la [/prun/img] $ convert -debug configure logo.png null:
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "coder.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: coder.c/unknown/639/Configure
Loading coder map "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/coder.xml" ...
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "delegates.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: delegate.c/unknown/1178/Configure
Loading delegate map "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/delegates.xml" ...
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: utility.c/unknown/808/Configure
Command line: convert {-debug} {configure} {logo.png} {null:}
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/lib/ImageMagick-6.4.4/config/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/doc/ImageMagick-6.4.4/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "/home/prun/.magick/magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: configure.c/unknown/528/Configure
Searching for configure file: "magic.xml"
2008-10-17T14:40:34+00:00 0:01 0.000u 6.4.4 Configure convert[57889]: magic.c/unknown/682/Configure
Loading magic map "/prun/img/server/imagemagick/share/ImageMagick-6.4.4/config/magic.xml" ...
Re: GetMagickThreadSupport problem with mod_perl
I'll try to compile with newer versions of libpng, libjpeg, libtiff and gcc. I'll be back with results.
Re: GetMagickThreadSupport problem with mod_perl
Problem solved. I ran Apache as a worker. Fixed by removing the entry in /etc/sysconfig/httpd and restarting Apache.
Conclusion, do not use Apache worker together with ImageMagick.
Thank you for your time magick!
Conclusion, do not use Apache worker together with ImageMagick.
Thank you for your time magick!