obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
58.9k stars 7.84k forks source link

OBS goes into broken state after trying to stop recording via WebSocket #9635

Open mbakumenkov opened 11 months ago

mbakumenkov commented 11 months ago

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

29.1.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/gpHOVHWAfiMIhVa5

OBS Studio Crash Log URL

No response

Expected Behavior

Recording stops correctly, the program continues to work normally

Current Behavior

Recording control button goes to "Stopping recording...", also, the stream indicator (the square in the lower right corner) lights up green, but the bitrate indicator shows 0 bit/s, so in fact I can`t push stream. Restarting OBS does not help, only restarting the computer helps.

Steps to Reproduce

  1. Start pushing RTMP stream
  2. Periodically start/stop recording for some time, it usually takes me 8-9 days to reproduce the bug

Anything else we should know?

OBS studio log url is shortened because of its to big. You can search through with "01:00:28.031" - its bug reproduce time

RytoEX commented 11 months ago

I don't think this is specific to obs-websocket and suspect that this would occur if you directly clicked "Stop Recording" in the UI at this time. I think the best thing that would help is to grab a memory dump of OBS while OBS is frozen. You can follow the steps here, and then find either myself (RytoEX) or Fenrir on our Discord to send the link to the file. Do not post a link to the memory dump publicly as it could contain sensitive information pertaining to OBS, such as your stream key.

mbakumenkov commented 11 months ago

I don't think this is specific to obs-websocket and suspect that this would occur if you directly clicked "Stop Recording" in the UI at this time. I think the best thing that would help is to grab a memory dump of OBS while OBS is frozen. You can follow the steps here, and then find either myself (RytoEX) or Fenrir on our Discord to send the link to the file. Do not post a link to the memory dump publicly as it could contain sensitive information pertaining to OBS, such as your stream key.

Thank you so much for ur reply! I will get dump and write you back soon!