There is something about spending too much time on the same problem that may drive a person insane. I think it might create deep valleys over certain neural pathways that are shared with other important functions. For example after a year of grinding on the same problem of "get job" my mind has become hyper sensitive to patterns and hidden meanings like never before. I'll see a leaf blowing in the wind and my mind will sometimes slip into interpreting it as some symbolic message from the universe to help me find a job. In a way I can sort of understand these homeless guys that walk the streets talking to themselves - they might just be further along, so deep in this pattern recognition psychosis from trying to survive that their brains are telling them the whole world is talking to them directly.