SceneSwitcher icon indicating copy to clipboard operation
SceneSwitcher copied to clipboard

Crash again after updated to 1.30.1

Open Alzyon opened this issue 7 months ago • 8 comments

Operating System Info

Windows 11

OBS Studio Version

31.0.3

Advanced Scene Switcher Version

1.30.1

Expected Behavior

Solve the crash problem.

Current Behavior

Hi,

Even after updated to 1.30.1, crashing again :

OBS 31.0.3 log file uploaded at 2025-06-08, 12:35:14

Unhandled exception: c0000005
Date/Time: 2025-06-01, 13:14:37
Fault address: 7FFDCA298CC0 (d:\obs-studio\obs-plugins\64bit\advanced-scene-switcher-lib.dll)
libobs version: 31.0.3 (64-bit)
Windows version: 10.0 build 26100 (release: 24H2; revision: 4202; 64-bit)
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz

Thread EB0: (Crashed)
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
000000666E8FBBF8 00007FFDCA298CC0 00000215730736A0 00007FFDCC64AD8A 0000000000000000 0000021573073698 advanced-scene-switcher-lib.dll!advss::MacroSegment::Enabled+0x0
000000666E8FBC00 00007FFDCA2627CB 0000000000000000 0000008A0000000E 000002150CC675F0 00007FF77144A948 advanced-scene-switcher-lib.dll!advss::MacroActionEdit::UpdateActionState+0x2b
000000666E8FBC30 00007FFDCB95680F 000002152969BF28 00007FFD00000003 0000000000000003 00007FFD00000001 qt6core.dll!0x7ffdcb95680f
000000666E8FBD60 00007FFDCB959494 00000215292180D0 000000666E8FBE40 000000666E8FC150 00007FFDCBA9D61B qt6core.dll!0x7ffdcb959494
000000666E8FBD90 00007FFDCB971C1F 000000666E8FBED0 000002152969BF28 000002152969BF28 0000000000000001 qt6core.dll!0x7ffdcb971c1f
000000666E8FBDD0 00007FFDCB9604C3 00000215481367B0 0000021548169CC0 000000666E8FC150 000002152969BF28 qt6core.dll!0x7ffdcb9604c3
000000666E8FBE60 00007FFDCC5F1D2E 00000215481367B0 000000666E8FBF90 0000021548169CC0 00007FFDCB958A22 qt6widgets.dll!0x7ffdcc5f1d2e
000000666E8FBE90 00007FFDCC5F0EB9 000000666E8FF930 000002152969BF28 000000666E8FC150 0000000000000000 qt6widgets.dll!0x7ffdcc5f0eb9
000000666E8FC0C0 00007FFDCB91704F 0000000000000000 00007FFE70B6C861 0000021529481CA0 00000000FFFFFFEB qt6core.dll!0x7ffdcb91704f
000000666E8FC130 00007FFDCBA9A128 0000021548169ED0 000000000000006C 000000666E8FC209 000000000000021E qt6core.dll!0x7ffdcba9a128
000000666E8FC180 00007FFDCBA986C2 0000000000000000 0000000000000001 0000000000000113 0000000000000000 qt6core.dll!0x7ffdcba986c2
000000666E8FC270 00007FFE70B6D159 000000666E8FC490 00007FFDCBA98140 0000000000100BF6 0000000000000000 user32.dll!0x7ffe70b6d159
000000666E8FC3D0 00007FFE70B6B152 000000666E8FC490 00000000000000A4 0000000000000000 000000666E8FC550 user32.dll!0x7ffe70b6b152
000000666E8FC450 00007FFDCBA97F87 0000000000000000 0000000000000000 0000021578666C70 0000021548183050 qt6core.dll!0x7ffdcba97f87
000000666E8FF5A0 00007FFDCC1DAF89 00000000000000A4 0000021578666C70 00000215481367B0 000000666E8FF670 qt6gui.dll!0x7ffdcc1daf89
000000666E8FF5D0 00007FFDCB91E734 000000666E8FF670 0000021548169ED0 000000666E8FFBD0 00007FFDCBC0B218 qt6core.dll!0x7ffdcb91e734
000000666E8FF650 00007FFDCB914A5D 0000021548160780 000002154B5E81B0 0000000000000002 0000021548160780 qt6core.dll!0x7ffdcb914a5d
000000666E8FF6B0 00007FF771646A6C 000000666E8FFB10 0000000000000001 000000666E8FFB28 000002154813E1E0 obs64.exe!run_program+0xd3c
000000666E8FFAD0 00007FF77164806C 0000000000000000 0000000000000000 0000000000000000 0000000000000001 obs64.exe!main+0x7ac
000000666E8FFCB0 00007FF7716BBB1D 0000000000000001 0000000000000000 0000021548136C10 000002154811FF30 obs64.exe!qtEntryPoint+0x15d
000000666E8FFD40 00007FF7716BB08A 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!__scrt_common_main_seh+0x106
000000666E8FFD80 00007FFE6FEAE8D7 0000000000000000 0000000000000000 000004F0FFFFFB30 000004D0FFFFFB30 kernel32.dll!0x7ffe6feae8d7
000000666E8FFDB0 00007FFE7211C34C 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffe7211c34c

Steps to Reproduce

  1. Delete or modify macro
  2. Crash when quit OBS Studio
  3. I start OBS studio, then click on quit, and it crashes again
  4. Start OBS Studio again
  5. Checked the Disable macro widget caching option
  6. Crash again when quit OBS Studio
  7. Deleted 2 macros and keeped Disable macro widget caching option
  8. Quit OBS Studio without crash
  9. Finally crash after Live

Alzyon avatar Jun 01 '25 11:06 Alzyon

EDIT : I've deactivated 2 macros that seemed to be the problem, and I don't seem to be having any more crashes. I'll leave this topic open for now..

EDIT 2 : I tried unchecking the Disable macro widget caching option, but the crash came back. And when I check the option again, there's no more crash when I quit OBS Studio.

EDIT 3 : I did a Live, and when I left OBS Studio I had a crash

Alzyon avatar Jun 01 '25 12:06 Alzyon

Thanks for reporting the problem!

Unfortunately, I have not been able to reproduce the issue on my side yet. Would you be willing to share your macros, just in case they are relevant for the reproduction?

WarmUpTill avatar Jun 01 '25 17:06 WarmUpTill

Hi WarmUpTill !

Maybe it's on my side. I'm going to run a few more tests to check that it's not due to one of my macros. If so, I'll send you the file about my macros. Anyway, thanks for your great plugin ! :)

Alzyon avatar Jun 02 '25 16:06 Alzyon

Hi,

I deactivated the Resizable bar option in the Bios because I had a big problem with it, and some macros that allowed you to change the category of games for Twitch automatically (there were about twenty of them...). I haven't yet mastered the variable system to be able to do this more easily, which is why I'd created the same macro for each game.

After a week, I can see that the problem hasn't reappeared, but I'll wait a bit longer and get back to you if it does. The problem was obviously on my end rather than with the update. Need to be confirmed.

Alzyon avatar Jun 07 '25 10:06 Alzyon

Thanks for letting me know!🙂

WarmUpTill avatar Jun 07 '25 11:06 WarmUpTill

Hi WarmUpTill !

Finally, I had another crash, only when I wanted to close OBS Studio, without having started Live. I just wanted to make some changes to the macros. :(

I added information to the log that I had forgotten to copy, on my 1st post. It says :

Unhandled exception: c0000005
Date/Time: 2025-06-01, 13:14:37
Fault address: 7FFDCA298CC0 (d:\obs-studio\obs-plugins\64bit\advanced-scene-switcher-lib.dll)
libobs version: 31.0.3 (64-bit)
Windows version: 10.0 build 26100 (release: 24H2; revision: 4202; 64-bit)
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 

So the problem is linked to this plugin, but I don't yet know what the reason is. I'm still testing, and if I don't find the problem, I'll share the file.

Alzyon avatar Jun 08 '25 10:06 Alzyon

Sorry for the spam, but I think I've got the start of something. In the log file, I noticed this part that talks about the same advanced-scene-switcher-lib.dll DLL that's causing the problem:

13:24:48.630: Skipping module '../../obs-plugins/64bit/advanced-scene-switcher-lib.dll', not an OBS plugin
13:24:48.635: [adv-ss] version: 1.30.1
13:24:48.635: [adv-ss] version: 93703c80bcba1e9bd59ec33991b9e079b1eb9727
13:24:48.636: [adv-ss] attempting to load "D:/obs-studio/obs-plugins/64bit/advanced-scene-switcher-plugins/advanced-scene-switcher-base.dll"
13:24:48.637: [adv-ss] successfully loaded "D:/obs-studio/obs-plugins/64bit/advanced-scene-switcher-plugins/advanced-scene-switcher-base.dll"
13:24:48.637: [adv-ss] attempting to load "D:/obs-studio/obs-plugins/64bit/advanced-scene-switcher-plugins/advanced-scene-switcher-http.dll"
13:24:48.639: [adv-ss] successfully loaded "D:/obs-studio/obs-plugins/64bit/advanced-scene-switcher-plugins/advanced-scene-switcher-http.dll"
[...]

Is this a mistake I should ignore ?

Initially, I installed this plugin with the installer, from Github.

Alzyon avatar Jun 08 '25 12:06 Alzyon

13:24:48.630: Skipping module '../../obs-plugins/64bit/advanced-scene-switcher-lib.dll', not an OBS plugin

That log message is normal and expected. (The file is indeed not an OBS plugin, but a library used by the Advanced Scene Switcher)

Sorry for the spam

No worries at all! I am very grateful that you are trying to figure out what is causing the crash!

WarmUpTill avatar Jun 08 '25 12:06 WarmUpTill

Hi WarmUpTill,

I can't say whether it's because of the latest update, but I haven't had any more crash problems. If that's the case, thank you ! ^^

I've also tested with OBS Studio 31.1.0 RC 1, and everything seems stable.

Alzyon avatar Jun 20 '25 14:06 Alzyon