Skip to content

bthread 如何保证coredump下的正确 bt #2268

@athree

Description

@athree

可能是一个基础问题

假如现在有4个pthread(A-D),10个bthread(1-10),bth1-4 在 pthA上(不考虑stolen),其中bth1 中 segfault 触发 coredump,这个时候coredump一定是 bth1 的 context吗?是否会因为 user 侧的 scheduler 导致 coredump bt 回溯的是 bth2-3的 context?

如果不会,这个是怎么保障的呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions