Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59140 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39634 invoked from network); 23 Mar 2012 13:02:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2012 13:02:57 -0000 Authentication-Results: pb1.pair.com header.from=svanpoeck@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=svanpoeck@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.42 as permitted sender) X-PHP-List-Original-Sender: svanpoeck@gmail.com X-Host-Fingerprint: 74.125.83.42 mail-ee0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:37266] helo=mail-ee0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/1C-16309-1847C6F4 for ; Fri, 23 Mar 2012 08:02:57 -0500 Received: by eekb57 with SMTP id b57so890068eek.29 for ; Fri, 23 Mar 2012 06:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=QF7eTzmBbxbOg1I+wR4YMNGqvgkznDUgyJngLqbzmZY=; b=w31oqZ2CojO50IfoICSJVu/uTFnFM+mwvi1uwUgTN61GJcs4IMrSdAMsxRVmjk3uWq VR70uV/NO0A9rGzfmIuCCyiHCMiGHgzgQY7M8fpglAkCnpPLxgITJrwc0SgPr5dS3/RB ZudT09FnG7zmJW7FcSPKj6sS7WsdSWXyOIF3IUMJJ0VTBqz5c3j544zg88fz2o/0rRQC upZJxTbtqp3RXj/9rM/20dRJC1Fd59E4doz5XuHsb8l54ejvTsZP2yTsOMyKLeg3pxTu YU9bNaCFZ1ASdxxYh3LTd9JDkg20hsOAwNx1Ephw5lQV1jgvjsMqfpR+chPoBvqvuxlR 62PA== Received: by 10.213.35.133 with SMTP id p5mr856922ebd.71.1332507774480; Fri, 23 Mar 2012 06:02:54 -0700 (PDT) Received: from [192.168.1.5] (lns-bzn-37-82-253-17-211.adsl.proxad.net. [82.253.17.211]) by mx.google.com with ESMTPS id n56sm27984539eeb.4.2012.03.23.06.02.52 (version=SSLv3 cipher=OTHER); Fri, 23 Mar 2012 06:02:53 -0700 (PDT) Message-ID: <4F6C747A.1050309@gmail.com> Date: Fri, 23 Mar 2012 14:02:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 MIME-Version: 1.0 To: Pierre Joye CC: PHP Internals References: <4F6C63D0.3030905@gmail.com> <4F6C6901.2080501@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP5.4: PHP-FPM + Gettext == invalid pointer From: svanpoeck@gmail.com (Steven VAN POECK) Hi Pierre, Sorry, I didn't know these issues had been addressed to. I just installed the latest version from trunk. Everything runs smoothly, no segfaults or dumps anymore. Thanks again, Steven On 03/23/2012 01:25 PM, Pierre Joye wrote: > yes, please do. We have fixed these errors recently. > > On Fri, Mar 23, 2012 at 1:13 PM, Steven VAN POECK wrote: >> Hi Pierre, >> >> Right. Disabling apc solves the issue, with or without gettext activated. No >> dump or segfault message anymore. >> >> I'm using the standard APC installed by pecl install apc. Version is 3.1.9. >> It seems to be working fine although it's responsible for the PHP-FPM dump. >> >> Should I use the version from SVN's trunk ? >> >> Thanks, >> Steven >> >> >> >> On 03/23/2012 01:06 PM, Pierre Joye wrote: >>> hi, >>> >>> Please disable APC too to test. >>> >>> btw, do you use APC from current svn's trunk? >>> >>> Cheers, >>> >>> On Fri, Mar 23, 2012 at 12:51 PM, Steven VAN POECK >>> wrote: >>>> Hi, >>>> >>>> Whenever I activate the gettext extension, PHP-FPM dumps a heap upon >>>> starting (see output below) >>>> >>>> Although the output finishes with "Aborted. Failed", the php processes >>>> are >>>> working ok, gettext too. >>>> >>>> PHP 5.4 was compiled with these options: >>>> ./configure --sysconfdir=/etc/php5 --with-config-file-path=/etc/php5 >>>> --with-config-file-scan-dir=/etc/php5/conf.d --enable-fpm >>>> --with-fpm-user=www-data --with-fpm-group=www-data --with-openssl >>>> --with-zlib=shared --enable-bcmath --with-curl=shared --with-gd=shared >>>> --with-gettext=shared --enable-intl --enable-mbstring >>>> --with-mcrypt=shared >>>> --enable-pcntl --disable-pdo --with-mysqli=mysqlnd --disable-posix >>>> --with-libedit=shared --with-readline=shared --with-recode=shared >>>> --enable-sockets --with-tidy=shared --with-xsl=shared --enable-zip >>>> --with-pear --with-gmp=shared >>>> >>>> If I deactivate the gettext extension, PHP-FPM systematically segfaults >>>> upon >>>> startup but still runs fine: >>>> root@some-vm:~# /etc/init.d/php-fpm restart >>>> Gracefully shutting down php-fpm . done >>>> Starting php-fpm Segmentation fault >>>> failed >>>> >>>> The app is running on an nginx 0.7.67 >>>> >>>> Just wanted to know if this is normal behaviour and if not, should I file >>>> a >>>> bug ? >>>> >>>> Thanks, >>>> Steven >>>> >>>> > >