Skip to content

[backport 3.3] coro: do not clear rbp in coro_init#12275

Open
TarantoolBot wants to merge 1 commit intorelease/3.3from
backport/release/3.3/12266
Open

[backport 3.3] coro: do not clear rbp in coro_init#12275
TarantoolBot wants to merge 1 commit intorelease/3.3from
backport/release/3.3/12266

Conversation

@TarantoolBot
Copy link
Collaborator

@TarantoolBot TarantoolBot commented Feb 4, 2026

(This PR is a backport of #12266 to release/3.3 to a future 3.3.5 release.)


Currently rbp register is cleared in coro_init() to stop unwinding. However, despite the fact that this register is present in the clobber list, and coro.c is compiled with -fomit-frame-pointer, a compiler tries to use rbp.
It seems that zeroing out of rbp is actually not required. This patch reverts a part of commit 761053f ("coro: fix coro_{init,startup} unwind information").

Closes #12216

Currently `rbp` register is cleared in `coro_init()` to stop unwinding.
However, despite the fact that this register is present in the clobber
list, and `coro.c` is compiled with `-fomit-frame-pointer`, a compiler
tries to use `rbp`. It seems that zeroing out of `rbp` is actually not
required. This patch reverts a part of commit 761053f ("coro: fix
`coro_{init,startup}` unwind information").

Closes #12216

NO_DOC=bugfix
NO_CHANGELOG=internal
NO_TEST=hard to create a stable reproducer

(cherry picked from commit f34fbff)
@TarantoolBot TarantoolBot changed the title [Backport release/3.3] coro: do not clear rbp in coro_init [backport 3.3] coro: do not clear rbp in coro_init Feb 4, 2026
@coveralls
Copy link

Coverage Status

coverage: 87.565% (-0.01%) from 87.578%
when pulling 669c579 on backport/release/3.3/12266
into b7e1c6f
on release/3.3
.

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

Successfully merging this pull request may close these issues.

4 participants