bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash in plumbum module when importing .so compiled with boost.python li


From: Mikhail Matrosov
Subject: Crash in plumbum module when importing .so compiled with boost.python linked with gold
Date: Tue, 27 Jul 2021 19:52:48 +0300

I am not sure it is gold'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.

-----
Best regards, Mikhail Matrosov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]