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

Elixir GenStage crashes when receiving demand from Ergo #103

Closed
okkdev opened this issue May 9, 2022 · 2 comments
Closed

Elixir GenStage crashes when receiving demand from Ergo #103

okkdev opened this issue May 9, 2022 · 2 comments
Labels

Comments

@okkdev
Copy link

okkdev commented May 9, 2022

Describe the bug
Elixir GenStage crashes when receiving demand from Ergo.
Error:

[error] GenServer Producer terminating
** (FunctionClauseError) no function clause matching in GenStage.maybe_producer_cancel/2

To Reproduce
I made a small repo with the reproduction steps:
https://github.com/okkdev/ergo_elixir_genstage_issue

Expected behavior
Have the Elixir Producer handle the demand and Ergo do the work.

Environment (please complete the following information):

  • Arch: arm64
  • OS: macOS
  • Framework Version v1.999.210
  • Number of CPU: 10
@halturin
Copy link
Collaborator

halturin commented May 9, 2022

Thanks for the detailed report. I'll take a look

@halturin
Copy link
Collaborator

fixed in 2.1.1

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

2 participants