Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18572

Crash with KERN-EXEC 0 when QNetworkConfigurationManagerPrivate fails to connect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4
    • 4.7.2
    • Symbian^3
    • 9ceac782c62e889852bfc1f72840d838ba98ebff,756d289e08e75142e92e6e4472de8ad52cdcdc9a

    Description

      Moved from RC:

      See Mobile crash defect 271737.

      If the connection fails on line 091 of the constructor.

      074 QNetworkConfigurationManagerPrivate::QNetworkConfigurationManagerPrivate()
      ...
      078 {
      ...
      091 TRAP_IGNORE(iConnectionMonitor.ConnectL());
      ...

      The destructor calls CancelNotifications() which itself calls CancelReceiveEvent() which makes a SendReceive() call on the client server connection - but as the ConnectL() failed this will cause a KERN-EXEC 0

      127 QNetworkConfigurationManagerPrivate::~QNetworkConfigurationManagerPrivate()
      ...
      150 iConnectionMonitor.CancelNotifications();
      151 iConnectionMonitor.Close();

      Please do not ignore error codes (or leaves - which are errors).

      Please fix.

      Attachments

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

        Activity

          People

            shkearns Shane Kearns
            tero Tero Kuutti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes