locaal-ai / obs-squawk

Real-time Text-to-Speech AI Engine built-in OBS, integrative and intuitive
GNU General Public License v2.0
22 stars 1 forks source link

Crashes in ucrtbase.dll #8

Open shvrn0 opened 2 months ago

shvrn0 commented 2 months ago

Hi there,

I tested the plugin for reading updates from a file during a two-hour stream on Windows 11 today. At some point, OBS started crashing, and it seems to be related to this plugin. The crashes occurred when the messages were added to the file. Although there are no logs of the OBS crash, I can see all the crashes in the Event Viewer. However, there is not much helpful information available.

Only:

Faulting application path: C:\Program Files\obs-studio\bin\64bit\obs64.exe Faulting module path: C:\Windows\System32\ucrtbase.dll

I will update this post and add new comments if I find more information after further testing.

royshil commented 1 month ago

i'm not seeing such a crash, but please provide any information when you have it 🙏

darkvaderzerotwo commented 1 month ago

I've had a few crashes, though i'm not certain it is to do with squawk (as i've also played around with the OCR too and i'm abusing it a bit). when it does this the thing I have noticed is something will pin a CPU to 100% and OBS will refuse to close. Is this what you've noticed as well @shvrn0? Another thing, possibly incidental is that the monitor sound from my OBS is quite broken up and rough sounding. when I have had a crash, the sound synthesis is particularly rough/sluggish. (I will open another ticket if this is incidental)

darkvaderzerotwo commented 1 month ago

Attaching a crash log, it just crashed on me a second ago (though CPU usage was normal, this was when closing) Crashlog.txt

royshil commented 1 month ago

@darkvaderzerotwo can you test the build on #10 once it's done building?

darkvaderzerotwo commented 1 month ago

I couldn't find a built binary/package on here (i'm new to github and i'm a bit lost) so I went the long way and downloaded and built the plug in from the branch you set up earlier. Sadly, it didn't resolve the issue and attached is a crashlog Crashlog2.txt for that new build, however I have pinned down how to reproduce the issue:

taxi01 commented 1 week ago

I also had this issue. I'm on the latest stable version of OBS, v 32.0.3, with ptz controls v0.15.4, websocket 5.0.1 and companion plugin. When i have localvocal with Large 1.5GB running on CUDA 12 as well, OBS crashes a minute after loading with no logs, same as OP. Logs have no record of crash. Windows event log also indicated the same as OP. Disabling/removing sqawk, obs works normally again with localvocal. Hardware, AMD CPU with 3080 GPU.