Comments (9)
Not able to reproduce with the code you provided, does this exact code shows errors for you ??
Looks as if the memory that was allocated for keys was free'd, don't see where this might happen ...
from apcu.
There is no error in log. I'm runnig it under my test (virtual) machine. Maybe there is conflict with some other extension. I have lots of stuff there...
I have installed fresh centos and it seams everything ok.
from apcu.
I've see this too under PHP 5.4.x and ArchLinux. Unfortunately, I was not able to create a stand-alone testcase although it was repeatable.
from apcu.
I'm not able to reproduce under apache, someone said they could reproduce with fpm, so I'll try that when I've some time to setup ...
from apcu.
I tried to debug line by line, sometimes it retrieves array keys ok, sometimes not. I could not find the pattern, only that it happens on more complex php scripts and/or after certain time of doing nothing. I have case where one script repairs the state of key and other script scrambles it.
from apcu.
I got the same problem, but can't reproduce it..
from apcu.
Corruption seemed to disappear after changing apc.serializer ini setting to "php".
from apcu.
can someone else confirm ...
from apcu.
Confirmed. Bug is in default apc serializer.
from apcu.
Related Issues (20)
- Missing Windows DLL file HOT 13
- Could OOM Killer cause APCU deadlock ? HOT 1
- Valgrind Use of uninitialised value of size 8 in php_var_unserialize_internal() via php_apc_unserializer() HOT 2
- start_time in apcu_cache_info() HOT 2
- Test tests/typed_prop.phpt fails on PHP 8.3 HOT 1
- Enable igbinary as serializer Cause PHP 8.2 exited on signal 4 HOT 1
- segmentation fault when calling phpinfo() in ZTS builds HOT 2
- Unable to install on Mac M2 HOT 2
- compliation error on RedHat 8.2: zend_signal.h:46:2: error: unknown type name ‘siginfo_t’ HOT 4
- DLL missing HOT 2
- Create new release HOT 4
- apc.php shows wrong timestamps HOT 1
- DLL for PHP 8.3 (Windows) missing HOT 1
- %d printf specifier for key_t fails if the type is actually long (which is allowed by POSIX)
- apc_cache.c has two format specifier bugs (with patch) HOT 1
- Windows DLL for APCu 5.1.23 HOT 1
- Introduce documentation for setting "apc.smart"
- Store an \SplPriorityQueue HOT 1
- Windows DLL available to download HOT 1
- Expunges happen without hitting limits HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apcu.