-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storing array bizarre key error #35
Comments
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 ... |
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. |
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. |
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 ... |
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. |
I got the same problem, but can't reproduce it.. |
Corruption seemed to disappear after changing apc.serializer ini setting to "php". |
can someone else confirm ... |
Confirmed. Bug is in default apc serializer. |
When storing array some keys are scrambled to some random value same length as previous key.
Array ( [@��b] => 123 [`��b] => test123456 )
PHP 5.5.1
APCu 4.0.2
Apache 2.2.15
CentOS release 6.4 x86_64
The text was updated successfully, but these errors were encountered: