-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Freeze in PlayerCore.syncUI at the start of playback #3997
Comments
AnalysisThe main thread is blocked in Main Thread
The thread for the dispatch queue com.colliderli.iina.controller
The thread for the dispatch queue com.colliderli.iina.mpvgl
The mpv core thread is updating subtitles: mpv/mpv core
It is expected that the thread for the dispatch queue That drawing is happening from threads not belonging to the Not clear how using the wrong thread for drawing would cause this problem. So there might be something else going on. Data races can cause odd problems. Need to fix all of them and see if this problem still reproduces. |
This one is interesting, at least looking at the stack traces it doesn't seem like a deadlock would be in progress.
|
System and IINA version:
Expected behavior:
IINA does not hang.
Actual behavior:
I double clicked on a movie file, IINA started up and immediately froze. CPU was being consumed. UI would not respond. I had to force quit.
This is a thread race condition. VERY difficult to reproduce. Would need to develop some sort of test script that runs IINA over and over again until the problem reproduces.
Process Sample:
Steps to reproduce:
All I did was double click on a movie file (IINA is set as the default app for .MP4).
This seems to be a thread race condition, so hard to reproduce.
I do not know if this is reproducible with mpv.
How often does this happen?
Rarely.
The text was updated successfully, but these errors were encountered: