Edit report at https://bugs.php.net/bug.php?id=65338&edit=1

 ID:                 65338
 Comment by:         me at laurinkeithdavis dot com
 Reported by:        erics...@php.net
 Summary:            Enabling both php_opcache and php_wincache AVs on
                     shutdown
 Status:             Feedback
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Windows
 PHP Version:        5.5.1
 Block user comment: N
 Private report:     N

 New Comment:

I can confirm that this patch works as well.

https://bugs.php.net/bug.php?id=65247


Previous Comments:
------------------------------------------------------------------------
[2013-07-26 16:48:39] phpdev at ehrhardt dot nl

@Anatol: Xinchen ran into the same problem while combining APC usercache with 
OPcache opcode cache. See
http://svn.php.net/viewvc?view=revision&revision=330859
He solved it by disabling interned_string.

@Eric: I can confirm your patch works. Tested it as well under X86 as X64.

------------------------------------------------------------------------
[2013-07-26 16:04:36] erics...@php.net

a...@php.net said
> What is the catch/sense of using both at the same time?

Wincache provides a file cache, session cache, user property cache as well as 
an opcode cache.  Further, it's possible to disable the opcode cache.

On PHP5.5, we (Wincache support folks) expect customers to enable the Zend 
opcache (because it's in 'core', and probably does more optimizing than 
Wincache does), but continue to use Wincache for file, session and user cache.

------------------------------------------------------------------------
[2013-07-26 10:58:23] a...@php.net

What is the catch/sense of using both at the same time? Both  are opcaches and 
can 
cross each other in many other hooks, most important replacing 
zend_compile_file.

It's beyond what happens, wincache replaces zend_compile_file with its own, 
followed by 
opcache replacing it with its own. Or vice versa. What happens to user trying 
to use 
the first loaded module then?

------------------------------------------------------------------------
[2013-07-26 07:01:23] a...@php.net

Related To: Bug #65247

------------------------------------------------------------------------
[2013-07-25 17:30:56] erics...@php.net

The following patch has been added/updated:

Patch Name: zend_interned_strings_shutdown_AV
Revision:   1374773456
URL:        
https://bugs.php.net/patch-display.php?bug=65338&patch=zend_interned_strings_shutdown_AV&revision=1374773456

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=65338


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65338&edit=1

Reply via email to