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

%external encoder prevents clean shutdown #3029

Closed
vitoyucepi opened this issue Apr 25, 2023 · 0 comments
Closed

%external encoder prevents clean shutdown #3029

vitoyucepi opened this issue Apr 25, 2023 · 0 comments

Comments

@vitoyucepi
Copy link
Collaborator

Describe the bug

output.icecast(%external) starts.
Liquidsoap can't stop without SIGKILL.

Logs
2023/04/25 14:59:27 [radio:3] Starting process
2023/04/25 14:59:27 [radio:3] Connecting mount radio for source@icecast...
2023/04/25 14:59:27 [radio:2] Connection failed: Not_found
2023/04/25 14:59:27 [radio:3] Closing process's stdin
2023/04/25 14:59:27 [radio:3] Process exited with code 0
2023/04/25 14:59:27 [radio:3] Cleaning up process
2023/04/25 15:03:37 [radio:3] Starting process
2023/04/25 15:03:37 [radio:3] Connecting mount radio for source@icecast...
2023/04/25 15:03:37 [radio:3] Connection setup was successful.
2023/04/25 15:03:42 [radio:2] Error while sending data: could not write data to host: Unix.Unix_error(Unix.EPIPE, "write", "")!
2023/04/25 15:03:42 [radio:3] Closing process's stdin
2023/04/25 15:03:42 [radio:3] Process exited with code 0
2023/04/25 15:03:42 [radio:3] Cleaning up process

To Reproduce

Liquidsoap config
encoder = %external(process="lame - -")
output.icecast(
  encoder,
  sine(),
  format = "audio/mpeg",
  host = "icecast",
  port = 8000,
  user = "source",
  password = "hackme",
  mount = "radio"
)

Expected behavior

Version details

  • OS: ubuntu:22.04 in docker
  • Version: 2.1.4, 2.2.0+git@01129fe

Install method
Deb package from liquidsoap releases at github

Common issues
#3019, #3020

@vitoyucepi vitoyucepi changed the title %external encoder prevents clear shutdown %external encoder prevents clean shutdown Apr 25, 2023
@toots toots closed this as completed in 1d0e4b8 Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant