We have a Qt (in Symbian) UI application offering a service as well. It is seen that there is a (CONE 28 Panic) when ever this service is started for the first time.
After dismissing the panic note the Service Starts up. Sometimes multiple panic notes are seen before the service can start.
The Panic is coming because the QT Service Framework attempts to connect to the service and if it fails to connect the first time the connect is
Called in a loop (see .. QRemoteServiceRegisterPrivate::proxyForService() ). RServiceSession::Connect() Should have worked the first time itself
but in the case of a UI service the service application will use QApplication and QApplication creation triggers a Rendezvous and StartServer() returns much
before the Service is published. So connect fails.
When StartServer() tries to start the application again the second time QApplication creation panics ( @ QtEikonEnv:: ConstructAppFromCommandLineL()).
Maybe because of a timing issue the problem is so far seen only on Emulator.
Also if an application tries to publish multiple services then each PublishEntries() is resulting in a call to Rendezvous() (@ QRemoteServiceRegisterSymbianPrivate::publishServices() ).
This can be a problem right?. If the client was connecting to the second service then its StartServer() will return but connect will fail and Process will be started again .