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

Adding a service sometimes fails with UnknownError as the error code

    XMLWordPrintable

Details

    • a6ef79b0ec7bba95808d11c88c37ac3bd2c1a5f6

    Description

      When trying to add a service on *nix platforms, QServiceManger::addService() sometimes fails with an UnknownError error code.

      The problem is that the ids generated for the services use QUUid::createUuid() which in turn uses the rand() function to generate the uuids. However the rand()unction isn't being seeded properly which results in it being used to generate ids which have already been used.

      Attachments

        Activity

          People

            alexander.abramov Alexander Abramov (closed Nokia identity) (Inactive)
            abcd abcd (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: