NVIDIA / NVIDIA/stdexec

`io_uring_scheduler` can `throw` in `noexcept` functions causing termination

Open
#1,265 0 comments 0 reactions 1 assignee View on GitHub

@maikel is already working on this.

Since Feb 28, 2024.

Dominant language
C++
Stars
2.4k
Forks
270
Avg merge
3d 6h
Merged PRs (30d)
39

Description

clang-tidy found these:

/home/eniebler/Code/stdexec/include/exec/linux/io_uring_context.hpp:528:14: warning: an exception may be thrown in function 'operator()' which should not throw exceptions [bugprone-exception-escape]
  528 |         void operator()() const noexcept {
      |              ^
/home/eniebler/Code/stdexec/include/exec/linux/io_uring_context.hpp:696:19: warning: an exception may be thrown in function 'tag_invoke' which should not throw exceptions [bugprone-exception-escape]
  696 |       friend void tag_invoke(stdexec::start_t, __io_task_facade& __self) noexcept {
      |                   ^

I notice there is another one in __stop_operation::__t::__start().

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.