Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.1.2
-
None
-
wk 09
-
2b15ddb74099ff3a9179de0b37f8726add54b133 3955b8eb388277f62dcc122da39dda7ba7e06cd4
Description
QServiceManager:: loadInterface, sometimes, it returns NULL and console shows following messages.
[Qt Message] - response->isFinished: false
209.165 [Qt Message] finished ObjectEndPoint::waitForResponse
209.165 [Qt Message] response passed but not finished
209.165 [Qt Message] QObject::connect: Cannot connect RServiceSession::errorUnrecoverableIPCFault(QService::UnrecoverableIPCError) to (null)::errorUnrecoverableIPCFault(QService::UnrecoverableIPCError)
However, it does not happen always. Sometimes it gets the interface pointer.
I have attached the client app(helloworldclient) and service app(helloworldservice) with which I could reproduce the issue.
Steps to reproduce:
1)Run the helloworldservice and put it in backgroud.
2)Run the helloworldclient , select the first option to load the service.
The code where the loadinterface is called:
void View::openClicked() - view.cpp from helloworldclient.
Fell free to ask any queries.