Skip to content

Startup crash in qwindows.dll on Windows 11 24H2 with OBS 32.0.2 and 31.x portable; OBS 27 works #12829

@quidscio

Description

@quidscio

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

32.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/4fLE55JJ2vyrRbrY

OBS Studio Crash Log URL

https://obsproject.com/logs/FRMcO1nwJZl6mkiq

Expected Behavior

OBS 32.0.2 and 31.1.2 should start and display the main window, or the safe mode dialog if an unclean shutdown was detected.

Current Behavior

OBS 32.0.2 and 31.1.2 crash immediately when starting the portable build.

Example crash from OBS 32.0.2 (portable) after deleting .sentinel:

  • Exception: Unhandled exception: c0000005

  • Fault module: qwindows.dll

  • Fault address, for example:

    Fault address: 7FFF148FB611 (c:\tools\obs-studio-32.0.2-windows-x64\bin\64bit\platforms\qwindows.dll)

  • Call stack (top part of crashed thread):

    qwindows.dll!0x7fff148fb611
    qwindows.dll!0x7fff148fac9f
    qwindows.dll!0x7fff148c1e74
    qt6gui.dll!0x7ffeba4e09c1
    qt6widgets.dll!0x7ffebb7d248c
    qt6widgets.dll!0x7ffebb7d1c11
    qt6widgets.dll!0x7ffebb7f0232
    obs64.exe!OBSBasic::OBSInit+0xd64
    obs64.exe!OBSApp::OBSInit+0x3b6
    obs64.exe!run_program+0xb22
    obs64.exe!main+0x722
    obs64.exe!qtEntryPoint+0x30
    kernel32.dll
    ntdll.dll

Earlier crash logs (before I removed .sentinel) sometimes showed the stack going through obs64.exe!handleUncleanShutdown, but in all cases the fault module is qwindows.dll and the crash occurs while Qt is initializing the OBS window.

Steps to Reproduce

For OBS Studio 32.0.2:

  1. On Windows 11 24H2 build 26100.7171, download the Windows 64 bit portable ZIP for OBS Studio 32.0.2.
  2. Extract to C:\Tools\OBS-Studio-32.0.2-Windows-x64.
  3. Optionally create portable_mode.txt in the root so OBS uses a local config.
  4. In bin\64bit, run obs64.exe.
  5. OBS crashes within about a second. No window appears. Sometimes a crash report file is written, sometimes not.

The same behavior occurs with OBS Studio 31.1.2 portable:

  1. Download OBS Studio 31.1.2 Windows 64 bit portable ZIP.
  2. Extract to C:\Tools\OBS-Studio-31.1.2-Windows-x64.
  3. Run bin\64bit\obs64.exe.
  4. OBS crashes immediately in the same way.

On the same system, OBS Studio 27.2.4 portable:

  1. Extract 27.2.4 to C:\Tools\OBS-Studio-27.2.4-Full-x64.
  2. Run bin\64bit\obs64.exe.
  3. OBS starts and works normally as long as the renderer is left at the default (Direct3D 11). Switching to the OpenGL renderer makes the preview blank, so I switched back to D3D11.

Anything else we should know?

Also posted to Discord: https://discord.com/channels/348973006581923840/374636015396192257/1440031930148978708

And, things I have already tried

All of the following were done on this system:

  • Used portable builds only (no installer, no shared plugins).

  • Confirmed there are no third party OBS plugins in the portable folders.

  • Deleted the .sentinel folder from OBS config:

    • %APPDATA%\obs-studio

    • portable config directory (with portable_mode.txt present)

  • Updated NVIDIA GPU driver from an older August driver to 581.80 from NVIDIA as of 2025 11 16.

  • Confirmed Intel iGPU driver version 32.0.101.7026 (Windows 11 DCH driver).

  • Installed the latest Intel, Lenovo, Realtek and Windows Security updates offered by Windows Update.

  • Turned off:

    • Hardware Accelerated GPU Scheduling

    • “Optimizations for windowed games”

  • Forced OBS to use each GPU via Windows 11 Graphics settings:

    • “High performance” (NVIDIA RTX 4090 Laptop GPU)

    • “Power saving” (Intel Iris Xe)

  • Disabled overlays and capture hooks:

    • NVIDIA overlay

    • Xbox Game Bar

    • Discord overlay

    • Other obvious overlay or capture tools

  • Ran sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth:

    • First sfc pass found corrupt files and repaired them.

    • Second sfc pass reports no integrity violations.

    • DISM completed successfully.

  • Tried starting OBS with Qt environment variables to force software or OpenGL paths. For example:

    set QT_PLUGIN_PATH=
    set QT_QPA_PLATFORM_PLUGIN_PATH=
    set QT_QPA_PLATFORM=windows
    set QT_OPENGL=software
    set QSG_RHI_BACKEND=opengl
    set QSG_RHI_PREFER_SOFTWARE_RENDERER=1
    
    obs64.exe --disable-high-dpi-scaling --verbose
    

    OBS 32.0.2 still crashes in qwindows.dll with the same kind of stack as shown above.

  • For OBS 27.2.4 portable:

    • OBS starts and runs correctly with the default renderer (Direct3D 11).

    • Switching to the OpenGL renderer causes a blank preview, so I left it on D3D11.

This looks like a Qt 6 startup crash in qwindows.dll that affects OBS 32.0.2 and 31.1.2 on Windows 11 24H2 on this hardware, while OBS 27.2.4 is able to run on the same system using D3D11.

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