Can't grab frame, what happend?

  1. your code could be at fault. show your code.