Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2008 15:56:42 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-questions@freebsd.org, mm@freebsd.org
Subject:   SOLVED: Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0 => perl: signal 11
Message-ID:  <20080620145641.GA61486@mech-aslap33.men.bris.ac.uk>
In-Reply-To: <20080619145931.GA27315@mech-aslap33.men.bris.ac.uk>
References:  <20080617095212.GA12736@mech-aslap33.men.bris.ac.uk> <485960A8.9010001@onetel.com> <20080619084100.GA37001@mech-aslap33.men.bris.ac.uk> <20080619145931.GA27315@mech-aslap33.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 19, 2008 at 03:59:31PM +0100, Anton Shterenlikht wrote:
> On Thu, Jun 19, 2008 at 09:41:01AM +0100, Anton Shterenlikht wrote:
> > On Wed, Jun 18, 2008 at 08:23:20PM +0100, Chris Whitehouse wrote:
> > > Anton Shterenlikht wrote:
> > > >
> > > >my ImageMagick configuration:
> > > >
> > > >
> > > ># cd /usr/ports/graphics/ImageMagick/
> > > ># make showconfig
> > > >===> The following configuration options are available for 
> > > >ImageMagick-6.4.1.5:
> > > >     X11=on "X11 support"
> > > >     IMAGEMAGICK_TESTS=on "Run bundled self-tests after build"
> > > >     IMAGEMAGICK_OPENMP=off "Enable OpenMP for SMP"
> > > >     IMAGEMAGICK_PERL=on "Perl support"
> > > >     IMAGEMAGICK_MODULES=off "Modules support (broken)"
> > > >     IMAGEMAGICK_BZLIB=on "Bzlib support"
> > > >     IMAGEMAGICK_16BIT_PIXEL=on "16bit pixel support"
> > > >     IMAGEMAGICK_DJVU=off "DJVU format support (needs threads)"
> > > >     IMAGEMAGICK_LCMS=on "LCMS support"
> > > >     IMAGEMAGICK_HDRI=off "High Dynamic Range Images (HDRI)"
> > > >     IMAGEMAGICK_TTF=on "Freetype support"
> > > >     IMAGEMAGICK_FONTCONFIG=on "Fontconfig support"
> > > >     IMAGEMAGICK_JPEG=on "JPG format support"
> > > >     IMAGEMAGICK_OPENEXR=off "OpenEXR support (needs threads)"
> > > >     IMAGEMAGICK_PNG=on "PNG format support"
> > > >     IMAGEMAGICK_TIFF=on "TIFF format support"
> > > >     IMAGEMAGICK_FPX=on "FPX format support"
> > > >     IMAGEMAGICK_JBIG=on "JBIG format support"
> > > >     IMAGEMAGICK_JPEG2000=on "JPEG2000 format support"
> > > >     IMAGEMAGICK_DOT=on "GraphViz dot graphs support"
> > > >     IMAGEMAGICK_WMF=on "WMF format support"
> > > >     IMAGEMAGICK_SVG=on "SVG format support"
> > > >     IMAGEMAGICK_PDF=on "PDF format support"
> > > >     IMAGEMAGICK_GSLIB=on "libgs (Postscript SHLIB) support"
> > > >===> Use 'make config' to modify these settings
> > > >#
> > > >
> > > >
> > > >#make check
> > > > [skip]
> > > >t/zlib/write.t      0   139     1    2 200.00%  1
> > > >Failed 26/26 test scripts, 0.00% okay. 343/343 subtests failed, 0.00% okay.

> 
> I just noticed that test failures are accompanied with the following
> in dmesg:
> 
> [skip]
> pid 79423 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79426 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79429 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79432 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79448 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79451 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79454 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79462 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79465 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79468 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79471 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79474 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> pid 79477 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
> [skip]
> 
> a lot of them, perhaps one message for each failed test.
> Does this mean there's something wrong with my perl installation?

I rebuilt perl and passed all tests:

#make check

[skip]

t/zlib/write......ok
All tests successful.
Files=26, Tests=343, 138 wallclock secs (97.92 cusr + 14.59 csys = 112.51 CPU)
#

I think the tests broke because I went from FBSD 6.3 to 7.0.
Apparently perl rebuild is necessary in this case. I didn't 
do it straight away because I was overwhelmed by gettext upgrade.
Since perl does not depend on gettext, I didn't touch it.

However when I realised that only perlmagick tests were failing
(all 697 ImageMagick tests would always pass), and after I
noticed perl exiting on signal 11 with core dumps (see above),
I realised that perl might be the problem.

many thanks to all who replied.
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080620145641.GA61486>