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

Adding a service sometimes fails with UnknownError as the error code

XMLWordPrintable

    • a6ef79b0ec7bba95808d11c88c37ac3bd2c1a5f6

      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.

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes