1 (edited by lsmkenpo 2011-04-20 23:35:20)

I get an error whenever I try to track a path and advance the video a frame forward or play.



************** Exception Text **************
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at Emgu.CV.CvInvoke.cvMatchTemplate(IntPtr image, IntPtr templ, IntPtr result, TM_TYPE method)
   at Kinovea.ScreenManager.TrackerBlock2.Track(List`1 _previousPoints, Bitmap _CurrentImage, Int64 _t, AbstractTrackPoint& _currentPoint)
   at Kinovea.ScreenManager.Track.TrackCurrentPosition(Int64 _iCurrentTimestamp, Bitmap _bmpCurrent)
   at Kinovea.ScreenManager.PlayerScreenUserInterface.ShowNextFrame(Int64 _iSeekTarget, Boolean _bAllowUIUpdate)
   at Kinovea.ScreenManager.PlayerScreenUserInterface.buttonGotoNext_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




.........................................................................................................................................................................................
2011-04-20 18:17:58,767 - INFO  - Kinovea.Root.RootKernel - Kinovea version : 0.8.7, (Production)
2011-04-20 18:17:58,795 - INFO  - Kinovea.Root.RootKernel - .NET Framework Version : 2.0.50727.5420
2011-04-20 18:17:58,795 - INFO  - Kinovea.Root.RootKernel - OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
2011-04-20 18:17:58,844 - INFO  - Kinovea.Root.RootKernel - Primary Screen : {Width=1280, Height=1024}
2011-04-20 18:17:58,845 - INFO  - Kinovea.Root.RootKernel - Virtual Screen : {X=0,Y=0,Width=1280,Height=1024}
2011-04-20 18:18:19,561 - ERROR - Kinovea.ScreenManager.ColorProfile - Error happenned while parsing color profile. We'll keep the default values.
2011-04-20 18:18:19,561 - ERROR - Kinovea.ScreenManager.ColorProfile - File we tried to read was :C:\Users\Shane\AppData\Roaming\Kinovea\ColorProfiles\current.xml
2011-04-20 18:18:50,882 - ERROR - Kinovea.ScreenManager.PlayerScreenUserInterface - Error while painting image. Object is currently in use elsewhere... ATI Drivers ?
2011-04-20 18:19:00,388 - ERROR - Kinovea.ScreenManager.PlayerScreenUserInterface - Error while painting image. Object is currently in use elsewhere... ATI Drivers ?
2011-04-20 18:19:07,516 - ERROR - Kinovea.ScreenManager.PlayerScreenUserInterface - Error while painting image. Object is currently in use elsewhere... ATI Drivers ?

2

Hello, thanks for the report and the log.

Right now I can't think of any possible cause, could you please send a small (<2MB) sample by mail (joan at kinovea dot org).
I'll try to reproduce the crash on my side and trace the issue.

3

Bump.
Bug 253 is a similar issue but a different exception…
I'm looking for a log (at DEBUG verbose level) of this problem. (still can't reproduce)