-
Notifications
You must be signed in to change notification settings - Fork 26
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
Segfault with lazy implementation when switching context #179
Comments
Can any more information be provided as to the nature of the crash? Does it segfault, or …? |
yes, it does segfault when using lazy evaluation on mac. when using eager evaluation, it doesn't return the right result (algorithm implementation issue, not related to encore) and finishes with the expected error message, which tells you that the array is not sorted.
|
Thanks! |
Is the "when switching context" confirmed? |
I believe my statement was too general. It fails consistently in the |
Minimal program to produce the bug:
I don't think it's related to the future strategy used. |
not directly, but happens only when using the lazy strategy, since the eager doesn't need a context pool, nor calling the |
The issue is gone on my box. Anyone could confirm it? |
@albertnetymk Your minimal example passes for me, but I'm still getting a segfault (in |
It seems there are two independent problems exposed by the larger code snippet. My minimal test case only captures the GC related one. The second issue is related to |
I think this could be closed now. |
@EagiZ Could you try to run your program with the |
I can't reproduce the crashes anymore on Linux, seems to be fixed. (@kikofernandez is the author of this issue tho) |
Is this still open? Can someone try to confirm? If we cannot reproduce (90 days later) we should close this. |
I cannot reproduce it. closing |
I got some code from @EagiZ and this crashes when using the lazy implementation. it does not when using the eager implementation.
P.S. I know it's quite a lot of code and, most likely, we can reproduce the error with a smaller snippet but this is better than nothing.
list.enc
quicksort.enc
The text was updated successfully, but these errors were encountered: