Code Monkey home page Code Monkey logo

Comments (6)

arendst avatar arendst commented on September 25, 2024 1

FYI any exception with Reason unknown is likely caused by watchdogs enabled recently in dev branch.

To stop chasing windmills I suggest you disable the watchdog feature and continue with what you want to do.

EDIT: Add this #undef USE_ESP32_WDT to your user_config_override.h

from tasmota.

Jason2866 avatar Jason2866 commented on September 25, 2024 1

The reason why the WDT is enabled is to find code parts which blocks Tasmota (way too long). Goal is to change long blocking code in "normal" working code.

from tasmota.

btsimonh avatar btsimonh commented on September 25, 2024

you are of course correct. adding this to user_config_override.h, and rebuilding for my esp32cam, it's listed 430+ files so far (better than 45).
We could probably do with having a configuration to turn it off. There are always going to be odd circumstances which can't be tested for and so be accounted for with calls to tickle the watchdog. At least then we could continue to use the 'current' version whilst a strange issue is mitigated in some other way without a rebuild.

from tasmota.

btsimonh avatar btsimonh commented on September 25, 2024

it dies in a different way now.... no crash log on the serial, just hangs with no network access, and serial logs turned themselves off... but then I'm giving it hell, so I'm not surprised.

from tasmota.

btsimonh avatar btsimonh commented on September 25, 2024

re-opening - the watchdog triggers in the reproduction above because of listing a very large folder, and so hanging the main loop - which we could solve with some yield(). But with further testing any SD access can cause a main loop hang.
I will do some further investigation, and come up with another reproduction; maybe some Berry that will cause it.
It seems fine on my S3 board, but not on a 'normal' esp32cam board. I will also re-test dev vs release.

Edit - a self-build release build stalls main loop - first time at first file download. 2nd time after 471 file downloads.

from tasmota.

btsimonh avatar btsimonh commented on September 25, 2024

I think a bug in the UFSServe function. Possibly streaming direct from file to socket is not a good idea...
After more testing, I'll PR, and include in the PR a fix for listing large folders with Watchdog on (the original reproduction code).

from tasmota.

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.