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

scriptableapplication crashes with non-UTF-8 locale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 6.5.0
    • 6.4.2
    • PySide
    • None
    • RHEL 7 with FIPS enabled (crypto.fips_enabled = 1)
    • Linux/X11

      examples/scriptableapplication crashes on RHEL 7.9 with FIPS enabled, but does not crash on an identical RHEL 7.9 machine without FIPS enabled.  The crash occurs here:

      (gdb) bt
      #0  PyObject_SetAttrString (v=0x0, name=0x7ffff7ec1120 "Enum", w=0x0)
          at Objects/object.c:818
      #1  0x00007ffff7e992cf in _init_enum ()
          at /home/jp/Qt/pyside-setup-Qt-6.4.2-linux-g++-64-python39-pydebug-debug/sources
      /shiboken6/libshiboken/sbkenum.cpp:381
      

      The problem is the import of "shiboken6.Shiboken" returns a null ptr, leading to the crash.

      This crash does not occur when using Qt 6.2.4.

      The crash appears identical to the crash in Bug PYSIDE-2218, making it possibly related.

       

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

            crmaurei Cristian Maureira-Fredes
            jp@basissw.com J. P. Abelanet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes