Skip to content

ESP Rainmaker Crashing Bug - OTA #5420

Closed
espressif/esp32-arduino-lib-builder
#86
@JohnMacrae

Description

@JohnMacrae

What you are trying to do?
OTA update via Dashboard with Arduino IDE-compiled binary.

Describe your system( Hardware, computer, O/S, core version, environment).
Ubuntu 20.04, Dell XPS15 9550, Arduino IDE 1.8.15, Latest arduino-esp32 2.0.0a

Describe what is failing.
Replication instruction:
Take Rainmaker Switch example and change Line 65 to: RMaker.enableOTA(OTA_USING_TOPICS);
Compile, upload and confirm normal behaviour.
Now upload same binary to dashboard with random version number. Create OTA job and force update - watch serial output as you press the button. Continuous restarts.

Backtrace:0x400d7b93:0x3ffce8400x40177825:0x3ffce870 0x40177ac4:0x3ffce8a0
Decoding stack results
0x400d7b93: loopTask(void*) at /home/john/arduino-1.8.15/hardware/espressif/esp32/cores/esp32/main.cpp line 35
0x40177825: esp_rmaker_handle_work_queue at ../components/esp-rainmaker/components/esp_rainmaker/src/core/esp_rmaker_core.c line 354
0x40177ac4: esp_rmaker_task at ../components/esp-rainmaker/components/esp_rainmaker/src/core/esp_rmaker_core.c line 445

Now go to dashboard and cancel the OTA job. Watch serial: device reverts to normal behaviour.

RM Serial output.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs investigationWe need to do some research before taking next steps on this issue

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions