Closed genkigenki closed 4 months ago
I can't reproduce this behaviour so we need a little more information. Please hook up your machine via USB and look at the output of the serial monitor. If there is a kernel panic or something you should see a backtrace.
I can't reproduce this behaviour so we need a little more information. Please hook up your machine via USB and look at the output of the serial monitor. If there is a kernel panic or something you should see a backtrace.
Its unfortunately sporadic. I turned on/off around 20 times until it happened and cut the video to show only the time it happened. Did you powercycle your machine a few times?
USB is difficult, as I cant reach in easily with all wires attached. Would have to setup a second ESP32 with some extra sensors, but currently i dont have the parts
I don't run bleeding edge code on my production machine as a matter of policy. If you're not willing/able to either build a separate test setup or at least connect a USB lead to look for a backtrace you should probably think about doing that as well.
Still cannot reproduce that behaviour after 15 power cycles on my test setup. And I suspect you're not just running the unmodified master?
If you won't provide any more information I'm not really sure what we're supposed to do.
Thanks for powercycling! Is the test setup connecting to WLAN?
I run the unmodified master, as written in the bugfix description. (The version before the commits of today, 10.3.2024)
I activated pretty standard features in userconfig, see extract below.
CORRUPT HEAP: Bad head at 0x3ffdb2b0. Expected 0xabba1234 got 0x10981234
assert failed: multi_heap_free multi_heap_poisoning.c:259 (head != NULL)
Backtrace: 0x40083ae1:0x3ffb4f20 0x4008d54d:0x3ffb4f40 0x40092cd9:0x3ffb4f60 0x400928d1:0x3ffb5090 0x40084051:0x3ffb50b0 0x40092d09:0x3ffb50d0 0x4008e972:0x3ffb50f0 0x40121543:0x3ffb5110 0x40123e35:0x3ffb5130 0x401101b7:0x3ffb5160
(inlined by) tcpip_thread at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/api/tcpip.c:154
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump: PC : 0x4008ad5c PS : 0x00060630 A0 : 0x8017784b A1 : 0x3ffda980 A2 : 0xcac795c7 A3 : 0xcac795c3 A4 : 0x000000ff A5 : 0x0000ff00 A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x0000000d A9 : 0x0000005f A10 : 0x00000000 A11 : 0x00000000 A12 : 0x3ff96355 A13 : 0x3ffda960 A14 : 0x00000003 A15 : 0x00060023 SAR : 0x00000008 EXCCAUSE: 0x0000001c EXCVADDR: 0xcac795c7 LBEG : 0x4008a4dc LEND : 0x4008a4e6 LCOUNT : 0x00000000
Backtrace: 0x4008ad59:0x3ffda980 0x40177848:0x3ffda990 0x401778cf:0x3ffdaad0 0x40178369:0x3ffdac10 0x4017a4cd:0x3ffdac50
(inlined by) _mdns_dispatch_tx_packet at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/mdns/mdns.c:1154
(inlined by) _mdns_execute_action at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/mdns/mdns.c:4511
(inlined by) _mdns_service_task at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/mdns/mdns.c:4644
this helped on my side: https://github.com/rancilio-pid/clevercoffee/pull/481
With latest master (after HAL commit, but maybe also before) Clevercoffee reboots during setup() and loop() (seen shortly after startup).
With a startup-counter i could see that reboots happen specifically at 1) enableTimer1(); 2) Logger::begin(); Logger::setLevel(LOGLEVEL); LOGF(INFO, ... 3) in loop()
Video of reboot during loop() attached: https://github.com/rancilio-pid/clevercoffee/assets/3080081/274d3f60-d9d6-4b0e-b8c8-4704a15baede
No other load on the machine, website not used, but MQTT activated.