OBS "Crashing" when closing the program

BobbaMaxx

New Member
OBS has given me a crash error basically every time I close the program. Does not happen when running the program, except for when changing scene collections, though that instance is much less frequent. Attached is the most recent crash report and the most recent log.

I've tried assessing the crash report but could not determine what the issue was, though the "obs64.exe!OBSBasic::closeEvent" and "obs64.exe!OBSBasic::ClearSceneData" stood out to me.

I do have quite a few plugins and have admittedly been lazy about clearing out unused/outdated ones...

Any help would be greatly appreciated!
 

Attachments

  • 2025-02-04 22-27-33.txt
    460.7 KB · Views: 7
  • Crash 2025-02-05 00-48-19.txt
    144.7 KB · Views: 6

PaiSand

Active Member
Crashes on close are known to be caused by a plugin. You should take a look at any plugins you have installed and look for updates and compatibility with the OBS version you're using.
 

rockbottom

Active Member
What's not wrong with that log? Plugins (SE too), refresh rates, a real sh!t show.

Anyway, this error occurs non-stop, you're using Hardware Accelerated Decoding for too many Media Sources.

22:29:09.154: warning: Using more than 32 (34) decode surfaces might cause nvdec to fail.
22:29:09.154: warning: Try lowering the amount of threads. Using 16 right now.
22:29:09.154: error: Failed setup for format cuda: hwaccel initialisation returned error.
22:29:09.297: error: decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed
22:29:09.297: error: -> CUDA_ERROR_INVALID_VALUE: invalid argument
22:29:09.297: error:

22:29:09.297: warning: Using more than 32 (34) decode surfaces might cause nvdec to fail.
22:29:09.297: warning: Try lowering the amount of threads. Using 16 right now.
22:29:09.297: error: Failed setup for format cuda: hwaccel initialisation returned error.
22:29:34.710: User switched to scene 'Hand Right - Right 3/4'
22:29:38.381: User switched to scene 'Hand & Ulna Right - Right 3/4'
22:29:39.184: error: decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed
22:29:39.184: error: -> CUDA_ERROR_INVALID_VALUE: invalid argument
22:29:39.184: error:

22:29:39.184: warning: Using more than 32 (34) decode surfaces might cause nvdec to fail.
22:29:39.184: warning: Try lowering the amount of threads. Using 16 right now.
22:29:39.184: error: Failed setup for format cuda: hwaccel initialisation returned error.
22:29:39.327: error: decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed
22:29:39.327: error: -> CUDA_ERROR_INVALID_VALUE: invalid argument
 

rockbottom

Active Member
This should be most of them but there may be more. At the max 2 maybe 3 sources in your main Scene should be using accelerated decoding.

22:27:36.721: [Media Source 'Blast Doors Closing']: settings:
22:27:36.721: input: W:/XX In HEre/Streaming Content/SLOBS/Guise 3.0/Assets IMPORTED/Blast Doors Closing WITH SOUND.avi
22:27:36.721: input_format: (null)
22:27:36.721: speed: 100
22:27:36.721: is_looping: no
22:27:36.721: is_linear_alpha: no
22:27:36.721: is_hw_decoding: yes
22:27:36.721: is_clear_on_media_end: yes
22:27:36.721: restart_on_activate: yes
22:27:36.721: close_when_inactive: no
22:27:36.721: full_decode: no
22:27:36.721: ffmpeg_options:

22:27:36.725: [Media Source 'Blast Doors Open']: settings:
22:27:36.725: input: W:/XX In HEre/Streaming Content/SLOBS/Guise 3.0/Assets IMPORTED/BLAST DOORS Quick Flash to Open WITH SOUND.avi
22:27:36.725: input_format: (null)
22:27:36.725: speed: 100
22:27:36.725: is_looping: no
22:27:36.725: is_linear_alpha: yes
22:27:36.725: is_hw_decoding: yes
22:27:36.725: is_clear_on_media_end: yes
22:27:36.725: restart_on_activate: yes
22:27:36.725: close_when_inactive: no
22:27:36.725: full_decode: no
22:27:36.725: ffmpeg_options:

22:27:36.730: [Media Source 'Blast Doors Idle']: settings:
22:27:36.730: input: W:/XX In HEre/Streaming Content/SLOBS/Guise 3.0/Assets IMPORTED/BLAST DOORS Closed NO SOUND.avi
22:27:36.730: input_format: (null)
22:27:36.730: speed: 100
22:27:36.730: is_looping: yes
22:27:36.730: is_linear_alpha: yes
22:27:36.730: is_hw_decoding: yes
22:27:36.730: is_clear_on_media_end: yes
22:27:36.730: restart_on_activate: yes
22:27:36.730: close_when_inactive: no
22:27:36.730: full_decode: no
22:27:36.730: ffmpeg_options:

22:27:36.778: Source ID 'streamfx-filter-transform' not found
22:27:36.778: Failed to create source '3D Transform'!
22:27:36.785: ---------------------------------
22:27:36.785: [DShow Device: 'Canon Cam'] settings updated:
22:27:36.785: video device: USB Video
22:27:36.785: video path: \\?\usb#vid_534d&pid_2109&mi_00#7&1d1ce726&2&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
22:27:36.785: resolution: 1920x1080
22:27:36.785: flip: 0
22:27:36.785: fps: 30.00 (interval: 333333)
22:27:36.785: format: MJPEG
22:27:36.785: buffering: disabled
22:27:36.785: hardware decode: enabled
22:27:36.819: using video device audio: no
22:27:36.819: separate audio filter
22:27:36.819: sample rate: 44100
22:27:36.819: channels: 2

22:28:38.798: [Media Source 'During Broadcast']: settings:
22:28:38.798: input: W:/XX In HEre/Streaming Content/Video Assets/LGC Static Station/LGC Logo Station Break - Penetrating Reality - 960x720 Half Resolution.mp4
22:28:38.798: input_format: (null)
22:28:38.798: speed: 100
22:28:38.798: is_looping: yes
22:28:38.798: is_linear_alpha: no
22:28:38.798: is_hw_decoding: yes
22:28:38.798: is_clear_on_media_end: yes
22:28:38.798: restart_on_activate: yes
22:28:38.798: close_when_inactive: no
22:28:38.798: full_decode: no
22:28:38.798: ffmpeg_options:
22:28:38.824: WASAPI: Device 'CABLE-D Input (VB-Audio Cable D)' [48000 Hz] initialized (source: Game Audio)

22:28:38.824: [Media Source 'Ending Broadcast']: settings:
22:28:38.824: input: W:/XX In HEre/Streaming Content/Video Assets/LGC Static Station/LGC Logo Station Break - Ending Broadcast - 960x720 Half Resolution.mp4
22:28:38.824: input_format: (null)
22:28:38.824: speed: 100
22:28:38.824: is_looping: yes
22:28:38.824: is_linear_alpha: no
22:28:38.824: is_hw_decoding: yes
22:28:38.824: is_clear_on_media_end: yes
22:28:38.824: restart_on_activate: no
22:28:38.824: close_when_inactive: no
22:28:38.824: full_decode: no
22:28:38.824: ffmpeg_options:

22:28:38.835: [Media Source 'Satan Technical Difficulties']: settings:
22:28:38.835: input: W:/XX In HEre/Streaming Content/Video Assets/Satan/Satan Technical Difficulties.mp4
22:28:38.835: input_format: (null)
22:28:38.835: speed: 100
22:28:38.835: is_looping: yes
22:28:38.835: is_linear_alpha: no
22:28:38.835: is_hw_decoding: yes
22:28:38.835: is_clear_on_media_end: yes
22:28:38.835: restart_on_activate: yes
22:28:38.835: close_when_inactive: no
22:28:38.835: full_decode: no
22:28:38.835: ffmpeg_options:

22:28:38.884: [Media Source 'VHS Static Overlay V1.webm']: settings:
22:28:38.884: input: W:/XX In HEre/Streaming Content/SLOBS/Lately with Lucy/Injested/VHS Static Overlay V1.webm
22:28:38.884: input_format: (null)
22:28:38.884: speed: 100
22:28:38.884: is_looping: yes
22:28:38.884: is_linear_alpha: no
22:28:38.884: is_hw_decoding: yes
22:28:38.884: is_clear_on_media_end: yes
22:28:38.884: restart_on_activate: yes
22:28:38.884: close_when_inactive: no
22:28:38.884: full_decode: no
22:28:38.884: ffmpeg_options:

22:28:39.061: [Media Source 'LGC Logo Station Break 960x720 Half Resolution.mp4']: settings:
22:28:39.061: input: W:/XX In HEre/Streaming Content/Video Assets/LGC Static Station/LGC Logo Station Break - Beginning Broadcast.mp4
22:28:39.061: input_format: (null)
22:28:39.061: speed: 100
22:28:39.061: is_looping: yes
22:28:39.061: is_linear_alpha: no
22:28:39.061: is_hw_decoding: yes
22:28:39.061: is_clear_on_media_end: yes
22:28:39.061: restart_on_activate: no
22:28:39.061: close_when_inactive: no
22:28:39.061: full_decode: no
22:28:39.061: ffmpeg_options:

22:28:39.068: [Media Source 'POWER LGC']: settings:
22:28:39.068: input: W:/XX In HEre/Streaming Content/Video Assets/LGC V2/LGC Logo 90s third Resolution 960x720.mp4
22:28:39.068: input_format: (null)
22:28:39.068: speed: 100
22:28:39.068: is_looping: no
22:28:39.068: is_linear_alpha: no
22:28:39.068: is_hw_decoding: yes
22:28:39.068: is_clear_on_media_end: yes
22:28:39.068: restart_on_activate: yes
22:28:39.068: close_when_inactive: no
22:28:39.068: full_decode: no
22:28:39.068: ffmpeg_options:
 

BobbaMaxx

New Member
Thanks for being so thorough and plain spoken!

I've removed a handful of plugins with the intention to make sure the rest are up to date.

I turned off accelerated (hardware?) decoding on all the sources you listed except my main camera, and looked for other sources which may have also had it on.

The error is still occurring, though this last time I had the software running I was able to switch scene collections without issue. I'll continue to troubleshoot but for the time being here are the most recent crash report and log file.

Regarding refresh rates, is it that I have misaligned refresh rates somewhere? Perhaps my output vs camera settings? How can I improve this?


Thanks again!
 

Attachments

  • 2025-02-06 16-05-36.txt
    588.7 KB · Views: 3
  • Crash 2025-02-05 00-48-19.txt
    144.7 KB · Views: 4

rockbottom

Active Member
There are still stale plugins, I only checked a couple of them.

16:05:38.709: [3D Effect] loaded version 0.0.2

Current version is 0.1.3



16:05:38.788: [Downstream Keyer] loaded version 0.3.2

Current version is 0.3.3 & is an update for OBS 31



Yeah, when you use OBS, run your main monitor @ 120HZ & your Acer @ 60HZ. ATM they're @ 170HZ & 75HZ.

Still looking through the log
 

rockbottom

Active Member
This may need to go the way of the Dodo. If it must be removed, OBS must be removed & re-installed.

16:05:39.067: [obs-streamelements-core]: Version 3648167006
16:05:39.068: obs-streamelements: initializing
16:05:39.071: obs-streamelements: checking for updates
16:05:39.071: obs-streamelements: ShowStatusBarMessage: Checking for updates...
16:05:39.071: obs-streamelements: context->manifestFilePath: C:\Users\Nick Smith\AppData\Roaming\obs-studio/plugin_config/obs-streamelements/obs-streamelements.manifest
16:05:39.071: obs-streamelements: config_folder_path: C:\Users\Nick Smith\AppData\Roaming\obs-studio/plugin_config/obs-streamelements/
16:05:39.072: obs-streamelements: creating signal handlers
16:05:39.072: obs-streamelements: connecting signal handlers
16:05:39.072: obs-streamelements: initialized
 

rockbottom

Active Member
Not needed anymore AFAIK.
16:05:39.093: [obs-websocket 4.9.1-compat] you can haz websockets (version 4.9.1-compat)
16:05:39.093: [obs-websocket 4.9.1-compat] qt version (compile-time): 6.3.1 ; qt version (run-time): 6.6.3
16:05:39.093: [obs-websocket 4.9.1-compat] [obs_module_load] Linked ASIO Version: 101201
16:05:39.093: DEPRECATION: obs_frontend_get_global_config is deprecated. Read from global or user configuration explicitly instead.
16:05:39.096: [obs-websocket 4.9.1-compat] module loaded!

16:05:39.097: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.4 | RPC Version: 1)
16:05:39.097: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
16:05:39.097: [obs-websocket] [obs_module_load] Linked ASIO Version: 103100
16:05:39.097: DEPRECATION: obs_frontend_get_global_config is deprecated. Read from global or user configuration explicitly instead.
16:05:39.104: [obs-websocket] [obs_module_load] Module loaded.
 

rockbottom

Active Member
There was still some of the Decode errors but the number of them decreased dramatically.
16:05:46.503: error: decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed
16:05:46.503: error: -> CUDA_ERROR_INVALID_VALUE: invalid argument
16:05:46.503: error:
16:05:46.503: warning: Using more than 32 (34) decode surfaces might cause nvdec to fail.
16:05:46.503: warning: Try lowering the amount of threads. Using 16 right now.
16:05:46.503: error: Failed setup for format cuda: hwaccel initialisation returned error.
16:05:46.515: error: decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed
16:05:46.515: error: -> CUDA_ERROR_INVALID_VALUE: invalid argument
16:05:46.515: error:
16:05:46.515: warning: Using more than 32 (34) decode surfaces might cause nvdec to fail.
16:05:46.515: warning: Try lowering the amount of threads. Using 16 right now.
16:05:46.515: error: Failed setup for format cuda: hwaccel initialisation returned error.
16:05:46.561: Source ID 'streamfx-filter-blur' not found
16:05:46.561: Failed to create source 'Blur'!

Log is incomplete but your Plugins all need to be thoroughly checked & updated if needed.
 
Top