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

Segfault caused by setApplicationProxyFactory()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0
    • 1.2.x
    • PySide
    • Fedora 19 x86_64 pyside 1.2.0

    Description

      Program segfaults when the application-wide QNetworkProxyFactory set using setApplicationProxyFactory() is deleted due to either application exiting or calling setApplicationProxyFactory() again with a different QNetworkProxyFactory instance.

      The segfault happens at `delete applicationLevelProxyFactory` in kernel/qnetworkproxy.cpp (both occurrences), which means pyside does not set the correct cpp wrapper (or atleast a deletable cpp wrapper) returned by pythonToCpp.

      This means setApplicationProxyFactory() cannot be used at all, as it is certain to cause segfault.

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            pankajp Pankaj Pandey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes