I've been working on a program for a few days and making very little headway. I'm writing it in C++ with Qt and OpenGL on Ubuntu Linux. I have basically taken two programs and tied them together, so there is some code in there I didn't write. The problem is that every so often the program completely freezes up the computer such that I have to hard kill the computer. I don't even know how to approach solving the bug because I can't find what makes the computer freeze for sure. It seems to freeze in a different place every time. Plus, the debugger I have is a piece of crap.
I don't think it's a memory issue (the program is fairly memory and CPU intensive.) It may be that my machine doesn't have the required hardware (it's not exactly what you'd call "state-of-the-art",) but I don't think that's it either.
So my question is has anybody ever had anything like this before? What was the fix?
I can't post any code for two reasons. The first is that it's not on this computer, and I can't get to the computer it's on right now. The second is that, not knowing where to begin, I'd have to post the majority of the program to help much, and nobody wants to have to read through that much code.
I'm sorry the question is so vague, but I'm really stumped, and I really don't even know where to begin. And if this isn't in the right forum, I'll move it.