php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45804 cgi crashes when using -n and -z ZendOptimizer 3.3.0
Submitted: 2008-08-13 05:43 UTC Modified: 2008-08-14 13:02 UTC
From: louis at steelbytes dot com Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.2.6 OS: Vista SP1 x64
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: louis at steelbytes dot com
New email:
PHP Version: OS:

 

 [2008-08-13 05:43 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-13 17:14 UTC] johannes@php.net
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-14 11:39 UTC] louis at steelbytes dot com
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.
 [2008-08-14 13:02 UTC] johannes@php.net
Probably, probably not, I have no clue what that Zend stuff does so I can't say :-)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC