Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23573 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98538 invoked by uid 1010); 19 May 2006 00:04:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98523 invoked from network); 19 May 2006 00:04:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 May 2006 00:04:17 -0000 X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:7550] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CC/42-19568-F7B0D644 for ; Thu, 18 May 2006 20:04:16 -0400 Received: from foxbox (unknown [84.228.79.24]) by gw2.emini.dk (Postfix) with ESMTP id 2CEB2B25E7; Fri, 19 May 2006 02:04:12 +0200 (CEST) Message-ID: <06aa01c67ad7$61ab2040$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "Frank M. Kromann" , References: <11479941132440000@9866357972520000.9866341568840000> Date: Fri, 19 May 2006 02:01:28 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] Fw: #37507 [Bgs]: loading the php_printer.dllextension causes php to crash From: steph@zend.com ("Steph Fox") Frank, I think I'm seeing the same with PHP-GTK - but I'll get back to you on that. > This seams to be a problem in TSRM. I get this error when using the CLI > version but not with the CGI version. I think this is the same error > reported with the tidy extension (and possible others that register a dtor > for global data. > > Looking a bit at the code I see one difference between CLI and CGI: > > In php_cli.c we have > > #ifdef ZTS > tsrm_shutdown(); > #endif > > > and in cgi_main.c we have > > #ifdef ZTS > /*tsrm_shutdown();*/ > #endif > > > If I disable tsrm_shutdown() in the cli code I do not get a crash. Any > reason why the code is different here? > > - Frank > > -------- Original mail -------- > From: mdlawler at gwmicro dot com > To: php-bugs@lists.php.net > Subject: #37507 [Bgs]: loading the php_printer.dll extension causes php to > crash > >> ID: 37507 >> User updated by: mdlawler at gwmicro dot com >> Reported By: mdlawler at gwmicro dot com >> Status: Bogus >> Bug Type: Reproducible crash >> Operating System: Windows XP >> PHP Version: 6CVS-2006-05-18 (CVS) >> New Comment: >> >> Since this binary is still included in the pecl distribution for >> Windows it seems that some support should be available. If this isn't >> the case how is one supposed to be able to print from php? >> >> >> Previous Comments: >> > ------------------------------------------------------------------------ >> >> [2006-05-18 19:07:46] bjori@php.net >> >> That's because it isn't maintained any longer and was >> therefor never released as a PECL extension. >> >> Please keep this report as bogus as this is not a PHP bug. >> >> > ------------------------------------------------------------------------ >> >> [2006-05-18 18:59:29] mdlawler at gwmicro dot com >> >> I searched the pecl bug system and couldn't find a category for the >> php_printer extension. >> >> > ------------------------------------------------------------------------ >> >> [2006-05-18 18:35:32] tony2001@php.net >> >> Please report problems in PECL extensions using PECL bugsystem. >> Thank you. >> >> > ------------------------------------------------------------------------ >> >> [2006-05-18 18:30:49] mdlawler at gwmicro dot com >> >> Description: >> ------------ >> insert the line >> extension=php_printer.dll >> in php.ini and run php -v and a crash will be generated. I can also >> repro this with the latest 5.2 cvs as well as the released 5.1.4. I'm >> using the correct php_printer.dll for each version. This broke >> sometime during the 5.1.3 dev cycle. >> >> >> >> > ------------------------------------------------------------------------ >> >> >> -- >> Edit this bug report at http://bugs.php.net/?id=37507&edit=1 >> > > -- > 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 > >