title: Error in Capturing Frames in JavaCV
body: <p>All:</p>
  
  <p>I am running Windows XP (32 Bit) with 32 Bit Java and 32 Bit OpenCV 2.4.3. When I attempt to capture a video frame from an AVI with following code in Eclipse:</p>
  
  <pre><code>import com.googlecode.javacv.FrameGrabber.Exception;
  import com.googlecode.javacv.OpenCVFrameGrabber;
  
  public class FrameReader
  {
      public static void main(String[] args) throws Exception,
              InterruptedException
      {
  
  
           OpenCVFrameGrabber grabber = new OpenCVFrameGrabber("hall_gray.avi");        
           grabber.start();
           grabber .release();
          return;
      }//End method
  }//End class
  </code></pre>
  
  <p>The following error happens: </p>
  
  <p>========================== Start of Error =========================</p>
  
  <p>A fatal error has been detected by the Java Runtime Environment:</p>
  
  <p>EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c46fa3, pid=4776, tid=3392</p>
  
  <p>JRE version: 7.0_02-b13
   Java VM: Java HotSpot(TM) Client VM (22.0-b10 mixed mode, sharing windows-x86 )
   Problematic frame:
   C  [msvcrt.dll+0x36fa3]</p>
  
  <p>Failed to write core dump. Minidumps are not enabled by default on client versions of Windows</p>
  
  <p>An error report file with more information is saved as:
   C:\Java Projects\JavaCVTester\hs_err_pid4776.log</p>
  
  <p>If you would like to submit a bug report, please visit:
     <a href="http://bugreport.sun.com/bugreport/crash.jsp" rel="nofollow">http://bugreport.sun.com/bugreport/crash.jsp</a>
  The crash happened outside the Java Virtual Machine in native code.
  See problematic frame for where to report the bug.</p>
  
  <p>==================== End of Error Message ==================</p>
  
  <p>Could someone help me out on this issue?</p>
  
  <p>Thanks in advance.</p>