Crash in plumbum module when importing .so linked with gold
まだ誰も着手していません。
評価
調査の方向性
リンクされている plumbum-crash-repro リポジトリから開始し、plumbum/commands/processes.py の 286 行目付近で発生するシャットダウン時のクラッシュを再現してください。Boost.Python 拡張をインポートした場合と、clang および gold リンカーの下でロードしないままにした場合を比較してください。説明されている構成でクラッシュを特定して解決し、再現によってクリーンなシャットダウンが確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C++
- スター
- 537
- フォーク
- 223
- 平均マージ
- 11時間 22分
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
boostorg/python のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
BoostDetectToolset-1.90.0.cmake file not found in an include() call in boost_python-config.cmake オープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
boostorg/python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
objectionary/eo-graphs#74 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
QuantStack/git2cpp#187 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100