Skip to content

[Bug] rt_thread_kill 多次执行触发 ASSERT #10903

@rcitach

Description

@rcitach

RT-Thread Version

5.2.2

Hardware Type/Architectures

RK3500

Develop Toolchain

GCC

Describe the bug

在 rt-thread/examples/utest/testcases/kernel/signal_tc.c 测试代码运行过程中发现,多次执行会触发 block_ptr 为空的错误:

Image

跟踪发现 rt_thread_kill 中会一直执行 rt_mp_alloc ,导致资源耗尽

Image

Other additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions