Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2022/08/09/cpp-coroutine-misalign-frame-address/ #12

Open
utterances-bot opened this issue Oct 26, 2022 · 2 comments
Open

2022/08/09/cpp-coroutine-misalign-frame-address/ #12

utterances-bot opened this issue Oct 26, 2022 · 2 comments

Comments

@utterances-bot
Copy link

记:C++20 coroutine 的诡异 bug 调查过程 | Fu Zhe's Blog

TL;DR C++20 coroutine 有一个严重的 bug,且这个 bug 本质上来源于 C++ 标准不完善:在分配 coroutine frame 时,没有严格按 alignment 要求。目前看起来 gcc 与 clang 都中招了,只有 msvc 似乎没问题。 本文记录了我是如何被这个 bug 消耗掉了两三天光明。

http://fuzhe1989.github.io/2022/08/09/cpp-coroutine-misalign-frame-address/

Copy link

Jancd commented Oct 26, 2022

"幸好我不负责这个项目,不用我去头疼。"

@fuzhe1989
Copy link
Owner

@Jancd 心态好才是真的好

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

No branches or pull requests

3 participants