Giter Site home page Giter Site logo

EXC_BAD_ACCESS drawInRect about fastimagecache HOT 7 CLOSED

path avatar path commented on May 17, 2024
EXC_BAD_ACCESS drawInRect

from fastimagecache.

Comments (7)

Igor-Palaguta avatar Igor-Palaguta commented on May 17, 2024

As I can see from code FICImageTableEntry bytes (that were used during CGBitmapContextCreate initialization) are not available after reset, so any usage of this context finishes with EXC_BAD_ACCESS

from fastimagecache.

krisselden avatar krisselden commented on May 17, 2024

This bug makes testing very difficult.

from fastimagecache.

mallorypaine avatar mallorypaine commented on May 17, 2024

This behavior is expected. You shouldn't call reset while images are in use or being processed.

Why exactly are you doing that?

Sent from my iPhone

On Aug 4, 2014, at 5:57 PM, Kris Selden [email protected] wrote:

This bug makes testing very difficult.


Reply to this email directly or view it on GitHub.

from fastimagecache.

Igor-Palaguta avatar Igor-Palaguta commented on May 17, 2024

During logout user from application, I want to reset everything

It can easily also be replicated with some code manipulation, after CGBitmapContextCreate call reset, and it reproduces easily

from fastimagecache.

mallorypaine avatar mallorypaine commented on May 17, 2024

I pushed a commit to master which may resolve this. Please let me know.

from fastimagecache.

krisselden avatar krisselden commented on May 17, 2024

I'm pretty sure that will work since it looks very similar to the workaround I use in the teardown of our tests.

from fastimagecache.

Igor-Palaguta avatar Igor-Palaguta commented on May 17, 2024

Thank you guys, I am sure it should work

from fastimagecache.

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.