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

Crash on connect to currentRowChanged slot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 1.1.2
    • PySide
    • None
    • Bug appeared after the update Kubuntu 13.04. On Kubuntu 12.04 and 12.10 all work ok.
      PySide 1.1.2
      Qt 4.8.4
      Python 2.7.4
      Linux dndred-home 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

    Description

      from PySide2.QtGui import QApplication, QTableView, QStandardItemModel
      def c():
      pass
      app = QApplication(["test", ])
      table = QTableView()
      model = QStandardItemModel()
      table.setModel(model)
      #Crush heare
      table.selectionModel().currentRowChanged.connect(c)
      table.show()
      app.exec_()

      Error:
      [ 6066.596133] python[4533]: segfault at 22 ip 00007f22246e36ef sp 00007fffcde5eb60 error 4 in libshiboken-python2.7.so.1.1.2[7f22246d7000+2e000]
      Without row "table.selectionModel().currentRowChanged.connect(c)" program run ok.

      Attachments

        Issue Links

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

          Activity

            People

              ctismer Christian Tismer
              dndred Andrey Danilov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes