Skip to content

OBS Studio 32.1.0 crashes after shutdown #13248

Closed

Description

@MrDummyNL

Operating System Info

Windows 11

Other OS

Windows 11

OBS Studio Version

32.1.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/2BUMxBeBRPW5lBi9

OBS Studio Crash Log URL

https://obsproject.com/logs/crashes/WQX05Dz2Lh91z1o3

Expected Behavior

Just close OBS again and it will always show crash message.
This happens ALWAYS no matter. Have not changed scenes.

The crash message window CANNOT closed, Yes an No buttons are not working.
Need go to Taskmanager to force close it.

Current Behavior

Crash every time when close OBS

Steps to Reproduce

  1. Start OBS (with all scenes ofc)
  2. Close OBS
  3. Will throw crash window already.
    ...

Anything else we should know?

Previous versions have no crashes and all can shutdown without problems.
ONLY with version 32.1.0 i have crash problem. Earlier version no problem.

Here some look at scenes in this picture. Several browsers are open to run overlays.
Image

Just close OBS and it will always show crash message.
This happens ALWAYS no matter. Have not changed layers.

The crash message window CANNOT closed, Yes an No buttons are not working.
Need go to Task manager to force close it. So it's another serious problem not be able close it.

Scenes changes are still saved, so it's at very end that makes it throw message.

I want roll back to previous version because this is nuts. No idea what changed but all previous versions have no problems.

Activity

  1. Sharkspi commented on Mar 22, 2026

    @Sharkspi

    Hello I have the exact same issue and error in crash log.
    Saw in some reddit posts a similar problem some times ago due to a websource, this might be due to the use of streamlabs but not sure. I tried to update SL plugin but the issue is still here.

  2. MysticalOS commented on Mar 22, 2026

    @MysticalOS

    I'm also getting a shutdown crash every time. I also have a streamlabs web source, but i do not use their plugin, it's just an added source for chat and notifs

  3. prgmitchell commented on Mar 24, 2026

    @prgmitchell
    Member

    @MrDummyNL you'll want to start OBS in safe mode when prompted and test again, this is likely a 3rd party plugin and you'd need to report directly to them if so.

  4. BenOravetz commented on Mar 25, 2026

    @BenOravetz

    Just an update to this:

    I had the same issue but I fixed it by disabling my StreamLabs plugin.

    I will report that when the crash occurred for me, the crash dialog would freeze and I had to kill the process via Task Manager. That is probably not a plugin bug.

  5. MrDummyNL commented on Mar 27, 2026

    @MrDummyNL
    Author

    Before last version was out, i have no crashes.
    Since last version, it throw always error after close OBS.

    But if you say so, then it means StreamLabs need update the plugin. Many streamers still use StreamLabs and cannot just uninstall it.

  6. MysticalOS commented on Mar 28, 2026

    @MysticalOS

    I don't actually have streamlabs plugin, just streamdeck and aitumsuite but disabling either of those isn't an option.

  7. Fenrirthviti commented on Mar 28, 2026

    @Fenrirthviti
    Member

    Testing without third-party plugins enabled is critical to us being able to identify where the cause might be.

  8. MysticalOS commented on Mar 28, 2026

    @MysticalOS

    The problem with aitum specifically is when you disable that plugin, every vertical scene gets converted to non vertical and it hoses tons of profiles. even when you re-enable plugin you basically have to scrap and redo every scene to fix it. Been through that once, never again.

    That said, I actually did some more testing and i can open and close OBS as many times as I want and it will quit without crash even with plugins enabled, if it was only open a bit. but after a multi hour stream for example I quit same way, it hangs for a bit, then exits to a crash. so whatever cause is for me, it's something that accumulates over time.

  9. Fenrirthviti commented on Mar 28, 2026

    @Fenrirthviti
    Member

    For future reference when doing testing, Scene Collections and Profiles are easily backed up from the respective menus.

    However, we will likely need a dump file in order to identify what is going on. Anyone experiencing this specific crash should follow these steps:

    https://obsproject.com/forum/resources/598/

    Ensure that all the steps are read ahead of time, as they need to be strictly followed or the file will not be useful.

    Once the dump file is acquired, do not post it publicly but reach out to myself on the OBS Discord, Fenrir (username len). I have DMs open.

    Thank you in advance for anyone who is able to provide this.

  10. notr1ch commented on Mar 30, 2026

    @notr1ch
    Member

    Root cause: aboutToQuit handler triggering from a nested event loop (or just how Qt signals work?) and immediately calling obs_shutdown while a real shutdown from OBSBasic::~OBSBasic is already underway on the same thread.

    CEF explodes because we're unloading obs-browser while there are still active CEF singletons.

  11. s1fat commented on Apr 4, 2026

    @s1fat

    we need to fix that issue that happening for StreamlabsOBS extention that not happening in 32.0.4 verson that happening in new 32.1 and 32.1.1 version.

  12. daMoaT commented on Apr 11, 2026

    @daMoaT

    Ok, at 1st I was convinced this was due to the OBS background removal plugin, as I use an older version (1.1.13) as it allows me to use my AMD GPU for it, newer versions don't for some reason, but after unninstalling and reinstalling OBS, I'm now pretty sure that this crash is related to the Stream labs plugin, even though it auto updated when I launched OBS today... All other plugins except Streamlabs plugin were removed after unninstal/reinstall, and the crash remains, but after disabling Streamlabs plugin, the crash doesn't occur anymore.

    Hope this helps to solve the crash, let me know if you want anymore details or want me to upload a crash log.

    The crash doesn't look like a serious problem, as OBS doesn't even detect it crashed when I launch another session, it doesn't give the "OBS didn't shut down correcly, would you like to start in safe mode or normal mode" message, instead, it just looks like OBS is forcing the shutdown whilst some process is still running, likely streamlabs plugin.

  13. MysticalOS commented on Apr 11, 2026

    @MysticalOS

    I get the shut down incorrectly error every launch, and I don't use streamlabs plugin. I think crash has numerous causes but is definitely a regression in 32.1.x

  14. MrDummyNL commented on Apr 13, 2026

    @MrDummyNL
    Author

    Got StreamLabs update some days ago and i have no more crashes, shut down correctly.
    Hope others can fixed soon with last update.

  15. RytoEX commented on Apr 16, 2026

    @RytoEX
    Member

    @MrDummyNL glad to hear it.

    @MysticalOS If I recall correctly, you're running macOS whereas the reporter is on Windows. I think there are subtle differences between the shutdown process between macOS and Windows, so I'm not sure if we should treat the original report the same as your case. @PatTheMav ?

  16. PatTheMav commented on Apr 17, 2026

    @PatTheMav
    Member

    @MrDummyNL glad to hear it.

    @MysticalOS If I recall correctly, you're running macOS whereas the reporter is on Windows. I think there are subtle differences between the shutdown process between macOS and Windows, so I'm not sure if we should treat the original report the same as your case. @PatTheMav ?

    Correct Windows quits applications by closing windows (which Qt then internally has to deduplicate and handle), macOS does so by terminating applications.

    So shutdown takes drastically different routes through Qt's internals and we landed a fix for 32.1 that unified those on macOS (everything should start with a QEvent::Quit signal), which is not how Windows can do it.

    If there are still crashes on macOS, we'd need to see the specific crash reports for it.

  17. pdingpding commented on Jul 29, 2026

    @pdingpding

    Another (non-browser) leaf of the same shutdown race, observed on 32.1.2 — resolved by #13347

    Adding a data point for searchability: we hit what appears to be the same root cause notr1ch described above, but with a different leaf than the browser/dock stacks reported so far — ours faults in OBSBasicPreview's destructor, so this class isn't limited to CEF/dock teardown.

    Observed on OBS 32.1.2 (Windows Server 2025, x64), crashed main thread:

    obs.dll!obs_enter_graphics+0xd
    <- OBSBasicPreview::~OBSBasicPreview
    <- QWidget destructor chain
    <- OBSBasic::~OBSBasic        (delivered as a Qt DeferredDelete)
    <- run_program                (after the event loop returned)
    

    No third-party frames on the crashed stack (a third-party output plugin was installed, but it had already been unloaded by free_module() inside obs_shutdown() by that point).

    Sequence, as far as we can tell from the 32.1.2 sources:

    1. OBSBasic::closeWindow() posts deleteLater() on OBSBasic (OBSBasic.cpp:2003), then queues the quit metacall (:2007).
    2. Normally that DeferredDelete is delivered on the next event-loop pass (its recorded loop/scope level exceeds the base level because it was posted inside event delivery), so OBSBasic — including the preview — is destroyed while the core is still alive → clean exit.
    3. If it loses that race to the quit metacall, obs_shutdown() runs first (via the aboutToQuit lambda, frontend/OBSApp.cpp:1270 → OBSApp::applicationShutdown()), and the pending DeferredDelete is only delivered by execCleanup()'s explicit sendPostedEvents(nullptr, QEvent::DeferredDelete) after the core is freed. ~OBSBasicPreview then calls obs_enter_graphics() (frontend/widgets/OBSBasicPreview.cpp:22, unguarded) against the freed core → 0xC0000005.

    Consistent with a timing race rather than a deterministic bug: we saw it exactly once, with an output still actively encoding at shutdown, and could not reproduce it in 10+ scripted graceful closes with an active recording on an identical 32.1.2 install.

    We verified that #13347 (32.2.0+) removes the aboutToQuit connection and with it this whole path — the fix commit (9f4320ec) is not an ancestor of 32.1.2 but is contained in 32.2.0/32.2.1. So for anyone landing here with an obs_enter_graphics / ~OBSBasicPreview crash on exit on ≤32.1.2: upgrading to 32.2.0+ resolves this variant as well.

  18. notr1ch commented on Jul 29, 2026

    @notr1ch
    Member

    Fixed with #13347, while there are plenty of crashes on shutdown, this one is specifically triggered by aboutToQuit which no longer exists.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions