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

Python fatal error for a windows debug build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.3, 5.12.0
    • 5.11.1
    • Shiboken
    • None
    • cc043200068f4299cc5c6f126327bc1993486135 (pyside/pyside-setup/5.11)

    Description

      Following a discussion on the mailing list (https://lists.qt-project.org/pipermail/pyside/2018-October/002659.html),
      It seems that the windows debug build of PySide throws the fatal error
      The structure of type objects has changed!
      According to alexandru.croitor, the check probe_tp_name - check->tp_name != 0 in pep384impl.cpp is the problematic one.
      Indeed, commenting it and rebuilding PySide disables the fatal error. Maybe a string compare was meant instead of a pointer compare? Non optimized visual c++ builds don't enable stirng pooling, which might explain why it works in the other cases, but not on a windows debug build?

      Attachments

        For Gerrit Dashboard: PYSIDE-835
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            bartoli Olivier BARTHELEMY
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes