VRCOSC
VRCOSC copied to clipboard
Unhandled crash when modifying the chatbox timeline
How to replicate:
Open the timeline, leave it running for a while and randomly when trying to modify clip length or position (usually in a way that the current playing part of the timeline ends out of the clip) you may get this error.
Error is on:
//VRCOSC\VRCOSC.App\UI\Views\ChatBox\ChatBoxView.xaml.cs:402
private void TimelineContent_OnMouseMove(object sender, MouseEventArgs e)
{
if (draggingClip is null) return;
var layer = (int)Math.Floor(e.GetPosition(Timeline).Y / 50d);
if (draggingClip.Layer.Value == layer) return;
DragDrop.DoDragDrop(this, new object(), DragDropEffects.Move);
}
Notes:
Very hard to replicate, likely to be timing sensitive. Possible to be related to Windows11
Result:
Application exit, no traces in the logs
System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>