#45804 [Bgs]: cgi crashes when using -n and -z ZendOptimizer 3.3.0

[email protected] ("louis at steelbytes dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45804
 User updated by:  louis at steelbytes dot com
 Reported By:      louis at steelbytes dot com
 Status:           Bogus
 Bug Type:         CGI related
 Operating System: Vista SP1 x64
 PHP Version:      5.2.6
 New Comment:

not supprised you are closing it, but I just thought you may want to
look at it as Zend support is the worst supprot I've seen since last
time i tried dealing with Adobe :-)

PS, due to it working with php.exe and not with php-cgi.exe I suspect
that it is php's fault anyway.


Previous Comments:
------------------------------------------------------------------------

[2008-08-13 17:14:18] [email protected]

Do not file bugs when you have Zend extensions (zend_extension=)
loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache,
APC, Xdebug and ionCube loader.  These extensions often modify engine
behavior which is not related to PHP itself.

If there's a problem the Zend guys can make a report which is way more
precise

------------------------------------------------------------------------

[2008-08-13 05:43:44] louis at steelbytes dot com

Description:
------------
php 5.2.6 win32
zend optimizer 3.3.0

crashes.

not 100% sure if this is zendopt of php's fault.  so bug reporting to
both :-)

Reproduce code:
---------------
crash:
  php-cgi.exe -n -z "C:\pathblah\php-5.2.x\ZendOptimizer.dll"

no crash:
  php.exe -n -z "C:\pathblah\php-5.2.x\ZendOptimizer.dll"

crash:
  php-cgi.exe -n -z "C:\pathblah\php-5.2.x\ZendOptimizer.dll" -i

no crash:
  php-cgi.exe -n -i -z "C:\pathblah\php-5.2.x\ZendOptimizer.dll" -i

go figure.

Expected result:
----------------
no crash

Actual result:
--------------
Faulting application php-cgi.exe, version 5.2.6.6, time stamp
0x481b8f5f, faulting module ZendOptimizer.dll, version 0.0.0.0, time
stamp 0x4782498a, exception code 0xc0000005, fault offset 0x000180fb,
process id 0x16fc, application start time 0x01c8fd067056e080.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45804&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.