GPIO - Erlang GPIO interface

I started using your gpio library and it seems to work fine. However I do run in the following (expected) issue:
While developing code, I use rebar3 auto. After compiling some code changes, the process which opened a gpio line event gets a {‘EXIT’, _, killed}. On receiving the EXIT, I stop the controlling process so the its supervisor can restart it. However, I get a seqfault now.
I never dealt with nifs getting killed and handling that properly, so maybe someone can point out to me how to handle this situation?

1 Like

That doesn’t sound good. I will try to investigate. Thank you for the report.

Just so that I don’t forget, would you mind opening an issue about this on GitHub? Issues · kopera/erlang-gpio · GitHub

Thanks

1 Like