ports/154183: graphics/pecl-imagick libthr preload issue

Vlad V. Teterya vlad at vlad.uz.ua
Fri Jan 21 04:00:19 UTC 2011


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list