-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quamash crashes when no network is available #42
Comments
So after analyzing the problem, it seems to be something deep. This happens when aiohttp uses Sometimes, the future is deleted, and the exception was not catched. The exception is then handled in the |
things to try: set the default executor to a concurrent.futures.ThreadPoolExecutor loop.set_default_executor(concurrent.futures.ThreadPoolExecutor(10)) Modify getaddrinfo on the event loop (say by modifying QEventLoop)
flags=0): (that is to make it synchronous, but keep the same signature) that should give you more info. On Thu, Dec 10, 2015 at 2:16 PM, Insoleet notifications@github.com wrote:
|
Thanks. Here is what I could find :
Some questions :
|
the sync version of getaddrinfo I sent you doesn't actually handle try:
flags=0): On Thu, Dec 10, 2015 at 4:46 PM, Insoleet notifications@github.com wrote:
|
When catching the exception and using
As you can see, the stacktrace is still out of the code. The exception is raised after being read in f1.result(). |
Here is a nice bug to fix...
When running our app in a network namespace without internet connexion ( https://unix.stackexchange.com/questions/68956/block-network-access-of-a-process ), quamash sometimes crashes with the following error :
The text was updated successfully, but these errors were encountered: