Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59137 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33665 invoked from network); 23 Mar 2012 12:14:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2012 12:14:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=svanpoeck@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=svanpoeck@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.170 as permitted sender) X-PHP-List-Original-Sender: svanpoeck@gmail.com X-Host-Fingerprint: 209.85.215.170 mail-ey0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:64549] helo=mail-ey0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/FA-16309-7096C6F4 for ; Fri, 23 Mar 2012 07:14:00 -0500 Received: by eaao10 with SMTP id o10so858244eaa.29 for ; Fri, 23 Mar 2012 05:13:57 -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=Sq0Z5Bnxq1OC6q4Fh8J79bHIYQeyVwJZpykQDgd1BSQ=; b=fC9i84JO8SgaEs91vnFqRLlvncFWARBL53+hKG1kybKQpYFKl6diThtk/3/r04SRoi VP0PaA0h+K904tByr/OAGDjiOQPdipT3ZMOChGml73SkFh87E+db35a9WbX4lo2h/DYW R/h2CNAt/V3rYOCF8gSEBAGsYF2vIe+5bXX6bt7QTqEGhwGrA/h5BBMFS63ZwJGTSi7L U3XK10yAoMxRrdZuoFBZm/RJTD/fOkwsAdqLee1p5t1VbUewtBYjQUfuhrXvF6FFfJLI 0sbPg6hhFxjDJyKI2aI58AIm/kZ7hC7DAnNllKEmdntcqdx1M04AtkZ5PXSgGQU5+b3o qkmg== Received: by 10.14.96.6 with SMTP id q6mr1663970eef.6.1332504837207; Fri, 23 Mar 2012 05:13:57 -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 r44sm27560806eef.2.2012.03.23.05.13.54 (version=SSLv3 cipher=OTHER); Fri, 23 Mar 2012 05:13:56 -0700 (PDT) Message-ID: <4F6C6901.2080501@gmail.com> Date: Fri, 23 Mar 2012 13:13:53 +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> 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, 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 >> >>