[GH-ISSUE #1022] App crashes when adding keystrokes to a recording. #2897

Closed
opened 2026-03-01 19:04:10 +03:00 by kerem · 0 comments
Owner

Originally created by @ascott18 on GitHub (Dec 17, 2021).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1022

  1. Take a recording
  2. Add keystrokes overlay
  3. Crash:
    image

I'm unable to get the details, or to send a report, from the crash dialog. The crash dialog itself is completely frozen and disappears after about 3 seconds.

From event viewer:

Application: ScreenToGif.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException

Server stack trace: 
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at ScreenToGif.Windows.Editor.KeyStrokesAsync(KeyStrokesViewModel model)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(System.Runtime.Remoting.Messaging.Message, Boolean)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(System.Object, System.Runtime.Remoting.Proxies.MessageData ByRef)
   at ScreenToGif.Windows.Editor+KeyStrokesDelegate.EndInvoke(System.IAsyncResult)
   at ScreenToGif.Windows.Editor.KeyStrokesCallback(System.IAsyncResult)
   at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
Faulting application name: ScreenToGif.exe, version: 2.34.1.0, time stamp: 0x6188292e
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1348, time stamp: 0x76fcd692
Exception code: 0xe0434352
Fault offset: 0x0000000000034f69
Faulting process id: 0xa75c
Faulting application start time: 0x01d7f36808792eb7
Faulting application path: C:\Files\bin\ScreenToGif.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: b4d1a869-06a7-49ca-b2ad-a2aa1ac4306e
Faulting package full name: 
Faulting package-relative application ID: 
Originally created by @ascott18 on GitHub (Dec 17, 2021). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1022 1. Take a recording 2. Add keystrokes overlay 3. Crash: ![image](https://user-images.githubusercontent.com/5017521/146581413-48d1378c-9e05-4082-90fa-5306d5763693.png) I'm unable to get the details, or to send a report, from the crash dialog. The crash dialog itself is completely frozen and disappears after about 3 seconds. From event viewer: ``` Application: ScreenToGif.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException Server stack trace: at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at ScreenToGif.Windows.Editor.KeyStrokesAsync(KeyStrokesViewModel model) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(System.Runtime.Remoting.Messaging.Message, Boolean) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(System.Object, System.Runtime.Remoting.Proxies.MessageData ByRef) at ScreenToGif.Windows.Editor+KeyStrokesDelegate.EndInvoke(System.IAsyncResult) at ScreenToGif.Windows.Editor.KeyStrokesCallback(System.IAsyncResult) at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() ``` ``` Faulting application name: ScreenToGif.exe, version: 2.34.1.0, time stamp: 0x6188292e Faulting module name: KERNELBASE.dll, version: 10.0.19041.1348, time stamp: 0x76fcd692 Exception code: 0xe0434352 Fault offset: 0x0000000000034f69 Faulting process id: 0xa75c Faulting application start time: 0x01d7f36808792eb7 Faulting application path: C:\Files\bin\ScreenToGif.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: b4d1a869-06a7-49ca-b2ad-a2aa1ac4306e Faulting package full name: Faulting package-relative application ID: ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#2897
No description provided.