RT-Thread / RT-Thread/rt-thread

[Bug] 任务调度bug

Open
#11,512 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
12.2k
Forks
5.4k
Avg merge
4d 12h
Merged PRs (30d)
40

Description

RT-Thread Version

5.2.2

Hardware Type/Architectures

GD32H759IMT6

Develop Toolchain

Other

Describe the bug

开启四个线程,包括main线程。另外三个线程两个静态一个动态。挂机超过五小时,任务调度失败。
配置文件采用官方发布的bsp文件

Other additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the RT-Thread 5.2.2 scheduling behavior on the GD32H759IMT6 using the official BSP configuration. Reproduce the setup with four threads, including main, two static threads, and one dynamic thread, and observe it for more than five hours. Done means the scheduling failure is reproduced, isolated, and covered by a verified fix or a more precise diagnosis.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.