Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1058

QtMobility access from multiple threads

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.2.x
    • Component/s: System Information
    • Labels:
    • Environment:
      Symbian 3rd FP2 (E72 and E52)
    • Commits:
      a1be8f1d113e30c45452534a726a9ed1a4a8ea62 a469c779be9d1d1f58859904b52230f8217cf911

      Description

      Seems to be some problem when accessing System information from multiple threads. Can't find anywhere that this is not supported. Creating a QSystemDeviceInfo in main thread and then create another thread that creates a QSystemNetworkInfo it will crash. However if you create and delete QSystemNetworkInfo in main thread it will work to create it in the other thread but then some signals fail to be sent (maybe another issue).

      Think this could be due to that some static members are created first time the QSystemDeviceInfo/QSystemNetworkInfo is created.

      Posted a simple application that will crash. But will work if you uncomment one line in MainWindow.cpp. Note that it can't be signed with self-signed as it needs QSystemNetworkInfo.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              satu.m.makela satu makela
              Reporter:
              henrik.antonsson Henrik Antonsson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes