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

Possible 100% CPU usage by a background thread with FFmpeg 4.2 and GnuTLS #239

Closed
zaps166 opened this issue Aug 18, 2019 · 5 comments
Closed

Comments

@zaps166
Copy link
Owner

zaps166 commented Aug 18, 2019

Aborting FFmpeg GnuTLS connection causes infinity loop inside libavformat library. When changing entries on QMPlay2 playlist background, LastFM connection for covers can be aborted causing 100% CPU usage by a background thread. In this case QMPlay2 needs to be closed.

This is regression found in 4.2 version.

See:
https://trac.ffmpeg.org/ticket/8080
https://patchwork.ffmpeg.org/patch/14550/

@zaps166 zaps166 pinned this issue Aug 18, 2019
@zaps166
Copy link
Owner Author

zaps166 commented Sep 3, 2019

To workaround this issue on Arch Linux or Manjaro Linux, please use qmplay2-bin package from AUR.

@zaps166
Copy link
Owner Author

zaps166 commented Apr 25, 2020

Already fixed on ffmpeg master.

@zaps166
Copy link
Owner Author

zaps166 commented Jul 16, 2020

FFmpeg 4.3.1 is already available in Arch Linux repository.

@hooke007
Copy link

hooke007 commented Feb 25, 2021

Still 100% here. Tested the latest release version (win64). It cannot start and finally led to my device‘s crash.
Snipaste_2021-02-25_19-14-59
Snipaste_2021-02-25_19-17-45

@zaps166
Copy link
Owner Author

zaps166 commented Feb 25, 2021

@hooke007

This issue is for GnuTLS (not used on Windows, Linux only), FFmpeg 4.2.x only and special case when connection is aborted on connecting state.


I need more details, maybe create a new issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants