Git Product home page Git Product logo

Comments (3)

t-walker-wei avatar t-walker-wei commented on June 12, 2024 1

@kisvegabor Thank you very much for reply.
Last week I found where is this crashing problem from.
I have registered custom event code by lv_event_register_id(), and send to my new create object by lv_event_send(), this cause the poiter problem. After not use the cusom event code, lv_obj_del() works well.

from lvgl.

kisvegabor avatar kisvegabor commented on June 12, 2024

I've tested your code and it works well for me. A few ideas:

  • lv_obj_is_valid is not safe to use this way. It can happen that a widget was freed and on it's exact memory address an other widget was allocated. lv_obj_is_valid will say that it's valid, but it's still not the widget that you wanted.
  • Try increasing the stack size of the LVGL task.

from lvgl.

lvgl-bot avatar lvgl-bot commented on June 12, 2024

We need some feedback on this issue.

Now we mark this as "stale" because there was no activity here for 14 days.

Remove the "stale" label or comment else this will be closed in 7 days.

from lvgl.

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.