[solved] Re: [freebsd] pecl-imagick -> Segmentation fault: 11 (core dumped) on php -i under freebsd 7.3
Hello and thanks for your feedback! On Tue, 2010-11-16 at 13:03 +0100, end...@gmail.com wrote: > >> [...@pandora ~]$ php -v -c /usr/local/etc/php.ini-production > >> PHP 5.3.2 with Suhosin-Patch (cli) (built: Jun 14 2010 18:11:48) > >> Copyright (c) 1997-2009 The PHP Group > >> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > >> Segmentation fault: 11 (core dumped) > >> > Here's what did it for me : > remove the following lines from > /usr/ports/textproc/libxml2/files/patch-configure and rebuild+reinstall > libxml2 > @@ -20678,6 +20679,8 @@ fi >fi >fi > ;; > + *freebsd*) THREAD_LIBS="" > + ;; > esac > if test "$WITH_THREADS" = "1" ; then > THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT" > I found this somewhere but cannot remember the thread url unfortunately... Brillant! It fixed the issue, many thanks. CC'ing both ports manager (pecl-imagick and libxml2). It would be nice if this could be fixed in the ports tree directly: are these patch lines still required by other packages? Regards, Olivier PS: something probably related is visable under http://forums.freebsd.org/archive/index.php/t-8965.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [solved] Re: [freebsd] pecl-imagick -> Segmentation fault: 11 (core dumped) on php -i under freebsd 7.3
Olivier Mueller ha scritto: Brillant! It fixed the issue, many thanks. This is not the correct fix, the correct "fix" is to enable threads in php, using the appropriate OPTION. -- Alex Dupre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [solved] Re: [freebsd] pecl-imagick -> Segmentation fault: 11 (core dumped) on php -i under freebsd 7.3
Hi Alex, thanks for this even better feedback. On Tue, 2010-11-16 at 15:22 +0100, Alex Dupre wrote: > This is not the correct fix, the correct "fix" is to enable threads in > php, using the appropriate OPTION. Ok, so probably this one: LINKTHR=off (default) "Link thread lib (for threaded extensions)" -> on Is there any chance this will have other consequences (problems, incompatibilities with other php/pecl extensions) ? Or why is this off by default ? This should at least be checked when installing pecl-imagick, and I presume it will happen sometime as there is already PR about this case: http://www.freebsd.org/cgi/query-pr.cgi?pr=150996 Thanks again for your input & regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"