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
OTP-23: Concuerror crashed #312
Comments
|
Hi @essen, We are aware that Concuerror has issues with 23, but thanks for your report anyway! In fact, today I was discussing with @aronisstav that we should support 23.0 and opened #311 as a first step in this purpose. We will be working on it and I expect that once that PR is merged, it will also fix this issue. |
|
Hello! Sorry I meant to open this for a few days and had not double checked the PRs opened since. |
|
No worries -- in fact, we now have one more test case! |
|
After enabling some more debug printouts and normalising some outputs I can see that the diff between 22.0 and 23.0 in this test starts as: In 23.0: This is a note for myself, mainly. I continue looking... |
|
Sigh... receive seems to be indeed "broken". New testcase: -module(foo).
-export([test/0]).
test() ->
Fun =
fun() ->
receive
ok -> ok
end
end,
spawn(Fun) ! ok. |
|
I'm not sure whether this is the culprit or not, but in 23, there is a new primop |
|
Short update: in 23.0, How to fix this:
|
|
Small update: I now have a new instrumenter which runs the |
|
Continuing discussion about this on #311 ... |
|
Done and merged! I chose to not include the submitted code as a new test case as it was not telling us anything that the other tests weren't already telling us. I verified that the submitted code now produces three interleavings, all deadlocked. I will therefore close this issue, and ask you to try the latest master version! |
|
Thanks! |
What works in OTP-22 doesn't in OTP-23.
Example module:
Run with:
Results in "Concuerror crashed":
With OTP-22 I instead get 3 errors related to the processes getting deadlocked (expected because I didn't write a very good test).
The text was updated successfully, but these errors were encountered: