-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Uncaught exception #873
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
Comments
reading #753, I also tried to use the
|
The only thing that worked reliably so far is a custom scope that just swallows such uncaught exceptions:
I hope this is a bug and not intentionally. |
on slack I was redirected to #830. It seems the original problem we face is exactly as explained there. The mentioned task, that is triggered via the actor, is executing requests via OkHttp. However I think the test cases expose another flaw/bug, as they don't use any |
It seems related to #830 or to #893 -- the latter is a minimized example that combines |
Closing as outdated and most likely fixed. |
We have a repetitive task in our android app that is implemented with coroutines. At any given point in time, there should be only one of these tasks running. So we serialized it with an actor:
With our latest release we are seeing reports of crashes that should have been caught by the try catch in the actor. At first I thought that it must have originated somewhere different, but I could not find any other source. So I started to write a test to see if there is a problem:
running
actorTest
/asyncTest
/launchTest
separately (running the whole test it seems to work fine) I get every now and then a case were the uncaught exception handler is triggered:Actor
Async
Launch
I tried the different launch/async/actor approaches as I guessed why misunderstood the launc/async error handling concept. Sadly the test don't trigger the behavior reliably. Is this a bug or misunderstanding of the error handling?
The text was updated successfully, but these errors were encountered: