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

MediaMTX crashes occasionally when publishing AV1 over WEBRTC #2166

Closed
1 of 13 tasks
Managor opened this issue Aug 7, 2023 · 4 comments
Closed
1 of 13 tasks

MediaMTX crashes occasionally when publishing AV1 over WEBRTC #2166

Managor opened this issue Aug 7, 2023 · 4 comments
Labels
bug Something isn't working webrtc

Comments

@Managor
Copy link

Managor commented Aug 7, 2023

Which version are you using?

v0.23.8

Which operating system are you using?

  • Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

I have not been able to reproduce this crash reliably so a journalctl crash logs are all I have. This crash happens when I publish AV1 video over with RTSP and open it with WebRTC. I am not sure if it's the opening and closing of the browser window that's causing the crashes or something else.

I have two different logs:
crashlog.txt
crashlog2.txt

mediamtx.yml:
mediamtx.yml.txt

Describe how to replicate the issue

  1. I do not know

Did you attach the server logs?

yes

Did you attach a network dump?

no

@aler9
Copy link
Member

aler9 commented Aug 7, 2023

Hello, thanks for reporting the crashes. The second one is caused by these non-standard HTTP requests with an absolute URL in place of the path, and is fixed by #2169

OPTIONS http://localhost HTTP/1.1
Host: localhost:8889
Accept-Encoding: gzip
User-Agent: Go-http-client/1.1

@aler9
Copy link
Member

aler9 commented Aug 7, 2023

The bug that causes first crash is not present on v0.23.8 but is present on v0.23.7, since line webrtc_manager.go:395 is empty in v0.23.8, and has already been fixed by #2072 in v0.23.8.

Next time please report the two bugs in two separate issues.

@Managor
Copy link
Author

Managor commented Aug 7, 2023

They arose from similar circumstances so I assumed they were related. Anyways, thank you. I'll compile the latest version and report any new crash I encounter.

Copy link
Contributor

github-actions bot commented Feb 9, 2024

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working webrtc
Projects
None yet
Development

No branches or pull requests

2 participants