Looking at ScopeImpl.cpp I'm not sure how search can throw (btw, Scope.h
docstrings don't mention throwing an exception). As far as I understand
the code, search catches all exceptions and just calls
ro->finished(CompletionDetails(CompletionDetails::Error, e.what())) on
error. But this doesn't happen with our case as far as I can tell (our
listener implementes finished() and prints a message). Also, shell code
does have try-catch around search & logs an error, but I didn't see it
in the logs - the last message we have in shell logs is "Dispatching
search: <scope id>" and it gets stuck there.

I made scopes-client tool hang by just executing search against the misbehaving 
scope with it:
$  scopes-client com.ubuntu.developer.boghison.mixcloud_mixcloudscope ""

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1511063

Title:
  Scopes freeze after few times slide on Bq 4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1511063/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to