Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Crash in plumbum module when importing .so linked with gold

Open
#370 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, python
Domain
backend

Research direction

Start with the linked plumbum-crash-repro repository and reproduce the shutdown crash in plumbum/commands/processes.py around line 286. Compare importing the Boost.Python extension with leaving it unloaded under clang and the gold linker. Done means identifying and resolving the crash in the described configuration, with the reproduction confirming clean shutdown.

Written by the indexing model from the issue text.

Description

I am not sure it is boost.python's fault, since there are a lot of variables in the equation, but please take a look.

I prepared the repro case and gathered some info in this repo: https://github.com/mmatrosov/plumbum-crash-repro

In short, if you import an extension library in c++ which uses boost.python, compiles with clang and links with gold, there is a crash in this line https://github.com/tomerfiliba/plumbum/blob/master/plumbum/commands/processes.py#L286 during program shutdown. It does not happen if the extension is not loaded, and I've never experienced this crash even though plumbum is widely used in our scripts.

Dominant language
C++
Stars
537
Forks
223
Avg merge
11h 22m
Merged PRs (30d)
2

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.

More from boostorg/python

All issues in boostorg/python

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.