- 
                Notifications
    
You must be signed in to change notification settings  - Fork 294
 
Description
Hi,
We have a very large and complex solution which does quite a lot of bitmap handling and graphics display etc. One of the things we do is to display on a win2d canvas a number of shapes including polygons. We are suffering occasionally and completely randomly, pauses in our application of about 8 seconds, then things start running again. It I hit break when this pause happens, we are always at the same line:
Using pb As New Microsoft.Graphics.Canvas.Geometry.CanvasPathBuilder(args.DrawingSession.Device)
Often while everything is stuck, we usually see an error showing in the output window every 2 seconds:
EventSource Error: ERROR: Exception during EventCounter cpu-usage metricProvider callback: Attempted to divide by zero
The dispatcher also gets stuck during the pause.
There seems to be little information about this error.
Generally, if we try to reduce how much drawing is going on, we see a reduction in the frequency of the problem, but I cannot find any particular trigger.
Are there any possible explanations for this or does anyone know a bit more about this error and where it might be coming from?
Thanks.