Summary: | segfault on import in python3 | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> |
Component: | python3-module-CTK | Assignee: | morozovaes <morozovaes> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | major | ||
Priority: | P5 | CC: | rider |
Version: | unstable | ||
Hardware: | x86_64 | ||
OS: | Linux |
Description
Ivan Zakharyaschev
2023-06-02 05:06:49 MSK
No, it's not related to python3 being statically linked to libpython3 now: the crash is also present in p9, where python3 was dynamically linked to libpython3. Это надо чинить одновременно с обновлением slicer You're right, it's absolutely unrelated to changes in ALT-linking; this issue originates in CTK upstream: any attempt to import PythonQt modules outside of a Qt application produces a segfault: https://github.com/commontk/CTK/pull/520 The current solution as of commit https://github.com/commontk/CTK/commit/a203172b634253cc3717346de30305ffe721d91c and further is to skip such imports by standalone python interpreter. It will be included it the next CTK package release. |