-
Notifications
You must be signed in to change notification settings - Fork 19
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
powermand: device_tcp.c:266: tcp_disconnect: Assertion `dev->magic == DEV_MAGIC' failed #106
Comments
|
garlick
added a commit
to garlick/powerman
that referenced
this issue
Feb 4, 2024
Problem: an assertion failure is seen when powermand tears down with a tcp-connected device: powermand: device_tcp.c:266: tcp_disconnect: Assertion `dev->magic == DEV_MAGIC' failed. This is because dev_destroy sets dev->magic = 0 before it calls dev->disconnect. When dev->disconnect points to tcp_disconnect() the assertion triggers. Fixes chaos#106
garlick
added a commit
to garlick/powerman
that referenced
this issue
Feb 4, 2024
Problem: an assertion failure is seen when powermand tears down with a tcp-connected device: powermand: device_tcp.c:266: tcp_disconnect: Assertion `dev->magic == DEV_MAGIC' failed. This is because dev_destroy sets dev->magic = 0 before it calls dev->disconnect. When dev->disconnect points to tcp_disconnect() the assertion triggers. Fixes chaos#106
chu11
pushed a commit
to chu11/powerman
that referenced
this issue
Apr 4, 2024
Problem: an assertion failure is seen when powermand tears down with a tcp-connected device: powermand: device_tcp.c:266: tcp_disconnect: Assertion `dev->magic == DEV_MAGIC' failed. This is because dev_destroy sets dev->magic = 0 before it calls dev->disconnect. When dev->disconnect points to tcp_disconnect() the assertion triggers. Fixes chaos#106
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem: powermand hits an assertion failure on exit when connected to a remote tcp device.
Also, not sure why the shell
wait
isn't failing (one waits for powermand, one waits for vpcd)The text was updated successfully, but these errors were encountered: