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

crash in signalInstanceConnect()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 1.1.2, 1.2.0
    • PySide
    • None

    Description

      Run attached bug.py, the application will crash.
      On Windows, I got backtrace:
      > python27_d.dll!PyObject_GetAttrString(_object * v, const char * name) Line 1128 + 0x9 bytes C
      pyside-python2.7-dbg_d.dll!signalInstanceConnect(_object * self, _object * args, _object * kwds) Line 373 + 0x1a bytes C++
      python27_d.dll!PyCFunction_Call(_object * func, _object * arg, _object * kw) Line 85 + 0x13 bytes C
      python27_d.dll!call_function(_object * * * pp_stack, int oparg) Line 4021 + 0xc9 bytes C

      The crash occurs at catView.selectionModel().selectionChanged.connect(selectionChanged).

      The bug was introduced in PySide 1.1.2. With PySIde 1.1.1, the attached script runs OK. PySide 1.2 still has this bug.

      Attachments

        1. bug.py
          4 kB
        2. test.ui
          35 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            wuni Nian Wu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes