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 <[email protected]>
To: [email protected]
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] [EMAIL PROTECTED]
>
> 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] [EMAIL PROTECTED]
>
> 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