obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

OBS 30.1.0 beta2 crashes while starting

Open viaregio opened this issue 1 year ago • 2 comments

Operating System Info

macOS 14

Other OS

No response

OBS Studio Version

Other

OBS Studio Version (Other)

30.1.0 beta2

OBS Studio Log URL

https://obsproject.com/logs/RkTXuBOskT8xLL6v

OBS Studio Crash Log URL

https://obsproject.com/logs/RkTXuBOskT8xLL6v

Expected Behavior

OBS 30.0.2 is starting without a crash.

Logoutput:

07:05:07.959: [Safe Mode] Unclean shutdown detected!
07:05:09.903: [Safe Mode] User elected to launch normally.
07:05:09.921: [macOS] Permission for audio device access granted.
07:05:09.926: [macOS] Permission for video device access granted.
07:05:09.931: [macOS] Permission for accessibility granted.
07:05:09.935: [macOS] Permission for screen capture granted.
07:05:09.935: CPU Name: Apple M1 Pro
07:05:09.935: Physical Cores: 10, Logical Cores: 10
07:05:09.935: Physical Memory: 32768MB Total
07:05:09.935: OS Name: macOS
07:05:09.936: OS Version: Version 14.3.1 (Build 23D60)
07:05:09.936: Rosetta translation used: false
07:05:09.936: Kernel Version: 23.3.0
07:05:09.937: hotkeys-cocoa: Using layout 'com.apple.keylayout.German'
07:05:09.938: Current Date/Time: 2024-02-15, 07:05:09
07:05:09.938: Browser Hardware Acceleration: true
07:05:09.938: Qt Version: 6.5.3 (runtime), 6.5.3 (compiled)
07:05:09.938: Portable mode: false
07:05:09.992: OBS 30.0.2 (mac)
07:05:09.992: ---------------------------------
07:05:09.993: ---------------------------------
07:05:09.993: audio settings reset:
07:05:09.993: 	samples per sec: 48000
07:05:09.993: 	speakers:        2
07:05:09.993: 	max buffering:   960 milliseconds
07:05:09.993: 	buffering type:  dynamically increasing
07:05:09.996: ---------------------------------
07:05:09.996: Initializing OpenGL...
07:05:10.024: Loading up OpenGL on adapter Apple Apple M1 Pro
07:05:10.024: OpenGL loaded successfully, version 4.1 Metal - 88, shading language 4.10
07:05:10.199: ---------------------------------
07:05:10.199: video settings reset:
07:05:10.199: 	base resolution:   1920x1080
07:05:10.199: 	output resolution: 1920x1080
07:05:10.199: 	downscale filter:  Bicubic
07:05:10.199: 	fps:               60/1
07:05:10.199: 	format:            NV12
07:05:10.199: 	YUV mode:          Rec. 709/Partial
07:05:10.199: NV12 texture support not available
07:05:10.199: P010 texture support not available
07:05:10.199: Audio monitoring device:
07:05:10.199: 	name: BlackHole 2ch
07:05:10.199: 	id: BlackHole2ch_UID
07:05:10.199: ---------------------------------
07:05:10.206: No AJA devices found, skipping loading AJA UI plugin
07:05:10.206: Failed to initialize module 'aja-output-ui'
07:05:10.210: No AJA devices found, skipping loading AJA plugin
07:05:10.210: Failed to initialize module 'aja'
07:05:10.216: Failed to load 'en-US' text for module: 'decklink-captions'
07:05:10.219: Failed to load 'en-US' text for module: 'decklink-output-ui'
07:05:10.222: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
07:05:10.222: Failed to initialize module 'decklink'
07:05:10.306: [obs-browser]: Version 2.22.2
07:05:10.306: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.61.26+g3630089+chromium-103.0.5060.134 (compiled)
07:05:10.338: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.3.4 | RPC Version: 1)
07:05:10.338: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.5.3 | Qt version (run-time): 6.5.3
07:05:10.338: [obs-websocket] [obs_module_load] Linked ASIO Version: 102800
07:05:10.341: [obs-websocket] [obs_module_load] Module loaded.
07:05:10.362: [vlc-video]: VLC 3.0.18 Vetinari found, VLC video source enabled
07:05:10.362: ---------------------------------
07:05:10.362:   Loaded Modules:
07:05:10.362:     vlc-video
07:05:10.362:     text-freetype2
07:05:10.362:     rtmp-services
07:05:10.362:     obs-x264
07:05:10.362:     obs-websocket
07:05:10.362:     obs-webrtc
07:05:10.362:     obs-vst
07:05:10.362:     obs-transitions
07:05:10.362:     obs-outputs
07:05:10.362:     obs-filters
07:05:10.362:     obs-ffmpeg
07:05:10.362:     obs-browser
07:05:10.362:     mac-virtualcam
07:05:10.362:     mac-videotoolbox
07:05:10.362:     mac-syphon
07:05:10.362:     mac-capture
07:05:10.362:     mac-avcapture
07:05:10.362:     image-source
07:05:10.362:     frontend-tools
07:05:10.362:     decklink-output-ui
07:05:10.362:     decklink-captions
07:05:10.362:     coreaudio-encoder
07:05:10.362: ---------------------------------
07:05:10.362: [VideoToolbox encoder]: Added VideoToolbox encoders
07:05:10.362: QWidget::setTabOrder: 'first' and 'second' must be in the same window
07:05:10.362: ==== Startup complete ===============================================
07:05:10.370: Switched to Preview/Program mode
07:05:10.370: ------------------------------------------------
07:05:10.403: All scene data cleared
07:05:10.403: ------------------------------------------------
07:05:10.527: coreaudio: Device 'BlackHole 16ch' [48000 Hz] initialized
07:05:10.559: [Loaded global audio device]: 'Desktop-Audio'
07:05:10.559:     - monitoring: monitor and output
07:05:10.608: coreaudio: Device 'Externes Mikrofon' [44100 Hz] initialized
07:05:10.612: [Loaded global audio device]: 'Mikrofon-/AUX-Audio'
07:05:10.612:     - monitoring: monitor and output
...

Current Behavior

OBS 30.1.0 beta2 crashes.

Logoutput:

07:03:53.847: [Safe Mode] Unclean shutdown detected!
07:03:56.192: [Safe Mode] User elected to launch normally.
07:03:56.209: [macOS] Permission for audio device access granted.
07:03:56.214: [macOS] Permission for video device access granted.
07:03:56.220: [macOS] Permission for accessibility granted.
07:03:56.224: [macOS] Permission for screen capture granted.
07:03:56.224: CPU Name: Apple M1 Pro
07:03:56.224: Physical Cores: 10, Logical Cores: 10
07:03:56.224: Physical Memory: 32768MB Total
07:03:56.224: Model Identifier: MacBookPro18,3
07:03:56.224: OS Name: macOS
07:03:56.224: OS Version: Version 14.3.1 (Build 23D60)
07:03:56.224: Rosetta translation used: false
07:03:56.224: Kernel Version: 23.3.0
07:03:56.226: hotkeys-cocoa: Using layout 'com.apple.keylayout.German'
07:03:56.227: Current Date/Time: 2024-02-15, 07:03:56
07:03:56.227: Browser Hardware Acceleration: true
07:03:56.227: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
07:03:56.227: Portable mode: false
07:03:56.273: OBS 30.1.0-beta2 (mac)
07:03:56.273: ---------------------------------
07:03:56.274: ---------------------------------
07:03:56.274: audio settings reset:
07:03:56.274: 	samples per sec: 48000
07:03:56.274: 	speakers:        2
07:03:56.274: 	max buffering:   960 milliseconds
07:03:56.274: 	buffering type:  dynamically increasing
07:03:56.275: ---------------------------------
07:03:56.275: Initializing OpenGL...
07:03:56.303: Loading up OpenGL on adapter Apple Apple M1 Pro
07:03:56.303: OpenGL loaded successfully, version 4.1 Metal - 88, shading language 4.10
07:03:56.480: ---------------------------------
07:03:56.480: video settings reset:
07:03:56.480: 	base resolution:   1920x1080
07:03:56.480: 	output resolution: 1920x1080
07:03:56.480: 	downscale filter:  Bicubic
07:03:56.480: 	fps:               60/1
07:03:56.480: 	format:            NV12
07:03:56.480: 	YUV mode:          Rec. 709/Partial
07:03:56.480: NV12 texture support not available
07:03:56.480: P010 texture support not available
07:03:56.480: Audio monitoring device:
07:03:56.480: 	name: BlackHole 2ch
07:03:56.480: 	id: BlackHole2ch_UID
07:03:56.480: ---------------------------------
07:03:56.488: No AJA devices found, skipping loading AJA UI plugin
07:03:56.488: Failed to initialize module 'aja-output-ui'
07:03:56.494: No AJA devices found, skipping loading AJA plugin
07:03:56.494: Failed to initialize module 'aja'
07:03:56.496: Failed to load 'en-US' text for module: 'decklink-captions'
07:03:56.497: Failed to load 'en-US' text for module: 'decklink-output-ui'
07:03:56.498: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
07:03:56.498: Failed to initialize module 'decklink'
07:03:56.585: [obs-browser]: Version 2.23.3
07:03:56.585: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.61.26+g3630089+chromium-103.0.5060.134 (compiled)
07:03:56.608: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.4.0 | RPC Version: 1)
07:03:56.608: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | Qt version (run-time): 6.6.1
07:03:56.608: [obs-websocket] [obs_module_load] Linked ASIO Version: 102900
07:03:56.611: [obs-websocket] [obs_module_load] Module loaded.
07:03:56.621: [vlc-video]: VLC 3.0.18 Vetinari found, VLC video source enabled
07:03:56.621: ---------------------------------
07:03:56.621:   Loaded Modules:
07:03:56.621:     vlc-video
07:03:56.621:     text-freetype2
07:03:56.621:     rtmp-services
07:03:56.621:     obs-x264
07:03:56.621:     obs-websocket
07:03:56.621:     obs-webrtc
07:03:56.621:     obs-vst
07:03:56.621:     obs-transitions
07:03:56.621:     obs-outputs
07:03:56.621:     obs-filters
07:03:56.621:     obs-ffmpeg
07:03:56.621:     obs-browser
07:03:56.621:     mac-virtualcam
07:03:56.621:     mac-videotoolbox
07:03:56.621:     mac-syphon
07:03:56.621:     mac-capture
07:03:56.621:     mac-avcapture
07:03:56.621:     mac-avcapture-legacy
07:03:56.621:     image-source
07:03:56.621:     frontend-tools
07:03:56.621:     decklink-output-ui
07:03:56.621:     decklink-captions
07:03:56.621:     coreaudio-encoder
07:03:56.621: ---------------------------------
07:03:56.621: [VideoToolbox encoder]: Added VideoToolbox encoders
07:03:56.621: QWidget::setTabOrder: 'first' and 'second' must be in the same window
07:03:56.621: ==== Startup complete ===============================================
07:03:56.629: Switched to Preview/Program mode
07:03:56.629: ------------------------------------------------
07:03:56.662: All scene data cleared
07:03:56.662: ------------------------------------------------
07:03:56.767: Downmix enabled: 16 to 2 channels.
07:03:56.785: coreaudio: Device 'BlackHole 16ch' [48000 Hz] initialized
07:03:56.795: avresample_open failed: error code -22
07:03:56.795: creation of resampler failed

Steps to Reproduce

  1. Install the Blackhole audio drivers: brew install blackhole-2ch brew install blackhole-16ch
  2. Install OBS 30.1.0 beta2
  3. Start OBS

Anything else we should know?

Switching back to version 30.0.2 fixes the problem without altering anything else.

viaregio avatar Feb 15 '24 06:02 viaregio

Last 4 log lines seem relevant, cc @PatTheMav

07:03:56.767: Downmix enabled: 16 to 2 channels.
07:03:56.785: coreaudio: Device 'BlackHole 16ch' [48000 Hz] initialized
07:03:56.795: avresample_open failed: error code -22
07:03:56.795: creation of resampler failed

@viaregio If possible, please also upload the most recent crash log.

  • In Finder, click the Go menu
  • Select Go To Folder, and type in ~/Library/Logs/DiagnosticReports/
  • Upload the file prefixed OBS_ with the most recent date (format is year-month-day)

gxalpha avatar Feb 15 '24 08:02 gxalpha

Here is the requested crash log. OBS-2024-02-15-070357.ips.zip

viaregio avatar Feb 15 '24 09:02 viaregio