Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59139 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36615 invoked from network); 23 Mar 2012 12:25:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2012 12:25:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:57884] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/9B-16309-DBB6C6F4 for ; Fri, 23 Mar 2012 07:25:34 -0500 Received: by ggmb2 with SMTP id b2so2918311ggm.29 for ; Fri, 23 Mar 2012 05:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=qvw9gen46NxEOmBI0K01x0Vd68bH6rcDFhXKgYM49k4=; b=S1V/O4o3QnPKOxm/UInfEO4c7EYpnWyPpdXCpUEvL34E3e98W7H3qdboeWvY903vcF Fl3bfw/RvShXCUl8XK/Wz+D5JdWWd4/4VzIv4J5wGPxc+lWiOymlL7blHTgkI301/Avi Rl9u8WMSfNLmSXBqvxqt1gPTRYFO5YP67uZ27shwSqJwl837agcCn0uz3T4Uoyh73iPy 9j8gnaKfr9mLZiEBb9PCanRHlSBW/fJQ/1v5MrIOXm0PFDaGabbwuZdiWKUGVSmPao7T 2K8la0aZfzh0XpzYZOCHb/CB6P6E1xDZIGw9ZhQBls5OjkVQtqYMXbUFzohoA8wvv3rP /h4Q== MIME-Version: 1.0 Received: by 10.236.186.1 with SMTP id v1mr12442689yhm.4.1332505531586; Fri, 23 Mar 2012 05:25:31 -0700 (PDT) Received: by 10.147.168.16 with HTTP; Fri, 23 Mar 2012 05:25:31 -0700 (PDT) In-Reply-To: <4F6C6901.2080501@gmail.com> References: <4F6C63D0.3030905@gmail.com> <4F6C6901.2080501@gmail.com> Date: Fri, 23 Mar 2012 13:25:31 +0100 Message-ID: To: Steven VAN POECK Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] PHP5.4: PHP-FPM + Gettext == invalid pointer From: pierre.php@gmail.com (Pierre Joye) yes, please do. We have fixed these errors recently. On Fri, Mar 23, 2012 at 1:13 PM, Steven VAN POECK wro= te: > 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 dum= p. > > 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 >> =A0wrote: >>> >>> 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=3D/etc/php5 --with-config-file-path=3D/etc/php= 5 >>> --with-config-file-scan-dir=3D/etc/php5/conf.d --enable-fpm >>> --with-fpm-user=3Dwww-data --with-fpm-group=3Dwww-data --with-openssl >>> --with-zlib=3Dshared --enable-bcmath --with-curl=3Dshared --with-gd=3Ds= hared >>> --with-gettext=3Dshared --enable-intl --enable-mbstring >>> --with-mcrypt=3Dshared >>> --enable-pcntl --disable-pdo --with-mysqli=3Dmysqlnd --disable-posix >>> --with-libedit=3Dshared --with-readline=3Dshared --with-recode=3Dshared >>> --enable-sockets --with-tidy=3Dshared --with-xsl=3Dshared --enable-zip >>> --with-pear --with-gmp=3Dshared >>> >>> 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 >>> =A0failed >>> >>> The app is running on an nginx 0.7.67 >>> >>> Just wanted to know if this is normal behaviour and if not, should I fi= le >>> a >>> bug ? >>> >>> Thanks, >>> Steven >>> >>> > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org