Open LosTigeros opened 5 years ago
As you may have guessed it's somehow caused by SC ingame overlay plugin, so as a start disabling it will allow you to run SC.
Were you able to run it successfully in the past? (if not please provide your pc specs)
Are you sure you're not running out of memory? (Exception Type: System.OutOfMemoryException
)
There's also System.StackOverflowException
in the logs but I don't have any recursive calls that could cause this in overlay code.
It runs fine if I start SC first and then osu! client.
It runs fine but if you want to be sure here are my specs: CPU: FX-6300 overclocked to 4.1GHz (25°C now so not overheating) GPU: Radeon R9 270 on 18.12.11 drivers (latest ones have bug with alt tabbing which takes like 8 seconds) RAM: 8GB 1866MHz (available over 4GB where I have more things opened now) SSD: 37GB free HDD: 37.6GB free; 660GB free
And I'm 100% sure that I'm not running out of memory.
I remember that my app was throwing System.OutOfMemoryException
when it tried to load corrupted image so I'm pretty sure it's not because of available RAM on PC itself.
Just to let you know - osu! is alt-tabbed when it crashes (but it's not a rule because it crashed before to me when I had it on fullscreen before SC loaded).
Oh and in OBS with unchecked Capture third-party overlays
SC overlay is flickering (where I think it shouldn't be visible at all).
And I have a dmp file created while it crashed.
I remember that my app was throwing System.OutOfMemoryException when it tried to load corrupted image so I'm pretty sure it's not because of available RAM on PC itself.
Is it possible you have a corrupt install as well? Try a fresh install and see if that changes anything.
Just to let you know - osu! is alt-tabbed when it crashes
Seems like its possible that the graphics memory is protected when its tabbed out, which would make sense of the access violation, but I haven't seen a case yet of that happening myself.
Is it possible you have a corrupt install as well? Try a fresh install and see if that changes anything.
I think it's rather corrupted image in some beatmap which causes that exception to raise because as you can see it's being catched by internal code in osu!
Fresh install didn't change anything.
My map matching tab:
My output patterns:
I think it's rather corrupted image in some beatmap which causes that exception to raise because as you can see it's being catched by internal code in osu!
OpenTK.Platform.Windows.Functions.SwapBuffers(IntPtr)
is a method that is hooked by overlay dll(and where all drawing happens - calculating/pooling is mostly working on separate thread), so sadly I wouldn't say that it is corrupted image.
When I'll start it again - it works fine.
Maybe it's somehow related to memory mapped files, with aren't created by SC until first osu! event is sent(so usually few seconds after starting SC). I'll test that right now.
I was saying about that System.OutOfMemoryException
exception, not System.AccessViolationException
caused by overlay.
I was debugging osu! process, not SC so there might be some exceptions outside that OpenTK method
Managed to reproduce using your exact steps. when you skip obs at start(and start it after osu/SC) it works just fine. Not exactly sure what in obs could be causing something like this.
If I'd have debug symbols for osuOverlay dll then maybe there'd be something in there x;
See your discord DMs.
@Piotrekol I have this issue too!
When I open it osu! keep crashing!
My osu! client always crashes when I'll open StreamCompanion while both osu! (latest stable) and OBS (22.0.2 latest stable) are running.
Previous .NET Exceptions Report (Exceptions in all .NET Thread Stacks)
Previous .NET Exceptions Report (Exceptions in all .NET Heaps)
Exception Information WARNING - DebugDiag was not able to locate debug symbols for D:\Program Files (x86)\StreamCompanion\Plugins\Dlls\osuOverlay.dll, so the information below may be incomplete.
In osu!PID14040Date02_11_2019__Time_12_23_04PM956Second_Chance_Exception_C0000005.dmp the Module D:\Program Files (x86)\StreamCompanion\Plugins\Dlls\osuOverlay.dll has caused an access violation exception (0xC0000005) when trying to execute instructions from a non-executable address at memory location 0x0a501cc0 on thread 0