From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 14:56:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CFDB106571B; Fri, 20 Jun 2008 14:56:47 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4B08FC13; Fri, 20 Jun 2008 14:56:46 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1K9i2d-0001le-SZ; Fri, 20 Jun 2008 15:56:46 +0100 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1K9i2c-0002R5-O9; Fri, 20 Jun 2008 15:56:43 +0100 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m5KEug61061595; Fri, 20 Jun 2008 15:56:42 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m5KEugTL061594; Fri, 20 Jun 2008 15:56:42 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 20 Jun 2008 15:56:42 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org, mm@freebsd.org Message-ID: <20080620145641.GA61486@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org, mm@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080619145931.GA27315@mech-aslap33.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.4 X-Spam-Level: - Cc: Subject: SOLVED: Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0 => perl: signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 14:56:47 -0000 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