obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.79k stars 701 forks source link

Seg fault on exit with websocket server enabled #1180

Closed kfitzgerald closed 5 months ago

kfitzgerald commented 7 months ago

Operating System Info

macOS 14

Other OS

macbook m2

OBS Studio Version

30.0.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/3KTwtbp1BHwwQkFL

OBS Studio Crash Log URL

https://pastebin.com/N87AtfLz

Expected Behavior

Expected: OBS exits normally, but crashes with a segfault on exit

Current Behavior

Actual: Upon exiting, OBS goes boom

Steps to Reproduce

  1. Launch OBS
  2. Enable Websocket Server
  3. Have a client connected (not sure if this is relevant, but is true in the presence of the crash)
  4. Exit OBS

Anything else we should know?

MacOS crash log attached in pastebin

Last of command line output:

info: [obs-websocket] [WebSocketServer::onClose] WebSocket client `[::ffff:127.0.0.1]:51427` has disconnected with code `1006` and reason: End of File
error: Tried to call obs_frontend_get_system_tray with no callbacks!
zsh: segmentation fault  ./OBS
tt2468 commented 5 months ago

Fixed in 0189c3a3f512ad8a38d09dc7f41c817ae6333458