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

Segfault caused by setApplicationProxyFactory()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 1.2.x, dev
    • Fix Version/s: dev
    • Component/s: PySide
    • Labels:
    • Environment:
      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

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes