Search code examples
pythonpysidestability

Is PySide 1.2.4 stable? The newest release is crashing with an odd Error


I spent a week debugging a problem that got Python to crash (not give a scripting error, literally crash its VM) due to a random error.

After tracking this for days using procdump, I found that PySide 1.2.4 is causing the problem. Is their stable version unstable?


Solution

  • According to pip standards, a stable release has to be put when a normal installation command is given, hence

    pip install pyside
    

    should provide a stable version. I spent a week debugging a problem that got Python to crash (not give a scripting error, literally crash its VM) due to a random error. After tracking this for days using procdump, I found that PySide is causing the problem. Following is the bug extracted from the dump file using WinDbg:

    enter image description here

    I went there to report the issue, and got shocked to find that the current standard version provided by pip/pypi (1.2.4) is not even stable! It's the dev version!!! Check this screenshot from their reporting website:

    enter image description here

    Of course PySide is not for free for commercial purposes, so are they using people's resources to test their dev version without telling them? This is so unethical and I don't want others to fall in the same trap I had. Please be aware of this!

    Hence, when you install PySide with pip, use this command:

    pip install pyside==1.2.2
    

    Version 1.2.2 seems fairly stable with no such problems. Don't forget to uninstall the current version of PySide before installing the new one using that command.

    Hope this helps.