-
Notifications
You must be signed in to change notification settings - Fork 1
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
Is it possible to recover when the worker process segfaults? #11
Comments
I tried with |
Yes. There's lots of exception handling done in the future framework, and some of it even recoverable, but kicking workers far off the track is not automagically taken care. Before anything else, use In summary, what you're asking for is not part of the current future backend design. To support it, in general, would require looots of work. Even if it's a long-term roadmap, there are several things that need to come in place before it can be attacked. I also doubt one can cover cases such as |
Thanks for your reply ! I'm on Windows Subsystem for Linux (that behaves as Linux). I was glad enough to find that one backend could recover from segfaults. I was just surprised that it wasn't the
|
|
Yes, I have no problem understanding that. It's just that it seems to indicate that all processes use the same |
Hi,
I'm trying to launch some processes that can sometimes throw a segfault (And this can't be predicted or modified since I don't have the source code).
This MWE code is behaving has I want using
future::multiprocess
plan (i.e., return40
in the last line).But, this MWE code is not behaving has I want using
future.callr::callr
plan (i.e., throwError in readRDS(res) : error reading from connection
).Is it normal or do you have any idea why ?
Note that I'm using
future v1.15.1
andfuture.callr v0.5.0
.The text was updated successfully, but these errors were encountered: