univrsal / spectralizer

Audio visualizer plugin for obs-studio
GNU General Public License v2.0
589 stars 57 forks source link

64bit OBS transition to a scene with Spectralizer causes crash #50

Open arne182 opened 3 years ago

arne182 commented 3 years ago

Using the 32bit OBS version does help but it is not perfect and crashes occasionally

Unhandled exception: c0000005 Date/Time: 2021-02-26, 09:44:31 Fault address: 7FFC848733B8 (c:\windows\system32\d3d11.dll) libobs version: 26.1.1 (64-bit) Windows version: 10.0 build 18363 (release: 1909; revision: 1379; 64-bit) CPU: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz

Thread 36B4 (Crashed) Stack EIP Arg0 Arg1 Arg2 Arg3 Address 000000760747F2E0 00007FFC848733B8 000000760747F3B8 000002383A360880 000002382BF32140 000002383A35FDC0 d3d11.dll!0x7ffc848733b8 000000760747F370 00007FFC5E80B37C 0000000000000003 000002382BF32140 0000000000000003 0000000000000003 libobs-d3d11.dll!gs_device::LoadVertexBufferData+0x1fc 000000760747F420 00007FFC5E80C942 000002382BF32140 0000000000000000 000002382F06E9A0 0000000000000001 libobs-d3d11.dll!device_draw+0x82 000000760747F480 00007FFC534000EA 000002382BDC77E8 000002382EDE53F0 000002382F06EC60 000002382F06EC60 obs.dll!render_convert_plane+0x7a 000000760747F4B0 00007FFC53400210 000002382BDC77E8 0000000000000000 0000000000000000 0000000000000000 obs.dll!render_convert_texture+0xf0 000000760747F530 00007FFC534006C6 0000000000000000 000000760747F680 000002382BDC77E8 0000000000000001 obs.dll!render_video+0x146 000000760747F580 00007FFC533FFC80 0000000000000000 0000000000000000 0000000000000001 0000000000000001 obs.dll!output_frame+0xa0 000000760747F6C0 00007FFC533FFA40 000002382ED93A80 0000000000000000 0000000000000000 0000000000000000 obs.dll!obs_graphics_thread_loop+0x170 000000760747F750 00007FFC533FF89D 000002382C05FF80 000002382C05FF80 0000000000000000 00007FFC86BDE6E1 obs.dll!obs_graphics_thread+0x12d 000000760747F810 00007FFC77095924 0000000000000000 000002382C5583F0 0000000000000000 0000000000000000 w32-pthreads.dll!ptw32_threadStart+0x74 000000760747F890 00007FFC86BF10B2 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ucrtbase.dll!0x7ffc86bf10b2 000000760747F8C0 00007FFC87257C24 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffc87257c24 000000760747F8F0 00007FFC8912D721 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffc8912d721

00007FFC51570000-00007FFC5158E000 C:\Program Files (x86)\obs-studio\obs-plugins\64bit\spectralizer.dll

arne182 commented 3 years ago

Looks like the issue is when bringing the transition on air after you have started the virtual webcam. Starting the virtual webcam with the plugin already loaded looks to fix the issue in most cases.

univrsal commented 3 years ago

I don't really have a clue as to what's causing this

arne182 commented 3 years ago

any idea of how to debug what is going on?

univrsal commented 3 years ago

Not really unless you want to setup an obs development environment and even then it's gonna be hard if it's not easily reproducible.

web-dave commented 3 years ago

I have the same issue. OBS 26.1.1 64bit

This happens only while livestreaming. :(

We can have a session to reproduce it. Tell me how to debug.