Closed PumpingPixels closed 4 years ago
Never mind, easy solution was just uninstalling the standalone shiboken2 package. Seems to work fine now across all versions of host applications.
Glad to hear you found a solution, you are most likely spot on with your standalone shiboken2
package. It's likely an issue with PySide2 being built with one compiler, version and set of flags, whereas your standalone shiboken2
package was built differently. That's bound to cause these kinds of issues.
If you for did want your own shiboken2
package, you would likely need to build it for each DCC individually, following the compiler instructions for each of them. Maya for example has very specific requirements on each platform and version of Maya.
Hey there, I recently noticed that in older versions of Nuke and Mari, that I occasionally have to use for various reasons, using Qt.py leads to a segmentation fault induced crashes on Linux (CentOS 7.8.2003).
I reproduced this behavior with Nuke 11.1v1 and Mari 4.0v2 which both use Python 2.7.13, while latest Nuke uses 2.7.16, I can't tell for Mari as I have no ongoing maintenance. With these older applications Qt.py works fine up until 1.0.0, while every version beginning with 1.1.0.b1 will lead to a Segmentation fault after running "import Qt" in the host application's Python console.
I have little experience with debugging those kind of issues but I tried to get the stack backtrace with valgrind which gives the following output:
Which is then followed by a very long list of "1 errors in context x of 477" and mostly redundant information. It seems that shiboken2 is causing the problem, importing it directly will crash Nuke 11.1v1 as well. Unfortunately, I have little experience how to further investigate this issue from here. Any help would be appreciated.
Thanks and stay healthy, Til