Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25418 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21893 invoked by uid 1010); 24 Aug 2006 09:38:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21877 invoked from network); 24 Aug 2006 09:38:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2006 09:38:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.42 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.42 darkcity.gna.ch Linux 2.5 (sometimes 2.4) (4) Received: from [195.226.6.42] ([195.226.6.42:57669] helo=darkcity.gna.ch) by pb1.pair.com (ecelerity 2.1.1.8 r(12602M)) with ESMTP id 1B/A7-54001-2A37DE44 for ; Thu, 24 Aug 2006 05:38:44 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id B3504BF1A8; Thu, 24 Aug 2006 11:38:39 +0200 (CEST) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXh0S4CC; Thu, 24 Aug 2006 11:38:38 +0200 (CEST) Received: from [192.168.1.43] (217-162-171-242.dclient.hispeed.ch [217.162.171.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id 99DE8BF1AC; Thu, 24 Aug 2006 11:38:38 +0200 (CEST) Message-ID: <44ED7398.3090006@cschneid.com> Date: Thu, 24 Aug 2006 11:38:32 +0200 User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Ilia Alshanetsky CC: internals@lists.php.net References: <3BACB070-8FE1-4D72-AF4F-A6A85147733B@prohost.org> In-Reply-To: <3BACB070-8FE1-4D72-AF4F-A6A85147733B@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at gna.ch Subject: Problems with APC, was Re: PHP 5.2.0RC2 Released! From: cschneid@cschneid.com (Christian Schneider) I get a segfault with PHP 5.2.0RC2 in CLI mode (Apache module seems to work) and APC 3.0.11 (without APC it works fine). Is this a known problem (maybe even fixed in CVS) or is it worth investigating? Some info: ./configure --with-apxs2=/www/server/bin/apxs --prefix=/www/server --with-config-file-path=/www/server/conf --enable-calendar --enable-bcmath --enable-debug=no --enable-exif --enable-track-vars --sbindir=/www/server/bin --with-curl --with-db4 --with-freetype-dir=/usr --with-gd --with-gettext --with-iconv --with-jpeg-dir=/usr --with-ldap --with-mcrypt --with-mysql --with-openssl --with-xml --with-zlib --enable-debug abflex:/www/server # uname -a Linux abflex 2.6.13-15.11-default #1 Mon Jul 17 09:43:01 UTC 2006 i686 i686 i386 GNU/Linux abflex:/www/server # cat /etc/SuSE-release SUSE LINUX 10.0 (i586) abflex:/www/server # gdb php GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) r Starting program: /home/www/server/bin/php [Thread debugging using libthread_db enabled] [New Thread 1082029536 (LWP 19807)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1082029536 (LWP 19807)] 0x082d298b in _zend_hash_add_or_update (ht=0x407e829c, arKey=0x83eecd4 "register_argc_argv", nKeyLength=19, pData=0xbf96a7b8, nDataSize=4, pDest=0x0, flag=2, __zend_filename=0x83e7e58 "/www/server/php-5.2.0RC2/Zend/zend_ini.c", __zend_lineno=258) at /www/server/php-5.2.0RC2/Zend/zend_hash.c:213 213 p = ht->arBuckets[nIndex]; (gdb) p nIndex $1 = 0 (gdb) p ht->arBuckets $2 = (Bucket **) 0x0 (gdb) p ht $3 = (HashTable *) 0x407e829c (gdb) p *ht $4 = {nTableSize = 0, nTableMask = 0, nNumOfElements = 0, nNextFreeElement = 0, pInternalPointer = 0x0, pListHead = 0x0, pListTail = 0x0, arBuckets = 0x0, pDestructor = 0, persistent = 0 '\0', nApplyCount = 0 '\0', bApplyProtection = 0 '\0', inconsistent = 0} Regards, - Chris