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

Spurious build errors on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.3, 6.4
    • Build System, PySide
    • None
    • Windows

    Description

      In some Windows configurations; generate_pyi has been observed to fail. Importing the shiboken module causes errors like

      • Access violation
      • PySide6/QtCore/CMakeFiles/QtCore_pyi C:/Users/qt/work/pyside/pyside-setup/build/qfp-p3.8/build/pyside6/PySide6/QtCore/CMakeFiles/QtCore_pyi 
        Exit code 0xc0000409
        
        (0xc0000409 == STATUS_STACK_BUFFER_OVERRUN )
        

      Observed with a debug build using Python 3.10.5/ MSVC 2022 on WIndows, also in with release builds in COIN.

      (see also Forum https://forum.qt.io/topic/136746/anyone-using-shiboken6-and-visual-studio-succesfully ).

      Reproduceable on:

      • Windows 21H2 (Build 19044.1766) Pro; MSVC 2022 19.32.31329

      Not reproduceable on:

      • Windows 21H2 (Build 19044.1741) Home Edition; MSVC 2022 19.32.31329

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes