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

QtMobility access from multiple threads

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.2.x
    • 1.0.2
    • System Information
    • Symbian 3rd FP2 (E72 and E52)
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: