Date: Fri, 21 Jan 2011 05:53:15 +0200 (EET) From: "Vlad V. Teterya" <vlad@vlad.uz.ua> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mm@FreeBSD.org Subject: ports/154183: graphics/pecl-imagick libthr preload issue Message-ID: <20110121035315.7B40D1737A8@beta.all-biz.info> Resent-Message-ID: <201101210400.p0L40Jo2062323@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154183 >Category: ports >Synopsis: graphics/pecl-imagick libthr preload issue >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 21 04:00:18 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Vlad V. Teterya <vlad@vlad.uz.ua> >Release: FreeBSD 8.1-RELEASE-p1 amd64 >Organization: Server Labs >Environment: System: FreeBSD beta 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Fri Oct 1 03:34:37 EEST 2010 root@beta:/usr/obj/usr/src/sys/BETA amd64 php -v PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 21 2011 04:44:57) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies [PHP Modules] apc Core ctype date ereg filter gd imagick libxml mbstring mcrypt memcache mysql mysqlnd pcre pdf posix Reflection session SPL standard tokenizer xml zip zlib >Description: imagick extension fails w/o preloading /lib/libthr.so.3 suhosin patch does not affect on this issue (tested with and without suhosin) >How-To-Repeat: Simple test script test.php: <?php $image = new imagick("test.png"); $image->cropThumbnailImage(50,50); $image->writeImage("test_new.png"); ?> Without LD_PRELOAD: php -f test.php freezes w/o errors, test_new.png - not created. With LD_PRELOAD: LD_PRELOAD=/lib/libthr.so.3 php -f test.php works fine w/o errors, test_new.png - successfully created >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110121035315.7B40D1737A8>