zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.88k stars 6.63k forks source link

RW612 based boards hang when wlan reset #80598

Closed GaofengZhangNXP closed 1 week ago

GaofengZhangNXP commented 2 weeks ago

Describe the bug • When triggering Wi-Fi/BLE reset in Wi-Fi/BLE sample application the Wi-Fi and BLE cores are powered off and then have to be reset. The processing of the reset doesn't properly set status resulting in improper reuse and reinitialization of an existing task handle to the kernel. On next reset, the kernel gets stuck in an infinite loop when handling a z_thread_abort due to this duplicate task handle.

To Reproduce • On RW612 based boards input wlan reset command and you can reproduce the issue

Expected behavior • wlan reset command will reboot successfully

github-actions[bot] commented 2 weeks ago

Hi @GaofengZhangNXP! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

nordicjm commented 2 weeks ago

zephyr system hang and can't input any command

Based on the very limited information provided (i.e. none) I disagree, it works fine here?

danieldegrasse commented 2 weeks ago

@GaofengZhangNXP please expand this issue to list (at a minimum) the following:

The guidelines within the bug template are helpful for this, usually I try to fill all of them out. For an example of an issue with this information, take a look here: https://github.com/zephyrproject-rtos/zephyr/issues/80590

dkalowsk commented 1 week ago

No details. Marking as closed.