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

Entry object not deleted in service process after calling desctructor from application process

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.1.1
    • 1.1.0
    • Service Framework
    • None
    • Qt 4.7.1
    • 53ac5caaf4f6b70c82a01f8d884c8c2f024be782

    Description

      Steps to reproduce:
      1. Apply modifications from attached zip files:

      • add destructor for EchoService ( examples\sfwecho\sfwecho_service\main.cpp ) + qDebug
      • set don't quit on last instance closed to false
      • extended debug logs added to serviceframework: instancemanager.cpp, objectendpoint.cpp
        2. Run service client
        3. Exit service client

      Expected results:
      Echo service process is running. EchoService object is deleted.

      Actual results:
      Echo service process is running. EchoService object isn't deleted.

      Other info:

      • deleteLater is called on EchoService object in ObjectEndPoint::disconnected but destructor isn't called in event loop.
      • works as expected on qt 4.7.1 win32
      • sfwecho.log file attached.

      Attachments

        1. qt-mobility1.1_debug_logs_extended.zip
          14 kB
          Piotr Wycisk
        2. sfwecho.log
          27 kB
          Piotr Wycisk

        Activity

          People

            stanleyj Andrew Stanley-Jones (closed Nokia identity) (Inactive)
            piotrwycisk Piotr Wycisk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: