Skip to content
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

Deadlock and crash in workflow #16

Open
albertolluch opened this issue Jan 6, 2018 · 2 comments
Open

Deadlock and crash in workflow #16

albertolluch opened this issue Jan 6, 2018 · 2 comments
Labels

Comments

@albertolluch
Copy link
Member

This is likely not a new bug, but a subtle one we know and that needs a fix. I in any case reporting this as a test case for the debugging and the fix.

This example sometimes deadlocks and sometimes crashes (fatal error: concurrent map writes), especially when removing time.Sleep operations:

https://github.com/pSpaces/goSpace-examples/blob/master/tutorial/workflow-0/main.go

@ghost ghost self-assigned this Jan 6, 2018
@ghost
Copy link

ghost commented Jan 6, 2018

The aggregation-policy branch has resolved the issue, but it is not merged into master.

The bug lies in typefield.go. Merging typefield.go and typefield_test.go from aggregation-policy to master should resolve this issue.

@ghost ghost changed the title deadlock and crash in worfklow Deadlock and crash in workflow Jan 6, 2018
@albertolluch
Copy link
Member Author

I guess you refer to concurrent map issue, not to the deadlock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant