Adding an animated image to a picturebox to windows forms application gets crashed when it is attached to Application Verifier.

Answered Adding an animated image to a picturebox to windows forms application gets crashed when it is attached to Application Verifier.

  • Wednesday, April 11, 2012 9:28 AM
     
     
    Adding an animated image to a picturebox to windows forms application gets crashed when it is attached to Application Verifier.

    The following C# statement in the Form_load() event handler is causing the breakpoint..

    this.pictureBox1.Image = Properties.Resources.loader_img;


    Log of Application Verifier:
    ----------------------------

    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    - <avrf:logfile xmlns:avrf="Application Verifier">
    - <avrf:logSession TimeStarted="2012-04-11 : 14:40:39" PID="4000" Version="2">
    - <avrf:logEntry Time="2012-04-11 : 14:40:51" LayerName="Heaps" StopCode="0x13" Severity="Error">
      <avrf:message>First chance access violation for current stack trace.</avrf:message>
      <avrf:parameter1>ec80006 - Invalid address causing the exception.</avrf:parameter1>
      <avrf:parameter2>4deac97d - Code address executing the invalid access.</avrf:parameter2>
      <avrf:parameter3>12d164 - Exception record.</avrf:parameter3>
      <avrf:parameter4>12d180 - Context record.</avrf:parameter4>
    - <avrf:stackTrace>
      <avrf:trace>vrfcore!VfCoreRedirectedStopMessage+81 (d:\avrf\source\base\avrf\avrf30\vrfcore\stopredirect.cpp @ 103)</avrf:trace>
      <avrf:trace>vfbasics!VerifierStopMessage+292 (d:\avrf\source\base\avrf\avrf30\providers\basics\basics.c @ 1214)</avrf:trace>
      <avrf:trace>vfbasics!AVrfpCheckFirstChanceException+c8 (d:\avrf\source\base\avrf\vrfcommon\support.c @ 1108)</avrf:trace>
      <avrf:trace>vfbasics!AVrfpVectoredExceptionHandler+16 (d:\avrf\source\base\avrf\vrfcommon\support.c @ 323)</avrf:trace>
      <avrf:trace>ntdll!RtlIpv4StringToAddressExW+a35d ( @ 0)</avrf:trace>
      <avrf:trace>ntdll!RtlSubtreePredecessor+33e ( @ 0)</avrf:trace>
      <avrf:trace>ntdll!RtlSubtreePredecessor+195 ( @ 0)</avrf:trace>
      <avrf:trace>ntdll!KiUserExceptionDispatcher+e ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipCloneBitmapArea+a3d13 ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipCloneBitmapArea+a5084 ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipCloneBitmapArea+a4b68 ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipCloneBitmapArea+55cfe ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipCloneBitmapArea+56428 ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipDrawLine+46c ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipDrawLine+3c0 ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipSetClipRegion+ba59 ( @ 0)</avrf:trace>
      <avrf:trace>gdiplus!GdipCloneBitmapArea+d8aa ( @ 0)</avrf:trace>
      </avrf:stackTrace>
      </avrf:logEntry>
      </avrf:logSession>
      </avrf:logfile>

All Replies