Skip to content

macOS 27.2 (26B118): crash on launch in QWidget::setCursor → QImage::toCGImage → CGColorSpaceGetType (EXC_BREAKPOINT) #14061

Closed

Description

@andreladocruz

Operating System Info

macOS 27

Other OS

No response

OBS Studio Version

32.2.2

OBS Studio Version (Other)

33.0.0-rc2

OBS Studio Log URL

Log attached below (the app crashes before the Help menu can be used to upload it). Startup reaches "==== Startup complete ====" and "No scene file found, creating default scene", then crashes.

OBS Studio Crash Log URL

.ips crash reports attached (OBS-2026-10-20-172127.ips on 32.2.2, OBS-2026-10-20-172703.ips on 33.0.0-rc2).

Expected Behavior

OBS launches and shows the main window.

Current Behavior

OBS crashes immediately on launch, every time (EXC_BREAKPOINT / SIGTRAP, "Trace/BPT trap: 5").
Crashing thread (main thread), identical on 32.2.2 and 33.0.0-rc2:

CoreFoundation   __CF_IS_OBJC
CoreFoundation   CFGetTypeID
CoreGraphics     CGColorSpaceGetType
CoreGraphics     valid_image_colorspace
CoreGraphics     verify_image_parameters
CoreGraphics     CGImageCreate
QtGui            QImage::toCGImage() const
QtGui            (unsymbolicated)
libqcocoa.dylib  (unsymbolicated) x3
QtGui            QWindowPrivate::setCursor(QCursor const*)
QtWidgets        (unsymbolicated)
QtWidgets        QWidget::setCursor(QCursor const&)
OBS              (unsymbolicated) x7
dyld             start

It looks like the color space handed to CGImageCreate when Qt converts the cursor image is no longer a valid CGColorSpaceRef on this macOS build.

Steps to Reproduce

  1. Update to macOS 27.2 (26B118) on Apple Silicon.
  2. Launch OBS Studio (32.2.2 or 33.0.0-rc2), even with a fresh/empty config.
  3. Crash on launch.

Anything else we should know?

  • Reproduces with a clean profile (~/Library/Application Support/obs-studio recreated from scratch).
  • Reproduces with only the built-in display connected (external monitors and an Elgato Prompter disconnected), so it does not seem related to a specific display's color profile.
  • Qt 6.11.1 (runtime and compile-time) on 32.2.2.

OBS-2026-10-20-172127.ips.txt
2026-10-20 17-32-23.txt
2026-10-20 17-29-06.txt
2026-10-20 17-28-34.txt
2026-10-20 17-27-55.txt
2026-10-20 17-26-57.txt
2026-10-20 17-21-22.txt
OBS-2026-10-20-172703.ips.txt

