Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8392 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73436 invoked by uid 1010); 5 Mar 2004 18:29:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73412 invoked from network); 5 Mar 2004 18:29:56 -0000 Received: from unknown (HELO bambi.bitflux.ch) (212.71.97.156) by pb1.pair.com with SMTP; 5 Mar 2004 18:29:56 -0000 Received: from localhost (reh [127.0.0.1]) by bambi.bitflux.ch (Postfix) with ESMTP id 1AD827FEE1; Fri, 5 Mar 2004 19:29:56 +0100 (CET) Received: from bambi.bitflux.ch ([127.0.0.1]) by localhost (bambi [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28826-03-2; Fri, 5 Mar 2004 19:29:56 +0100 (CET) Received: from bitflux.ch (217-162-237-29.dclient.hispeed.ch [217.162.237.29]) by bambi.bitflux.ch (Postfix) with ESMTP id CEEEA7F7CC; Fri, 5 Mar 2004 19:29:55 +0100 (CET) Message-ID: <4048C722.8020606@bitflux.ch> Date: Fri, 05 Mar 2004 19:29:54 +0100 User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andi Gutmans Cc: internals@lists.php.net References: <4048ACBC.2@bitflux.ch> <5.1.0.14.2.20040305191737.021be8a8@127.0.0.1> In-Reply-To: <5.1.0.14.2.20040305191737.021be8a8@127.0.0.1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at bitflux.ch Subject: Re: [PHP-DEV] static crashes From: chregu@bitflux.ch (Christian Stocker) On 3/5/04 6:18 PM, Andi Gutmans wrote: > I actually couldn't reproduce the crash with your script but I found > problems with my patch using valgrind. > Commit coming up in a second. > Let me know if it solves your problem. as pierre already said, it works again on my server thanks for the quick fix chregu > Thanks for the short reproducing script. > Andi > > At 07:12 PM 3/5/2004 +0200, Andi Gutmans wrote: > >> Can't reproduce this. >> >> At 05:37 PM 3/5/2004 +0100, Christian Stocker wrote: >> >>> Hi >>> >>> The following segfaults on my linux server... >>> >>> >> class bla { >>> static $instance = null; >>> static function getInstance() {} >>> } >>> $n = bla::getInstance(); >>> ?> >>> >>> if you comment out the "static $instance" line, it works... >>> >>> fresh HEAD checkout 15 minutes ago.. >>> >>> strangely enough, this works on OSX... >>> >>> backtrace can be found here -> http://trash.chregu.tv/bt.txt >>> >>> chregu >>> >>> >>> -- >>> christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich >>> phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 >>> http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php > > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB