Async methods linger if daemon fails to start
Bug #986230 reported by
Michal Hruby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libzeitgeist |
Fix Committed
|
Medium
|
Siegfried Gevatter |
Bug Description
If the daemon fails to start (it is installed, but running it returns an error), the dbus proxy inside libzeitgeist will remain to be NULL, so all async calls will be queued and they'll never return.
A similar issue was fixed some time ago, but in that case zeitgeist wasn't installed at all and therefore the proxy was set to a non-NULL object, so the calls properly fail in that case.
Related branches
lp://staging/~rainct/libzeitgeist/986230
- Michal Hruby (community): Needs Fixing
-
Diff: 201 lines (+69/-10)2 files modifiedconfigure.ac (+1/-1)
src/zeitgeist-log.c (+68/-9)
Changed in libzeitgeist: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.3.20 |
To post a comment you must log in.
HOW TO REPRODUCE find-events from the libzeitgeist source directory and see it return a list of URIs. dbus-1/ services/ org.gnome. zeitgeist. service and change the Exec= line to some nonsense. find-events again. It'll show a LibZeitgeist error an hang on idefinitely (instead of aborting).
1. Run ./examples/
2. Open /usr/share/
3. Stop the Zeitgeist daemon with "zeitgeist-daemon -q".
4. Run ./examples/