Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2006 15:54:24 GMT
From:      Piotr Rybicki <meritus@innervision.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/91270: [patch] ImageMagick segfaults, port update to 6.2.5-5 solves problem
Message-ID:  <200601031554.k03FsOec095196@www.freebsd.org>
Resent-Message-ID: <200601031600.k03G0LKF038508@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91270
>Category:       ports
>Synopsis:       [patch] ImageMagick segfaults, port update to 6.2.5-5 solves problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 03 16:00:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Piotr Rybicki
>Release:        i368 6.0-R , amd64-5.4-R
>Organization:
InnerVision
>Environment:
FreeBSD ryba-laptop.cadera.com.pl 6.0-RELEASE FreeBSD 6.0-RELEASE #13: Wed Nov 30 19:06:59 CET 2005     root@ryba-laptop.cadera.com.pl:/usr/obj/usr/src/sys/LAPTOP  i386

>Description:
Using 'convert' utility, even on basic operations causes job to be done, but command exits via receiveing SEGFAULT signal.
Using new version of ImageMagick (6.2.5-5), convert utility works as expected.

This problem also applies to pecl-imagick.
And of course is also solved by this port update

/etc/make.cof is empty during port install

>How-To-Repeat:
Execute:
      convert -verbose /srcimg.jpg  -write /tmp/img.jpg 

And watch FreeBSD prematurely kills this process with signal 11 :-)
>Fix:
Apply patch to ports an commit:

diff -r /usr/ports/graphics/ImageMagick/Makefile /tmp/ImageMagick/Makefile
9c9
< PORTVERSION=  6.2.5.5
---
> PORTVERSION=  6.2.2.1
diff -r /usr/ports/graphics/ImageMagick/distinfo /tmp/ImageMagick/distinfo
1,2c1,2
< MD5 (ImageMagick-6.2.5-5.tar.bz2) = eaee90992c8cf36f1f5fc6c887d73897
< SIZE (ImageMagick-6.2.5-5.tar.bz2) = 5044679
---
> MD5 (ImageMagick-6.2.2-1.tar.bz2) = 129caaa6d32adb162a29eef7ebe92a9b
> SIZE (ImageMagick-6.2.2-1.tar.bz2) = 4721988
diff -r /usr/ports/graphics/ImageMagick/files/patch-Makefile.in /tmp/ImageMagick/files/patch-Makefile.in
2a3,29
> @@ -1890,7 +1890,7 @@
>       $(UTILITIES_EXTRA_DIST) \
>       $(WAND_EXTRA_DIST)
>
> -lib_LTLIBRARIES = $(LIBLTDL) $(LIBMAGICK) $(LIBWAND) $(LIBMAGICKPP)
> +lib_LTLIBRARIES = $(LIBMAGICK) $(LIBWAND) $(LIBMAGICKPP)
>
>  # Where architecture-independent configuration files get installed
>  # (share/ImageMagick-version)
> @@ -4443,6 +4443,8 @@
>           f=$(am__strip_dir) \
>           echo " $(LIBTOOL) --mode=install $(codersLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(codersdir)/$$f'"; \
>           $(LIBTOOL) --mode=install $(codersLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(codersdir)/$$f"; \
> +         echo " $(codersLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(codersdir)/$$f'"; \
> +         $(codersLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(codersdir)/$$f"; \
>         else :; fi; \
>       done
>
> @@ -4470,6 +4472,8 @@
>           f=$(am__strip_dir) \
>           echo " $(LIBTOOL) --mode=install $(filtersLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(filtersdir)/$$f'"; \
>           $(LIBTOOL) --mode=install $(filtersLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(filtersdir)/$$f"; \
> +         echo " $(filtersLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(filtersdir)/$$f'"; \
> +         $(filtersLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(filtersdir)/$$f"; \
>         else :; fi; \
>       done
>

>Release-Note:
>Audit-Trail:
>Unformatted:



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