Activity

  1. andreladocruz commented on Oct 20, 2026

    @andreladocruz
    Author

    Additional detail from fresh crashes after another reboot (still 33.0.0-rc2, macOS 27.2 26B118):

    • The fault is a pointer authentication failure: esr: 0xf200c472 (Breakpoint) pointer authentication trap DA, at __CF_IS_OBJC + 52 called from CGColorSpaceGetType. So the CGColorSpaceRef reaching CGImageCreate from QImage::toCGImage() is not a valid CF object (dangling or garbage pointer), rather than CoreGraphics rejecting a valid color space.
    • Happens about 5 s after launch, during main-window setup (QWidget::setCursor called from OBS on the main thread).
    • System frameworks in the crash: CoreGraphics 2050.1.6, CoreFoundation 5027.1.8, AppKit 2775.20.133.

    Things tried, none of which helped:

    • 32.2.2 and 33.0.0-rc2
    • clean OBS config
    • only the built-in display connected
    • reboot
    • resetting pointer colors in Accessibility settings
  2. andreladocruz commented on Oct 20, 2026

    @andreladocruz
    Author

    Root cause found: this is QTBUG-147602, a use-after-free in Qt 6.11.1.

    qt_mac_cgImageFormatForImage() (qtbase src/gui/painting/qcoregraphics.mm) builds the color space in a local QCFType<CGColorSpaceRef> and returns a vImage_CGImageFormat holding only the raw CGColorSpaceRef. The QCFType releases it on return, so QImage::toCGImage() passes a dangling color space to CGImageCreate, hence the pointer-authentication trap (esr: 0xf200c472 ... pointer authentication trap DA) in CGColorSpaceGetType. Before macOS 27.2 the system sRGB color space was never actually deallocated, which masked the bug.

    Fixed upstream in qtbase commit 08e464f85597 ("Fix regression in QImage::toCGImage() with custom color space"), which shipped in Qt 6.11.2 and 6.12.0. OBS 33.0.0-rc2 still bundles Qt 6.11.1.

    I opened obsproject/obs-deps#325 to backport that fix to the macOS Qt 6.11.1 build, the same way obsproject/obs-deps#318 backported QTBUG-146665.

    Things tried before finding this, none of which helped: 32.2.2 and 33.0.0-rc2, clean OBS config, only the built-in display connected, reboot, resetting pointer colors in Accessibility settings.

    Disclosure: this analysis was prepared with Claude Code (AI) at my direction.

  3. maelabbie commented on Oct 21, 2026

    @maelabbie

    same problem

  4. andreladocruz commented on Oct 21, 2026

    @andreladocruz
    Author

    @maelabbie, they closed my PR because I asked Claude to help me create it. Let's wait.

  5. wxd12f6 commented on Oct 21, 2026

    @wxd12f6

    same problem as well

  6. george98ramirez commented on Oct 21, 2026

    @george98ramirez

    having the same problem with OBS. Updated my Macbook to 27.2 (Beta) and i keep getting, "OBS Studio did not properly shut down.
    Run in Safe Mode (third-party plugins, scripting, and WebSockets disabled)?"
    I can't even open up in Safe Mode, just crashes as soon as I try and launch the app.

    CAN ANYONE HELP? HAVE A LIVE STRAM LATER TODAY.

    I've already tried the below:
    -clean OBS config
    -only the built-in display connected
    -reboot
    -resetting pointer colors in Accessibility settings

  7. andreladocruz commented on Oct 21, 2026

    @andreladocruz
    Author

    @george98ramirez , the only way is to build a new version locally. (obsproject/obs-deps#325)

    I used Claude Code to do it and got it working.

    I opened a PR yesterday but got closed as I used Claude to do the job. LOL

  8. george98ramirez commented on Oct 21, 2026

    @george98ramirez

    Thanks! I have no idea how i would even start to build a new one. I've been on YT for the past 3 days trying every tutorial...
    Is this something OBS can/will update and release an updated download that can fix it?

  9. RytoEX commented on Oct 21, 2026

    @RytoEX
    Member

    We are aware of this crash and are evaluating a path forward.

  10. george98ramirez commented on Oct 21, 2026

    @george98ramirez

    TY! Please udpate me lol when solution is found. Team OBS for the WIn!!

    not wanting to move to stream Labs

  11. Lucasdoreac commented on Oct 21, 2026

    @Lucasdoreac

    Same crash here, confirming on different hardware:

    • MacBook Air M1 (MacBookAir10,1), 8 GB, macOS 27.2 (26B118)
    • OBS 32.2.2 and 33.0.0-rc2 (both bundle Qt 6.11.1)
    • Identical stack (QWidget::setCursor → QImage::toCGImage → CGImageCreate → CGColorSpaceGetType, pointer authentication trap DA), a few seconds after "Startup complete"
    • Reproduces with an empty config and in Safe Mode, so plugins and settings are not involved

    Confirming the Qt diagnosis from the runtime side: an unmodified OBS 32.2.2 with only its bundled Qt frameworks and platform/style/svg plugins replaced by Qt 6.12.0 (runtime 6.12.0, compiled 6.11.1) launches normally on the same machine, both with a clean config and with my existing scene collection. Unpatched builds crash on every launch.

    So shipping Qt 6.11.2+ (or 6.12) in obs-deps for macOS should resolve this.

  12. nezza1978-commits commented on Oct 21, 2026

    @nezza1978-commits

    Crash Report says

    0x10589b390 QImage::toCGImage() const + 260 and "imageOffset":3863440,"symbol":"QImage::toCGImage()

  13. techflashYT commented on Oct 22, 2026

    @techflashYT

    I have the same problem.

  14. nezza1978-commits commented on Oct 22, 2026

    @nezza1978-commits

    I'm experiencing an OBS startup crash on macOS.

    • Mac: Mac mini (M1, 8 GB RAM)
    • macOS: 26.7.2 (Build 25G330)
    • OBS Studio: 32.2.2
    • Qt: 6.11.1
    • Installation: Steam version; the same issue occurs with the standalone version.
    • Safe Mode: OBS closes immediately.
    • Startup warning: “Unable to migrate global configuration - user configuration file already exists.”
    • The log reaches “Startup complete” before OBS closes.
    • No crash report is available in the DiagnosticReports folder.

    Could you advise whether this is a known Qt/macOS compatibility issue and whether a patched build or workaround is available?

  15. RytoEX commented on Oct 22, 2026

    @RytoEX
    Member

    @nezza1978-commits You are experiencing a different crash. Please use the regular support channels.

  16. 4 remaining items

  17. george98ramirez commented on Oct 23, 2026

    @george98ramirez

    does this mean we should redownload obs and try again?
    The ccrahing has been fixed?

  18. ijaureguialzo commented on Oct 23, 2026

    @ijaureguialzo

    27. does this mean we should redownload obs and try again?
    The ccrahing has been fixed?

    They've just released 33.0.0 that works on macOS 27.2.

  19. george98ramirez commented on Oct 23, 2026

    @george98ramirez

    thank you !
    I just downloaded it and it runs.
    Already have an issue where logging into you twitch account and logging in crashes it and log in was not signed in

  20. nezza1978-commits commented on Oct 24, 2026

    @nezza1978-commits

    Still not working

  21. GeoSn0w commented on Oct 25, 2026

    @GeoSn0w

    Same issue here and 33.0.0 does not fix it.

  22. krupers commented on Oct 27, 2026

    @krupers

    25. Same issue here and 33.0.0 does not fix it.

    When the app was closed unexpectedly and latest installed version is 33.0.0, then you can just say "Run in Normal Mode" and this should solve the problem. In my case I can confirm that this release solve everything. Link on website is not the latest, so you can replace 32.2.2 to 33.0.0 and download final installer :)

  23. GeoSn0w commented on Nov 3, 2026

    @GeoSn0w

    Can confirm it fixes issues here too.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions