OBS 31.0.1 crashes on start 100% reproducible

vangarrd

New Member
Hi all. Ever since upgrading to OBS 31.0.1, I can't run it. It crashes on load. Starting in safe mode lets it come up, but as soon as I click on Settings, it crashes then as well.

Crash log attached. Any help is appreciated. Thanks!
 

Attachments

  • Crash 2025-03-02 20-28-54.txt
    62.8 KB · Views: 37

prgmitchell

Forum Moderator
Hi all. Ever since upgrading to OBS 31.0.1, I can't run it. It crashes on load. Starting in safe mode lets it come up, but as soon as I click on Settings, it crashes then as well.

Crash log attached. Any help is appreciated. Thanks!
This is a known crash with websocket that will be fixed with the next OBS release. For now I would recommend installing OBS 30.2.3 again.
 

Suslik V

Active Member
Code:
Thread 3BC4: (Crashed)
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
00000023A78FE410 00007FFEBB74FE3C 0000000000000001 00007FF62C55FF74 0000000000000012 00007FF62C1D6B35 kernelbase.dll!0x7ffebb74fe3c
00000023A78FE4F0 00007FFEAAF15267 00000170C50D5100 00000170C50D5100 00000170C50D5100 0000000000000000 vcruntime140.dll!0x7ffeaaf15267
00000023A78FE550 00007FF62C1DB853 00000170D37BE740 00000023A78FE650 0000000000000000 0000000000000000 obs64.exe!OBSBasic::GetCurrentProfile+0x1e3
00000023A78FE5F0 00007FF62C375DD5 00000023A78FE700 00000170D37BE740 00007FFE5F01A0F8 00007FFE5F01A0F8 obs64.exe!OBSStudioAPI::obs_frontend_get_current_profile_path+0x35
00000023A78FE680 00007FFE5EF16476 00000170D37BE740 00000023A78FEB30 00000170D3C0C4E0 0000000000000001 obs-websocket.dll!0x7ffe5ef16476
00000023A78FE7E0 00007FFE5EF20E3F 00000170D37BE740 00000003E73C006F 00000170D37BE740 0000000000000001 obs-websocket.dll!0x7ffe5ef20e3f
00000023A78FE980 00007FFE997F6A52 0000000000000000 00000023A78FEB30 00000170D37A45E0 0000000000000A5C obs.dll!obs_init_module+0x52
00000023A78FE9B0 00007FFE997F733A 00000170D37BE740 0000000000000001 00000170D3977C60 000000000000002A obs.dll!load_all_callback+0x11a
00000023A78FE9E0 00007FFE997F873B 00000170D34D60E0 0000000000000170 0000000000000020 00007FFE997F7220 obs.dll!process_found_module+0x34b
00000023A78FEAA0 00007FFE997F8A98 00000170D35193C0 00007FFE997F7220 00000023A78FEB30 0000000000000000 obs.dll!find_modules_in_path+0x2a8
00000023A78FEB10 00007FFE997F7518 00000170C50D5100 00000170C50D5100 00000023A78FEC70 00000170CC669920 obs.dll!obs_load_all_modules2+0x68
00000023A78FEB70 00007FF62C20ED25 00000170CC580620 00000170CC580620 00000023A78FF330 00007FFE8A305360 obs64.exe!OBSBasic::OBSInit+0x4c5
00000023A78FEDE0 00007FF62C3929F9 00007FF62C60E24D 00007FF62C60E24D 00000023A78FF5D0 FFFFFFFFFFFFFFFF obs64.exe!OBSApp::OBSInit+0x389
00000023A78FF0C0 00007FF62C3963F6 00000023A78FF510 0000017000000001 00000023A78FF528 00000170C500F860 obs64.exe!run_program+0xdd6
00000023A78FF4D0 00007FF62C397B2C 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!main+0x7ac
00000023A78FF6B0 00007FF62C40AC5D 0000000000000001 00007FF62C40A241 00000170C5034E40 00000170C5051070 obs64.exe!qtEntryPoint+0x15d
00000023A78FF740 00007FF62C40A1CA 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!__scrt_common_main_seh+0x106
00000023A78FF780 00007FFEBC54259D 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffebc54259d
00000023A78FF7B0 00007FFEBE34AF38 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffebe34af38
This looks similar to (Unicode symbols in the user path, characters not from English alphabet): https://github.com/obsproject/obs-websocket/issues/1244

but the second part:
Starting in safe mode lets it come up, but as soon as I click on Settings, it crashes then as well
Looks more like audio filter issue (especially for Global Audio device) in case you are running NVIDIA card and using Noise Suppression filter (or similar filter) for one of your sources. Was mentioned here: https://obsproject.com/forum/threads/obs-crashing-after-update-to-31-0-0.182468/post-667202 but the crash log in this case should be a bit different. Can you post the crash log from the safe mode launch of OBS as well?
 

vangarrd

New Member
Code:
Thread 3BC4: (Crashed)
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
00000023A78FE410 00007FFEBB74FE3C 0000000000000001 00007FF62C55FF74 0000000000000012 00007FF62C1D6B35 kernelbase.dll!0x7ffebb74fe3c
00000023A78FE4F0 00007FFEAAF15267 00000170C50D5100 00000170C50D5100 00000170C50D5100 0000000000000000 vcruntime140.dll!0x7ffeaaf15267
00000023A78FE550 00007FF62C1DB853 00000170D37BE740 00000023A78FE650 0000000000000000 0000000000000000 obs64.exe!OBSBasic::GetCurrentProfile+0x1e3
00000023A78FE5F0 00007FF62C375DD5 00000023A78FE700 00000170D37BE740 00007FFE5F01A0F8 00007FFE5F01A0F8 obs64.exe!OBSStudioAPI::obs_frontend_get_current_profile_path+0x35
00000023A78FE680 00007FFE5EF16476 00000170D37BE740 00000023A78FEB30 00000170D3C0C4E0 0000000000000001 obs-websocket.dll!0x7ffe5ef16476
00000023A78FE7E0 00007FFE5EF20E3F 00000170D37BE740 00000003E73C006F 00000170D37BE740 0000000000000001 obs-websocket.dll!0x7ffe5ef20e3f
00000023A78FE980 00007FFE997F6A52 0000000000000000 00000023A78FEB30 00000170D37A45E0 0000000000000A5C obs.dll!obs_init_module+0x52
00000023A78FE9B0 00007FFE997F733A 00000170D37BE740 0000000000000001 00000170D3977C60 000000000000002A obs.dll!load_all_callback+0x11a
00000023A78FE9E0 00007FFE997F873B 00000170D34D60E0 0000000000000170 0000000000000020 00007FFE997F7220 obs.dll!process_found_module+0x34b
00000023A78FEAA0 00007FFE997F8A98 00000170D35193C0 00007FFE997F7220 00000023A78FEB30 0000000000000000 obs.dll!find_modules_in_path+0x2a8
00000023A78FEB10 00007FFE997F7518 00000170C50D5100 00000170C50D5100 00000023A78FEC70 00000170CC669920 obs.dll!obs_load_all_modules2+0x68
00000023A78FEB70 00007FF62C20ED25 00000170CC580620 00000170CC580620 00000023A78FF330 00007FFE8A305360 obs64.exe!OBSBasic::OBSInit+0x4c5
00000023A78FEDE0 00007FF62C3929F9 00007FF62C60E24D 00007FF62C60E24D 00000023A78FF5D0 FFFFFFFFFFFFFFFF obs64.exe!OBSApp::OBSInit+0x389
00000023A78FF0C0 00007FF62C3963F6 00000023A78FF510 0000017000000001 00000023A78FF528 00000170C500F860 obs64.exe!run_program+0xdd6
00000023A78FF4D0 00007FF62C397B2C 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!main+0x7ac
00000023A78FF6B0 00007FF62C40AC5D 0000000000000001 00007FF62C40A241 00000170C5034E40 00000170C5051070 obs64.exe!qtEntryPoint+0x15d
00000023A78FF740 00007FF62C40A1CA 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!__scrt_common_main_seh+0x106
00000023A78FF780 00007FFEBC54259D 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffebc54259d
00000023A78FF7B0 00007FFEBE34AF38 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffebe34af38
This looks similar to (Unicode symbols in the user path, characters not from English alphabet): https://github.com/obsproject/obs-websocket/issues/1244

but the second part:

Looks more like audio filter issue (especially for Global Audio device) in case you are running NVIDIA card and using Noise Suppression filter (or similar filter) for one of your sources. Was mentioned here: https://obsproject.com/forum/threads/obs-crashing-after-update-to-31-0-0.182468/post-667202 but the crash log in this case should be a bit different. Can you post the crash log from the safe mode launch of OBS as well?

Sure thing. Sorry for the delay. Looks like the crash in safe mode when clicking Settings is related to the Qt C++ library extension? Crash log attached.

I did notice posts about the NVIDIA card audio filter issue, so checked my setup and don't believe I'm using those specific filters. I am using RNNoise, but my impression was that it didn't have the same issue?

Thanks for the help and for everything you do in keeping this project healthy.
 

Attachments

  • Crash 2025-03-09 12-47-00.txt
    150 KB · Views: 17

Suslik V

Active Member
Code:
Thread 2438: (Crashed)
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
0000006531AFA8D0 00007FFEBB74FE3C 0000000000000001 00007FF64528FF74 0000000000000000 00007FF644F06B35 kernelbase.dll!0x7ffebb74fe3c
0000006531AFA9B0 00007FFEAAF15267 0000021DBFCDF660 0000021DBFCDF660 0000021DBFCDF660 0000000000000000 vcruntime140.dll!0x7ffeaaf15267
0000006531AFAA10 00007FF644F0B853 00007FF64528F090 0000006531AFAB79 0000006531AFAF80 0000021D82691A80 obs64.exe!OBSBasic::GetCurrentProfile+0x1e3
0000006531AFAAB0 00007FF64500DD44 0000000000000000 0000006531AFAC99 0000006531AFAF80 0000000000000000 obs64.exe!OBSBasicSettings::CreateEncoderPropertyView+0x84
0000006531AFABE0 00007FF64500E134 0000006531AFAF80 0000006531AFAF80 0000000000000000 0000000000000000 obs64.exe!OBSBasicSettings::LoadAdvOutputStreamingEncoderProperties+0x94
0000006531AFAD00 00007FF64500FEE8 0000000000000013 0000006531AFAF80 0000000000000000 0000000000000000 obs64.exe!OBSBasicSettings::LoadOutputSettings+0x78
0000006531AFAD30 00007FF645013A6F 0000021D824F0580 0000021D824F0580 0000006531AFAEA0 0000006531AFAFB0 obs64.exe!OBSBasicSettings::LoadSettings+0x4f
0000006531AFADA0 00007FF64500559F 0000006531AFAF08 0000021DF4B3CE98 0000000000000000 0000000000000004 obs64.exe!OBSBasicSettings::OBSBasicSettings+0x605f
0000006531AFAF00 00007FF644F4D99B 0000021DC29088E0 0000000000000000 0000021DC296B350 0000021DB887E320 obs64.exe!OBSBasic::on_action_Settings_triggered+0xab
0000006531AFB340 00007FFE020567A5 0000021DC28DCFE0 00007FFE00000010 0000000000000007 0000021D00000010 qt6core.dll!0x7ffe020567a5
0000006531AFB470 00007FFE02059494 0000000000000000 0000006531AFB569 0000021DC2913830 0000006531AFB618 qt6core.dll!0x7ffe02059494
0000006531AFB4A0 00007FFE020567A5 0000021DC29088E0 00007FFE00000009 0000000000000007 0000001800000003 qt6core.dll!0x7ffe020567a5
0000006531AFB5D0 00007FFE02059494 0000021DC2913A10 0000006531AFB701 0000021DC29040F0 0000006531AFB701 qt6core.dll!0x7ffe02059494
0000006531AFB600 00007FFE6973DE77 0000006531AFB700 0000021DC2913A10 0000021DC2913A10 0000021DC29088E0 qt6widgets.dll!0x7ffe6973de77
0000006531AFB640 00007FFE6973DB68 0000006531AFBC30 0000006531AFB729 0000021DC29088E0 00007FFE524B81BF qt6widgets.dll!0x7ffe6973db68
0000006531AFB670 00007FFE6973F080 0000000800000034 0000006531AFB729 0000021DB8896990 0000021DC29088E0 qt6widgets.dll!0x7ffe6973f080
0000006531AFB6B0 00007FFE69673AA5 0000021DB8896990 0000021DB88C3AE0 0000021DB8896990 0000021DC29088E0 qt6widgets.dll!0x7ffe69673aa5
0000006531AFB790 00007FFE69631D2E 0000006531AFBC30 0000006531AFB8C0 0000021DB88C3AE0 0000006531AFBC3B qt6widgets.dll!0x7ffe69631d2e
0000006531AFB7C0 00007FFE6962FF40 0000006500000000 0000021DC29088E0 0000006531AFBC30 0000000000000001 qt6widgets.dll!0x7ffe6962ff40
0000006531AFB9F0 00007FFE0201704F 0000021DBFDED7C0 00007FFE524BB799 00000000FFFFFFFF 0000000000000000 qt6core.dll!0x7ffe0201704f
0000006531AFBA60 00007FFE69635D5E 0000000000000000 0000000000000000 0000021DC29088E0 0000000000000000 qt6widgets.dll!0x7ffe69635d5e
0000006531AFBB30 00007FFE69696820 0000021DE188C0A0 00007FFE6972A564 0000021DB8896990 0000000000000000 qt6widgets.dll!0x7ffe69696820
0000006531AFBCF0 00007FFE6969406C 0000021DB8896990 0000021DB88C3AE0 0000021DB8896990 0000021DF46DE820 qt6widgets.dll!0x7ffe6969406c
0000006531AFBDF0 00007FFE69631D2E 0000021DB8896990 0000006531AFBF20 0000021DB88C3AE0 0000021DB8896990 qt6widgets.dll!0x7ffe69631d2e
0000006531AFBE20 00007FFE69630EB9 0000006531AFF8D0 0000021DF46DE820 0000006531AFC290 0000000000000000 qt6widgets.dll!0x7ffe69630eb9
0000006531AFC050 00007FFE0201704F 0000021DB88E61A0 0000021DBFCE1A10 0000021DB88E61A0 0000000000840036 qt6core.dll!0x7ffe0201704f
0000006531AFC0C0 00007FFE524D33C5 0000021DF4A1A2E8 0000000000000001 0000021DE188C0A0 0000021DB88714C0 qt6gui.dll!0x7ffe524d33c5
0000006531AFC3D0 00007FFE5252D9AC 0000021DF4B8AC10 0000006531AFC500 00000000000000A4 0000006531AFC500 qt6gui.dll!0x7ffe5252d9ac
0000006531AFC400 00007FFE02197AE9 0000000000000000 0000000000000000 0000021DF4B8AC10 0000021DB88EB6B0 qt6core.dll!0x7ffe02197ae9
0000006531AFF550 00007FFE5279AF89 00000000000000A4 0000021DF4B8AC10 0000021DB8896990 0000006531AFF620 qt6gui.dll!0x7ffe5279af89
0000006531AFF580 00007FFE0201E734 0000006531AFF620 0000021DB887E320 0000006531AFFB70 00007FFE0230B218 qt6core.dll!0x7ffe0201e734
0000006531AFF600 00007FFE02014A5D 00007FF64533E24D FFFFFFFFFFFFFFFF 0000000000000002 00007FF64533E24D qt6core.dll!0x7ffe02014a5d
0000006531AFF660 00007FF6450C64E0 0000006531AFFAB0 0000000000000001 0000006531AFFAC8 0000021DB88BA8C0 obs64.exe!run_program+0xec0
0000006531AFFA70 00007FF6450C7B2C 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!main+0x7ac
0000006531AFFC50 00007FF64513AC5D 0000000000000001 00007FF64513A241 0000021DB8896730 0000021DB8884D50 obs64.exe!qtEntryPoint+0x15d
0000006531AFFCE0 00007FF64513A1CA 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!__scrt_common_main_seh+0x106
0000006531AFFD20 00007FFEBC54259D 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffebc54259d
0000006531AFFD50 00007FFEBE34AF38 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffebe34af38
Yeah, not a filter. This is again about characters in the user path. This crash differs from the original bug ("websocket plugin" vs "OBS get saved encoder settings"). Probably, another bug but now in the main program.
 

Suslik V

Active Member
New OBS was released (v31.0.2) that includes fixes for websocket plugin and Unicode symbols in the path.
In case this new version still crashes for you in the part:
...but as soon as I click on Settings, it crashes then as well
then, please, post both crash report and OBS regular log file from this failed attempt to run application (find both logs by time and date).
 

vangarrd

New Member
Heya, team. I upgraded to 31.0.2 and got the crash on load situation again, 100% reproducible. Looks like it's still in websocket and related to the profile path. Crash log attached.

Is there any way I can manually avoid this by changing path name(s)? Would certainly like to get on the newer version.

Thanks for all the help!
 

Attachments

  • Crash 2025-03-25 22-53-51.txt
    68.9 KB · Views: 16

Suslik V

Active Member
Please, attach your log file from the folder: %APPDATA%\obs-studio\logs too.
Find right log-file by time and date. This may help to solve the problem.

Is there any way I can manually avoid this by changing path name(s)? Would certainly like to get on the newer version.
If you need features from new OBS you may try next:
  1. Make new user in Windows (with admin rights) and use simple name for this user. The user name itself should contain only letters from English alphabet. So, that the %APPDATA% in the file explorer resolves into the file path that doesn't contains Unicode symbols. Then you can try to run OBS from this new user account.
  2. Portable mode of OBS. For OBS running in portable mode, please, read after the "If it was not clear" words: https://obsproject.com/forum/threads/crash-with-«could-not-find-locale-ini-path»-when-opening-app-settings.82157/post-346499 or in the forum's Help https://obsproject.com/kb/portable-mode
 

vangarrd

New Member
Sure thing. Attached.

With regard to path, you can see in the log that the path doesn't contain Unicode symbols, so maybe something else is going on?
 

Attachments

  • 2025-03-25 22-53-48.txt
    9 KB · Views: 14

Suslik V

Active Member
What do you have written in the "global.ini" file of OBS in the section "[Basic]" parameter "Profile="? The file lies in the %APPDATA%\obs-studio folder in old OBS and somewhere in the profiles like %APPDATA%\obs-studio\basic\profiles for newer OBS (in other words - in v31.0.0-beta1 and newer, after the https://github.com/obsproject/obs-studio/commit/607d37b4235a998580e1629e4b4f7124d8adacec ). You may need to use notepad++ application to open this file in Windows OS with proper formatting (the LF end of line).

Also, if you have "[Locations]" section and the "Profiles=" parameter in the mentioned .ini files - is there any Unicode symbols or other anomalies?
 

vangarrd

New Member
Oh, interesting. I do have a space....

Code:
[Basic]
Profile=Primary backup
ProfileDir=Primary_backup
SceneCollection=Prime Stream
SceneCollectionFile=Prime_Stream
ConfigOnNewProfile=true

Could that be an issue? Should it have not worked with version 30.x as well, though?
 

Suslik V

Active Member
Is this "Primary_backup" folder exist in the %APPDATA%\obs-studio\basic\profiles directory?

About space symbol - it is normal. This is profile name form the "basic.ini" file of the mentioned profile folder. In your case it is expected that it will look like this:
Code:
[General]
Name=Primary backup
the value from the "basic.ini" file will be used in main menu Profile of OBS. The value from the "global.ini" will appear in the header of the OBS program window.
 

vangarrd

New Member
Is this "Primary_backup" folder exist in the %APPDATA%\obs-studio\basic\profiles directory?

Yes.

the value from the "basic.ini" file will be used in main menu Profile of OBS. The value from the "global.ini" will appear in the header of the OBS program window.

Ahh, ok, gotcha. I scanned through both global.ini and basic.ini and nothing looks amiss. Should I post them? Or, is there any other logs/files that would be helpful?

Thanks again.
 
Top