title: OpenCV crashing on cv.Resize
body: <p>When running OpenCV on Windows 7, using the standard python shell, I get the following behavior.</p>
  
  <pre><code>import cv
  im    = cv.LoadImageM("data/somefile.jpg")
  thumb = cv.CreateMat(im.rows/6, im.cols/6, im.type) 
  
  print "Before"
  cv.Resize(im, thumb)
  print "After"
  </code></pre>
  
  <p>Gives:</p>
  
  <pre><code>&gt;&gt;&gt; Before
  ========================= RESTART ==========================
  </code></pre>
  
  <p>No error is thrown, what should I look for? What causes such crashing in OpenCV/Python?</p>