Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1487

Windows debug build of dev (6.1) fails due to refcount errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.4
    • None
    • PySide, Shiboken
    • None
    • Windows
    • ddb03b40f311a9c34b599136ac1cb0324f6b2b42 (pyside/pyside-setup/dev) 4ca5aefe4f6e05eba4d73a93620134e37ac5f1d6 (pyside/tqtc-pyside-setup/5.15)

    Description

      cmd.exe /C "cd /D C:\dev\pyside\pyside-setup-devt\testenv38_devt3dp_build\py3.8-qt6.1.0-64bit-debug\pyside6\PySide6\QtCore 
        && "C:\Program Files\CMake\bin\cmake.exe" -E env 
      
      C:/dev/pyside/testenv38_devt/Scripts/python_d.exe 
        C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtCore/../support/generate_pyi.py QtCore 
        --sys-path C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_build/py3.8-qt6.1.0-64bit-debug/pyside6 
      
      C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_install/py3.8-qt6.1.0-64bit-debug/Lib/site-packages/shiboken6 --quiet"
      
      D:\a\1\s\Modules\gcmodule.c:110: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too small
      Enable tracemalloc to get the memory block allocation traceback
      
      object address  : 0000023BFE06DB30
      object refcount : 232
      object type     : 00007FF996FD2700
      object type name: type
      object repr     : <class 'Shiboken.Enum'>
      
      Fatal Python error: _PyObject_AssertFailed
      Python runtime state: initialized
      
      Current thread 0x0000183c (most recent call first):
        File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
        File "<frozen importlib._bootstrap_external>", line 1101 in create_module
        File "<frozen importlib._bootstrap>", line 556 in module_from_spec
        File "<frozen importlib._bootstrap>", line 657 in _load_unlocked
        File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 991 in _find_and_load
        File "C:\dev\pyside\pyside-setup-devt\testenv38_devt3dp_install\py3.8-qt6.1.0-64bit-debug\lib\site-packages\shiboken6\files.dir\shibokensupport\__feature__.py", line 140 in _import
        File "C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtCore/../support/generate_pyi.py", line 219 in generate_pyi
        File "C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtCore/../support/generate_pyi.py", line 301 in generate_all_pyi
        File "C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtCore/../support/generate_pyi.py", line 322 in <module>
      [203/1029] cmd.exe /C "cd /D C:\dev\pyside\pyside-setup-devt\testenv38_devt3dp_build\py3.8-qt6.1.0-64bit-debug\pyside6\PySide6\QtConcurrent && "C:\Program Files\CMake\bin\cmake.exe" -E env "PATH=C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_build/py3.8-qt6.1.0-64bit-debug/pyside6/libpyside;C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_install/py3.8-qt6.1.0-64bit-debug/bin;C:/dev/pyside/testenv38_devt/Scripts;C:/opt/LLVM10_64/bin;C:/dev/qt-dev/install-qt-dev/bin;C:/dev/qt-dev/qt-dev/qtbase/bin;C:/dev/qt-dev/qt-dev/qtrepotools/bin;c:/dev/qt-515/gnuwin32/bin;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE//Extensions/Microsoft/IntelliCode/CLI;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/HostX64/x64;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/VC/VCPackages;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/MSBuild/Current/bin/Roslyn;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Team Tools/Performance Tools/x64;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Team Tools/Performance Tools;C:/Program Files (x86)/Microsoft Visual Studio/Shared/Common/VSPerfCollectionTools/vs2019//x64;C:/Program Files (x86)/Microsoft Visual Studio/Shared/Common/VSPerfCollectionTools/vs2019;C:/Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x64;C:/Program Files (x86)/Windows Kits/10/bin/x64;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional//MSBuild/Current/Bin;C:/Windows/Microsoft.NET/Framework64/v4.0.30319;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/Tools;C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python37_64;C:/Python38/Scripts;C:/Python38;C:/Perl64/site/bin;C:/Perl64/bin;C:/Windows/system32;C:/Windows;C:/Windows/System32/Wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Windows/System32/OpenSSH;C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common;C:/Program Files/NVIDIA Corporation/NVIDIA NvDLISR;C:/Program Files/Git/cmd;C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL;C:/Program Files/Intel/Intel(R) Management Engine Components/DAL;C:/Program Files/CMake/bin;C:/Program Files/dotnet;C:/Python39/Scripts;C:/Python39;C:/Users/Friedemann/AppData/Local/Microsoft/WindowsApps;C:/Users/Friedemann/.dotnet/tools;c:/bin;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/VC/Linux/bin/ConnectionManagerExe" C:/dev/pyside/testenv38_devt/Scripts/python_d.exe C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtConcurrent/../support/generate_pyi.py QtConcurrent --sys-path C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_build/py3.8-qt6.1.0-64bit-debug/pyside6 C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_install/py3.8-qt6.1.0-64bit-debug/Lib/site-packages/shiboken6 --quiet"
      FAILED: PySide6/QtConcurrent/CMakeFiles/QtConcurrent_pyi 
      cmd.exe /C "cd /D C:\dev\pyside\pyside-setup-devt\testenv38_devt3dp_build\py3.8-qt6.1.0-64bit-debug\pyside6\PySide6\QtConcurrent && "C:\Program Files\CMake\bin\cmake.exe" -E env "PATH=C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_build/py3.8-qt6.1.0-64bit-debug/pyside6/libpyside;C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_install/py3.8-qt6.1.0-64bit-debug/bin;C:/dev/pyside/testenv38_devt/Scripts;C:/opt/LLVM10_64/bin;C:/dev/qt-dev/install-qt-dev/bin;C:/dev/qt-dev/qt-dev/qtbase/bin;C:/dev/qt-dev/qt-dev/qtrepotools/bin;c:/dev/qt-515/gnuwin32/bin;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE//Extensions/Microsoft/IntelliCode/CLI;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/HostX64/x64;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/VC/VCPackages;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/MSBuild/Current/bin/Roslyn;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Team Tools/Performance Tools/x64;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Team Tools/Performance Tools;C:/Program Files (x86)/Microsoft Visual Studio/Shared/Common/VSPerfCollectionTools/vs2019//x64;C:/Program Files (x86)/Microsoft Visual Studio/Shared/Common/VSPerfCollectionTools/vs2019;C:/Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x64;C:/Program Files (x86)/Windows Kits/10/bin/x64;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional//MSBuild/Current/Bin;C:/Windows/Microsoft.NET/Framework64/v4.0.30319;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/Tools;C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python37_64;C:/Python38/Scripts;C:/Python38;C:/Perl64/site/bin;C:/Perl64/bin;C:/Windows/system32;C:/Windows;C:/Windows/System32/Wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Windows/System32/OpenSSH;C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common;C:/Program Files/NVIDIA Corporation/NVIDIA NvDLISR;C:/Program Files/Git/cmd;C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL;C:/Program Files/Intel/Intel(R) Management Engine Components/DAL;C:/Program Files/CMake/bin;C:/Program Files/dotnet;C:/Python39/Scripts;C:/Python39;C:/Users/Friedemann/AppData/Local/Microsoft/WindowsApps;C:/Users/Friedemann/.dotnet/tools;c:/bin;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja;C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/VC/Linux/bin/ConnectionManagerExe" C:/dev/pyside/testenv38_devt/Scripts/python_d.exe C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtConcurrent/../support/generate_pyi.py QtConcurrent --sys-path C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_build/py3.8-qt6.1.0-64bit-debug/pyside6 C:/dev/pyside/pyside-setup-devt/testenv38_devt3dp_install/py3.8-qt6.1.0-64bit-debug/Lib/site-packages/shiboken6 --quiet"
      D:\a\1\s\Modules\gcmodule.c:110: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too small
      Enable tracemalloc to get the memory block allocation traceback
      
      object address  : 000002523B15D050
      object refcount : 232
      object type     : 00007FF996FD2700
      object type name: type
      object repr     : <class 'Shiboken.Enum'>
      
      Fatal Python error: _PyObject_AssertFailed
      Python runtime state: initialized
      
      Current thread 0x000017fc (most recent call first):
        File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
        File "<frozen importlib._bootstrap_external>", line 1101 in create_module
        File "<frozen importlib._bootstrap>", line 556 in module_from_spec
        File "<frozen importlib._bootstrap>", line 657 in _load_unlocked
        File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 991 in _find_and_load
        File "C:\dev\pyside\pyside-setup-devt\testenv38_devt3dp_install\py3.8-qt6.1.0-64bit-debug\lib\site-packages\shiboken6\files.dir\shibokensupport\__feature__.py", line 140 in _import
        File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
        File "<frozen importlib._bootstrap_external>", line 1101 in create_module
        File "<frozen importlib._bootstrap>", line 556 in module_from_spec
        File "<frozen importlib._bootstrap>", line 657 in _load_unlocked
        File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 991 in _find_and_load
        File "C:\dev\pyside\pyside-setup-devt\testenv38_devt3dp_install\py3.8-qt6.1.0-64bit-debug\lib\site-packages\shiboken6\files.dir\shibokensupport\__feature__.py", line 140 in _import
        File "C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtConcurrent/../support/generate_pyi.py", line 219 in generate_pyi
        File "C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtConcurrent/../support/generate_pyi.py", line 301 in generate_all_pyi
        File "C:/dev/pyside/pyside-setup-devt/sources/pyside6/PySide6/QtConcurrent/../support/generate_pyi.py", line 322 in <module>
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ctismer Christian Tismer
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes