Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

esp32s3 fail to pass the "One-shot timer" test #115

Open
johnatannvmd opened this issue Sep 14, 2022 · 1 comment
Open

esp32s3 fail to pass the "One-shot timer" test #115

johnatannvmd opened this issue Sep 14, 2022 · 1 comment

Comments

@johnatannvmd
Copy link

Env:

rustc --version
rustc 1.63.0-nightly (d89202f1f 2022-08-24)

cargo --version
cargo 1.63.0-nightly (fd9c4297c 2022-07-01)

esp-idf
release-v4.4

Monitor out:

I (23634) rust_esp32_std_demo: One-shot timer triggered
E (26614) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (26614) task_wdt:  - IDLE (CPU 0)
E (26614) task_wdt: Tasks currently running:
E (26614) task_wdt: CPU 0: main
E (26614) task_wdt: CPU 1: IDLE
E (26614) task_wdt: Print CPU 0 (current core) backtrace


Backtrace: 0x420B791A:0x3FC95920 0x40378091:0x3FC95940 0x400559DD:0x3FCA1C90 |<-CORRUPTED

E (26614) task_wdt: Print CPU 1 backtrace


Backtrace: 0x4037880D:0x3FC95F20 0x40378091:0x3FC95F40 0x400559DD:0x3FCF3DF0 |<-CORRUPTED

E (31614) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (31614) task_wdt:  - IDLE (CPU 0)
E (31614) task_wdt: Tasks currently running:
E (31614) task_wdt: CPU 0: main
E (31614) task_wdt: CPU 1: IDLE
E (31614) task_wdt: Print CPU 0 (current core) backtrace
@johnatannvmd
Copy link
Author

got more detailed report

E (11460) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (11460) task_wdt:  - IDLE (CPU 0)
E (11460) task_wdt: Tasks currently running:
E (11460) task_wdt: CPU 0: main
E (11460) task_wdt: CPU 1: IDLE
E (11460) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x420B7862:0x3FC95920 0x40378091:0x3FC95940 0x420AFF67:0x3FCA1CE0 0x4206FA6E:0x3FCA1D00 0x42075BB8:0x3FCA1D40 0x42007A32:0x3FCA1D60 0x4210C20B:0x3FCA21F0 0x42009B50:0x3FCA2210 0x4205FE79:0x3FCA2230 0x42009B3E:0x3FCA2250 0x42009661:0x3FCA2280 0x4201E5FF:0x3FCA22A0 0x42112D5B:0x3FCA22C0
0x420B7862 - task_wdt_isr
    at /home/johnatan/projects/rust-esp32-std-demo/.embuild/espressif/esp-idf/release-v4.4/components/esp_system/task_wdt.c:183
0x40378091 - _xt_lowint1
    at /home/johnatan/projects/rust-esp32-std-demo/.embuild/espressif/esp-idf/release-v4.4/components/freertos/port/xtensa/xtensa_vectors.S:1111
0x420AFF67 - usleep
    at /home/johnatan/projects/rust-esp32-std-demo/.embuild/espressif/esp-idf/release-v4.4/components/newlib/time.c:215
0x4206FA6E - std::sys::unix::thread::Thread::sleep
    at /home/johnatan/.rustup/toolchains/esp/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:241
0x42075BB8 - std::thread::sleep
    at /home/johnatan/.rustup/toolchains/esp/lib/rustlib/src/rust/library/std/src/thread/mod.rs:840
0x42007A32 - rust_esp32_std_demo::test_threads
    at /home/johnatan/projects/rust-esp32-std-demo/src/main.rs:438
0x4210C20B - core::ops::function::FnOnce::call_once
    at /home/johnatan/.rustup/toolchains/esp/lib/rustlib/src/rust/library/core/src/ops/function.rs:248
0x42009B50 - std::rt::lang_start::{{closure}}
    at /home/johnatan/.rustup/toolchains/esp/lib/rustlib/src/rust/library/std/src/rt.rs:145
0x4205FE79 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
    at /home/johnatan/.rustup/toolchains/esp/lib/rustlib/src/rust/library/core/src/ops/function.rs:280
0x42009B3E - std::rt::lang_start
    at /home/johnatan/.rustup/toolchains/esp/lib/rustlib/src/rust/library/std/src/rt.rs:144
0x42009661 - main
    at ??:??
0x4201E5FF - app_main
    at /home/johnatan/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-sys-0.31.9/src/start.rs:46
0x42112D5B - main_task
    at /home/johnatan/projects/rust-esp32-std-demo/.embuild/espressif/esp-idf/release-v4.4/components/freertos/port/port_common.c:141
E (11460) task_wdt: Print CPU 1 backtrace
Backtrace: 0x4037880D:0x3FC95F20 0x40378091:0x3FC95F40 0x400559DD:0x3FCF3DF0 |<-CORRUPTED
0x4037880D - esp_crosscore_isr
    at /home/johnatan/projects/rust-esp32-std-demo/.embuild/espressif/esp-idf/release-v4.4/components/esp_system/crosscore_int.c:92
0x40378091 - _xt_lowint1
    at /home/johnatan/projects/rust-esp32-std-demo/.embuild/espressif/esp-idf/release-v4.4/components/freertos/port/xtensa/xtensa_vectors.S:1111
0x400559DD - rom_rx_gain_force
    at ??:??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant