[block & solution] thread is blocked because of browser source #467

Open
opened 2024-11-21 00:53:35 -06:00 by walker-WSH · 0 comments
walker-WSH commented 2024-11-21 00:53:35 -06:00 (Migrated from github.com)

Operating System Info

Windows 11

Other OS

MAC

OBS Studio Version

30.2.3

OBS Studio Version (Other)

30.2

OBS Studio Log URL

none

OBS Studio Crash Log URL

none

Expected Behavior

no UI block

Current Behavior

I meet a block, but not reproduced again

Steps to Reproduce

MAC os

UI thread :
1732171717

obs_graphics_thread:
1732171775

Anything else we should know?

Suggest:
for mac os, should ProcessCef be called in browser::tick instead of browser::render ?
because in render function, so many locks have been hold before.
in tick function, there is no additional lock being hold that is more safe

by the way, I can't reproduce this issue.

### Operating System Info Windows 11 ### Other OS MAC ### OBS Studio Version 30.2.3 ### OBS Studio Version (Other) 30.2 ### OBS Studio Log URL none ### OBS Studio Crash Log URL none ### Expected Behavior no UI block ### Current Behavior I meet a block, but not reproduced again ### Steps to Reproduce MAC os UI thread : ![1732171717](https://github.com/user-attachments/assets/094628e6-81e7-45b5-abd4-3d3ec566b261) obs_graphics_thread: ![1732171775](https://github.com/user-attachments/assets/0bb712ac-b961-4af9-902f-1ff8e2137ec8) ### Anything else we should know? **Suggest**: for mac os, should `ProcessCef` be called in `browser::tick` instead of `browser::render` ? because in render function, so many locks have been hold before. in tick function, there is no additional lock being hold that is more safe by the way, I can't reproduce this issue.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-obsproject/obs-browser#467
No description provided.