- aptdaemon crashes in the middle of an operation. Do you get an apport crash report when this happens?
- You call the operation synchronously. This should not be done, call it async and then have aptdaemon call a result callback.
- You keep the aptdaemon d-bus object around for a long time, while aptdaemon timed out regularly (after some minutes of inactivity). However, this actually ought to result in a ServiceNotFound exception, or should even re-activate the daemon through D-BUS.
As for NoReply, there are three common causes:
- aptdaemon crashes in the middle of an operation. Do you get an apport crash report when this happens?
- You call the operation synchronously. This should not be done, call it async and then have aptdaemon call a result callback.
- You keep the aptdaemon d-bus object around for a long time, while aptdaemon timed out regularly (after some minutes of inactivity). However, this actually ought to result in a ServiceNotFound exception, or should even re-activate the daemon through D-BUS.
NB I haven't looked at the source code at all.