php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64926 64-Bit-PHP crashes with Opcache
Submitted: 2013-05-27 06:53 UTC Modified: 2013-05-27 13:43 UTC
From: gertrainer dot bitterlich at ima-dresden dot de Assigned:
Status: Closed Package: opcache
PHP Version: 5.5.0RC2 OS: Windows 7 Pro 64-Bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gertrainer dot bitterlich at ima-dresden dot de
New email:
PHP Version: OS:

 

 [2013-05-27 06:53 UTC] gertrainer dot bitterlich at ima-dresden dot de
Description:
------------
If I use php-5.5.0RC2-nts-Win32-VC11-x64, I get the following error messages.
With PHP 5.5RC2 32-Bit there is no error.

Browser-Page:
HTTP-Fehler 500.0 - Internal Server Error

Application Event-Log-Error message:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Zend OPcache" /> 
  <EventID Qualifiers="0">487</EventID> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2013-05-27T06:27:21.000000000Z" /> 
  <EventRecordID>175283</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>pan-w7.ima-dresden.local</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>Unable to reattach to base address</Data> 
  <Data>Es wurde versucht, auf eine unzulässige Adresse zuzugreifen.</Data> 
  </EventData>
  </Event>

This is allways in connection with PHP scripts, witch are called over AJAX requests.

If I deactivate OPCache in the php.ini, then it works correct.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-27 10:02 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2013-05-27 10:02 UTC] laruence@php.net
please refer to "opcache.mmap_base" : 
https://github.com/laruence/ZendOptimizerPlus
 [2013-05-27 10:10 UTC] laruence@php.net
and the suggests value of the option could be found here: 
http://kb.zend.com/index.php?View=entry&EntryID=454
 [2013-05-27 13:43 UTC] gertrainer dot bitterlich at ima-dresden dot de
-Status: Feedback +Status: Closed
 [2013-05-27 13:43 UTC] gertrainer dot bitterlich at ima-dresden dot de
Thank you for the answer.
If I use in the php.ini
  opcache.mmap_base = 0x20000000
then it works without error.
 [2014-02-20 14:19 UTC] keithdavis at solidtechservice dot com
Link to Zend's page is bad, here is the correct link:

http://kb.zend.com/zend-enabler-error-could-not-locate-a-free-php-process/#.UwYNwViA1aQ

I'm having the same problem, but it's with 5.5.9 (or 5.5.8) and VC11-NTS 32-Bit.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 04 11:01:28 2024 UTC