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

Crash with KERN-EXEC 0 when QNetworkConfigurationManagerPrivate fails to connect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 4.7.2
    • Fix Version/s: 4.7.4
    • Labels:
    • Environment:
      Symbian^3
    • Commits:
      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

          Issue Links

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

            Activity

              People

              Assignee:
              shkearns Shane Kearns
              Reporter:
              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