What are Bad file descriptor errors and how to solve them?

Hey,

I get a lot of these when running my application:

What are these and how to fix them?
The app runs fine so I can’t really see what’s going wrong.

Cheers!

Jasper