NVIDIA / NVIDIA/stdexec

Segmentation fault and compiler flags

Open
#2,128 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am using Linux Raccoon 26.04 and vscode with cmake add-in. The gcc version is 15.
According to readme file included, I used the manual mode by adding as subdirectory and target link. And sample code in readme file for testing purpose. After compiling and running I got a segmentation fault.

Another issue is about execution header which cause intellisense problem. By changing following precessor to zero the problem resolved.

#define STDEXEC_MSVC_HEADERS() 1

One more point, if using as header only, the compiler error says require c++20.

I compiled all examples and tested randomly without any issue. But my simple project does not.

Any help would be appreciated.
Tks

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.

Research direction

Start with the README's manual-mode and header-only examples, using the reported Linux Raccoon 26.04, GCC 15, CMake, and VS Code setup. Reproduce the simple-project segmentation fault and investigate the STDEXEC_MSVC_HEADERS() IntelliSense behavior and C++20 diagnostic. Done means the failure is isolated with a minimal reproduction and the affected configuration or project behavior is clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, vscode
Domain
build-system, compilers, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.