Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23828 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66132 invoked by uid 1010); 31 May 2006 14:58:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66117 invoked from network); 31 May 2006 14:58:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2006 14:58:13 -0000 X-PHP-List-Original-Sender: frank@kromann.info X-Host-Fingerprint: 64.186.239.125 c-064-186-239-125.oc1.redwire.net Linux 2.5 (sometimes 2.4) (4) Received: from ([64.186.239.125:41634] helo=mail.kromann.info) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 8B/F9-07504-40FAD744 for ; Wed, 31 May 2006 10:58:12 -0400 Received: by mail.kromann.info (Postfix, from userid 510) id DD7184040C9; Wed, 31 May 2006 07:58:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mail.kromann.info X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL autolearn=ham version=3.1.1 Received: from warp (www.kromann.info [64.186.239.115]) by mail.kromann.info (Postfix) with SMTP id CD2DF4040C6; Wed, 31 May 2006 07:58:08 -0700 (PDT) To: Steph Fox Cc: 'internals' , 'Antony Dovgal' , Dmitry Stogov , 'Xuefer' , 'Andi Gutmans' X-Mailer: Swwwing 2000 Message-ID: <11490874854760000@9866357972520000.9866341568840000> MIME-Version: 1.0 Reply-To: "Frank M. Kromann" Date: Wed, 31 May 2006 07:58:05 -0700 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI From: frank@kromann.info ("Frank M. Kromann") tsrm_shutdown() is already comented out in the CGI version, most likely as a fix to the same kind of problem there. Perhaps enabling that again will show the same kind of problems? - Frank > At the moment I'm seeing it with Tidy under 5_2. Just about to get Tony to > check. > > ----- Original Message ----- > From: "Dmitry Stogov" > To: "'Steph Fox'" ; "'Xuefer'" ; "'Andi > Gutmans'" > Cc: "'internals'" ; "'Antony Dovgal'" > > Sent: Wednesday, May 31, 2006 2:55 PM > Subject: RE: [PHP-DEV] tsrm_shutdown() and the CLI SAPI > > > > Steph, > > > > Commenting tsrm_shutdown() or FreeLibrary() is just hidding real bugs. > > Of course this is a solution, but not excellent. > > > > Right now I haven't enough time even for ZE and PHP themself, so I don't > > like spent it looking into php-gtk on windows. > > (I don't know GTK at all). > > > > Do you know any other extension from PHP distribution that cause the same > > crash? > > Could you provide instruction how to reproduce it? > > > > Thanks. Dmitry. > > > >> -----Original Message----- > >> From: Steph Fox [mailto:steph@zend.com] > >> Sent: Wednesday, May 31, 2006 3:28 PM > >> To: Dmitry Stogov; 'Xuefer'; 'Andi Gutmans' > >> Cc: 'internals'; Antony Dovgal > >> Subject: Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI > >> > >> > >> > Oh well, now I see the difference. > >> > With my patch PHP starts call FreeLibrary() for dll extension. I am > >> > wonder why it wasn't called before. :) > >> > >> Pure luck, by the look of it :) > >> > >> > Probably some other bug that is the reason of the crash was > >> masked by > >> > omitting FreeLibrary(). I know Tony fixed some kind of such bugs in > >> > ext/tidy and ext/sybase. > >> > >> Yes, he gave those extensions the ts_free_id() workaround I > >> mentioned a > >> looooooooooong time ago when I first started looking into this. > >> > >> > Probably php-gtk needs similar fix. > >> > >> That workaround didn't work for PHP-GTK. I tried that first. > >> That's why I > >> need you to fix this bug rather than me just cover it up. The > >> only thing > >> that works for PHP-GTK is to either avoid tsrm_shutdown() > >> completely (via > >> Zeev's suggestion of commenting out the call in php_cli.c), > >> or to fix the > >> bug that makes reaching it a problem. > >> > >> > All other systems except win32 already used common config > >> file, and I > >> > don't > >> > see any reason for this exceptions. > >> > >> I don't know or care what other systems do... how's that even > >> relevant? > >> > >> > Especially because it was the reason of bug, and masked other bugs > >> > that > >> > may > >> > be reproduced on linux with ZTS. > >> > >> Sorry, I didn't parse that... can you rephrase? > >> > > >> > Thanks. Dmitry. > >> > >> Cheers, > >> - Steph > >> > >> -- > >> PHP Internals - PHP Runtime Development Mailing List > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > >> > > > > > > > > __________ NOD32 1.1380 (20060125) Information __________ > > > > This message was checked by NOD32 antivirus system. > > http://www.eset.com > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >