pybind / pybind/pybind11

Help to implement an unified binding tool across languages

Open
#2,960 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
18k
Forks
2.3k
Avg merge
5d 17h
Merged PRs (30d)
10

Description

I was tring to write a binding tool for multiple languages.
See: Svar, A Tiny Modern C++ Header Brings Unified Interface for Different Languages.
Now it supports binding C++11 to Python and Node.JS at the same time (more languages will be supported).
However, as I am not so familar to the Python low levels, the class binding is OK on both Linux and Macos, but on windows it leads to unkown segment fault.
Would you please help me to find out why and fix it?

Contributor guide

Open the contributing guide

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 by reproducing the Windows class-binding crash described in the Svar example, then inspect the pybind11 integration and capture a Windows stack trace. The issue names no repository files or tests, so the scope and completion criteria need to be established before implementation; done means the class binding no longer segfaults on Windows while remaining functional on Linux and macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, node.js, python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.