Core 0 panic'ed, but reboot does not happen



  • I get the occasional core 0 related freezes of M5 Stick C.
    Using the latest Arduino IDE with latest M5 libs.

    I did program a watchdog timer, which works, except when the core 0 error happens.

    Once the unit hangs it gets wamer than usual and consumes about 100ms. The unit is no longer visible on the network, and will not respond to button presses (except power off button)

    How can I fix this? (Stick needs to reboot on core 0 error)

    Thanks !

    ---------------------------------------- Log -----
    SSID: Jackdog-73dBm (54% )
    OFF_Display
    FreeHeap=240924
    sunnyboy
    http://sunnyboy/solar_api/v1/GetPowerFlowRealtimeData.fcgi
    Fronius:BEFORE g_ihttpFronius = http.GET()
    Fronius:AFTER g_ihttpFronius = http.GET()
    g_ihttpFronius=-1
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x40082868: 03adf784 c0079ea5 40082920
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Er

    ----------------------------- end log--------------------------------



  • I set CONFIG_ESP32_PANIC_SILENT_REBOOT=y
    in file /.arduiono15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/sdkconfig

    I did get the same error again, plus some unexpected debugging output
    After all, with CONFIG_ESP32_PANIC_SILENT_REBOOT=y , I would not expect any debugging output
    By the way, the problem happens with several M5Sticks..........

    -------------------------------------Log output (same as last time)
    No/Bad response from Shelly:-1
    SSID:

    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x40082868: 03adf784 c0079ea5 40082920
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
    Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
    Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unha ndled.