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

Plugin crash fixes! #6570

Merged

Conversation

rustyrussell
Copy link
Contributor

It started with "plugin still in listplugins after it fails to exec" and escalated to "we can kill all our processes"!

Copy link
Contributor

@niftynei niftynei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested the start plugin path, works for me.

@@ -0,0 +1,15 @@
#!/some/bad/path/to/python3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, classic user error here

@rustyrussell
Copy link
Contributor Author

Fixed up missing commit message...

@rustyrussell rustyrussell force-pushed the guilt/plugin-crash-go-away branch from 764a64c to 31c1694 Compare August 16, 2023 05:29
…plugin startdir`

It hits the new assert(): before that (tested!) it actually kills everything and logs you out.

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell force-pushed the guilt/plugin-crash-go-away branch from 31c1694 to 815af46 Compare August 16, 2023 07:27
…es not put it in plugins list.

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell force-pushed the guilt/plugin-crash-go-away branch from 815af46 to 05aabe9 Compare August 17, 2023 00:48
Reported-by: @niftynei
Signed-off-by: Rusty Russell <[email protected]>
Changelog-Fixed: Plugins: we clean up properly if a plugin fails to start, and we don't kill all processes if it's from `plugin startdir`.
@rustyrussell rustyrussell force-pushed the guilt/plugin-crash-go-away branch from 05aabe9 to 538492b Compare August 17, 2023 10:20
@rustyrussell rustyrussell merged commit f4e2d9a into ElementsProject:master Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants