Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-29 Thread Luiz Gustavo S. Costa
ain libs used e.g. libxml hence causing segvs >> just as you described. >> >>   Regards >>   Steve >> - Original Message - From: "Luiz Gustavo S. Costa" >> >> To: >> Sent: Tuesday, June 28, 2011 5:53 PM >> Subject: php5-5.

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-29 Thread Frank Wall
On Wed, Jun 29, 2011 at 11:40:59AM +0200, Alex Dupre wrote: > > Frank Wall ha scritto: > >Is this fix supposed to work with lang/php52 too? > > Of course, but you should update to a supported php release ;-) Submitted PR ports/158423. Let's see if it works for PHP 5.2. Actually I'm planning to

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-29 Thread Steven Hartland
- Original Message - From: "Alex Dupre" Steven Hartland ha scritto: Even core php requires libxml which is using libthr so I would suggest LINKTHR needs to be set by default. That's false. I can assure you that I have all my php installations without LINKTHR, and I use complex php

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-29 Thread Frank Wall
On Wed, Jun 29, 2011 at 09:33:12AM +0200, Alex Dupre wrote: > > Steven Hartland ha scritto: > >Rebuild with threads enabled, will likely fix all your problems. > > That's correct. Is this fix supposed to work with lang/php52 too? If so I'd go and submit a patch for it to add WITH_LINKTHR. Than

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-29 Thread Alex Dupre
Frank Wall ha scritto: Is this fix supposed to work with lang/php52 too? Of course, but you should update to a supported php release ;-) -- Alex Dupre ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-29 Thread Steven Hartland
- Original Message - From: "Alex Dupre" The issue is very complex, it depends on many factors (FreeBSD version, calling program, extensions loaded, ports options, etc.). In short words, dlopening and dlclosing libthr is bad. The final and definitive solution would be a libc including

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-29 Thread Alex Dupre
Steven Hartland ha scritto: Even core php requires libxml which is using libthr so I would suggest LINKTHR needs to be set by default. That's false. I can assure you that I have all my php installations without LINKTHR, and I use complex php applications like roundcube. -- Alex Dupre ___

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-29 Thread Alex Dupre
Steven Hartland ha scritto: Rebuild with threads enabled, will likely fix all your problems. That's correct. Why the default is off I don't know but it conflicts with a number of the main libs used e.g. libxml hence causing segvs just as you described. The issue is very complex, it depends

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Attos
a > number of the main libs used e.g. libxml hence causing segvs > just as you described. > > Regards > Steve > - Original Message - From: "Luiz Gustavo S. Costa" < > luizgust...@luizgustavo.pro.**br > > To: > Sent: Tuesday, June 28, 2011 5:53

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Steven Hartland
osta" To: Sent: Tuesday, June 28, 2011 5:53 PM Subject: php5-5.3.6_1 with Segmentation fault (amd64) Hey list ! exist some trouble with php and amd64 ? (last php from ports) [root@gringo] ~# pkg_info | grep php5-5 php5-5.3.6_1PHP Scripting Language [root@gringo] ~# php -v Seg

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Attos
Not an empty php.ini, but an empty /usr/local/etc/php/extensions.ini That's how I found about SQLite. Commented out all the extensions and the un-commented one-by-one. On Tue, Jun 28, 2011 at 2:29 PM, Olli Hauer wrote: > On 2011-06-28 20:10, Florian Smeets wrote: > > On 28.06.11 19:49, Olli Hau

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Olli Hauer
On 2011-06-28 20:10, Florian Smeets wrote: > On 28.06.11 19:49, Olli Hauer wrote: >> On 2011-06-28 18:53, Luiz Gustavo S. Costa wrote: >>> Hey list ! >>> >>> exist some trouble with php and amd64 ? (last php from ports) >>> >>> >>> [root@gringo] ~# pkg_info | grep php5-5 >>> php5-5.3.6_1PHP

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Attos
I ran the script to recreate the extensions.ini but after adding the following extension: extension=sqlite3.so php seg faults again On Tue, Jun 28, 2011 at 2:10 PM, Florian Smeets wrote: > On 28.06.11 19:49, Olli Hauer wrote: > >> On 2011-06-28 18:53, Luiz Gustavo S. Costa wrote: >> >>> Hey lis

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Florian Smeets
On 28.06.11 19:49, Olli Hauer wrote: On 2011-06-28 18:53, Luiz Gustavo S. Costa wrote: Hey list ! exist some trouble with php and amd64 ? (last php from ports) [root@gringo] ~# pkg_info | grep php5-5 php5-5.3.6_1PHP Scripting Language [root@gringo] ~# php -v Segmentation fault [root@g

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Luiz Gustavo S. Costa
not working ... [root@gringo] ~# cd /tmp/ [root@gringo] /tmp# fetch http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh fixphpextorder.sh 100% of 2661 B 15 MBps [root@gringo] /tmp# sh fixphpextorder.sh == New INI is saved as /usr/l

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Olli Hauer
On 2011-06-28 18:53, Luiz Gustavo S. Costa wrote: > Hey list ! > > exist some trouble with php and amd64 ? (last php from ports) > > > [root@gringo] ~# pkg_info | grep php5-5 > php5-5.3.6_1PHP Scripting Language > [root@gringo] ~# php -v > Segmentation fault > [root@gringo] ~# php-fpm -h

Re: php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Attos
I found that the SQLite 3 extensions are causing some issues. Comment out the SQLite 3 extensions in /usr/loca/etc/php/extensions.ini if you can live without them. That did the trick for me. Re-installing SQLite or the extensions did not fix anything. On Tue, Jun 28, 2011 at 12:53 PM, Luiz Gustav

php5-5.3.6_1 with Segmentation fault (amd64)

2011-06-28 Thread Luiz Gustavo S. Costa
Hey list ! exist some trouble with php and amd64 ? (last php from ports) [root@gringo] ~# pkg_info | grep php5-5 php5-5.3.6_1PHP Scripting Language [root@gringo] ~# php -v Segmentation fault [root@gringo] ~# php-fpm -h Segmentation fault [root@gringo] ~# which php-fpm /usr/local/sbin/php