title: OpenCV 2.4.2 imshow causes crash
body: <p>I have this nasty problem with opencv 2.4.2. 
  I use VS 2012 to compile this short test programm.</p>
  
  <pre><code>#include &lt;cv.h&gt;
  #include &lt;cxcore.h&gt;
  #include &lt;highgui.h&gt;
  
  using namespace cv;
  
  int main()
  {
      Mat sudoku = imread("sudoku.jpg",0);
      namedWindow("Lines", CV_WINDOW_AUTOSIZE);
  
      imshow("Lines", sudoku);
  
  }
  </code></pre>
  
  <p>Imshow is the problem. When I remove it, it runs without any problem. I found a tip here which said to use debug libs instead but it didn't help.</p>