1

I am trying to do annotations of videos with total keyframes in the hundreds. I've reached a point where adding a handful of new keyframes crashes the program. Adding a new keyframe while I already have close to 90 adds 500 - 1000 user handles, which after doing that a few times hits the windows limit of 10,000. The crash log points me to the same conclusion.

All the log files are the same and look like this.

Message: Error creating window handle.
Source: System.Windows.Forms
Target site: Void CreateHandle(System.Windows.Forms.CreateParams)
InnerException:
Stack:    at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Control.CreateGraphicsInternal()
   at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
   at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at Kinovea.Root.Program.Main()

2

Sorry about the crash. I think it's likely related to the thumbnails that are created for each key frame, both in the bottom area and the side area. Not sure what the best solution is to address this.

3

Thanks, yeah that could be the case. What's odd is that every time a new keyframe is added, the handles only reduce by a few and then jump up by the hundreds. They don't start out at an extreme level when the file is reopened after closing kinovea. It seems like they just don't all get released when a new one is added. Maybe there is something that could be done about that?