GithubHelp home page GithubHelp logo

storing array bizarre key error about apcu HOT 9 CLOSED

krakjoe avatar krakjoe commented on June 15, 2024
storing array bizarre key error

from apcu.

Comments (9)

krakjoe avatar krakjoe commented on June 15, 2024

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.

kowach avatar kowach commented on June 15, 2024

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.

arjenschol avatar arjenschol commented on June 15, 2024

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.

krakjoe avatar krakjoe commented on June 15, 2024

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.

kowach avatar kowach commented on June 15, 2024

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.

dhardtke avatar dhardtke commented on June 15, 2024

I got the same problem, but can't reproduce it..

from apcu.

gxs85 avatar gxs85 commented on June 15, 2024

Corruption seemed to disappear after changing apc.serializer ini setting to "php".

from apcu.

krakjoe avatar krakjoe commented on June 15, 2024

can someone else confirm ...

from apcu.

kowach avatar kowach commented on June 15, 2024

Confirmed. Bug is in default apc serializer.

from apcu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.