During program execution, my program just hangs. Doesn't crash, just sits there. I've double checked for infinite loops, but there aren't any. I've double checked memory allocation, but it's at a minimum anyway, and I see no reason why they should cause this problem. I thought maybe it was the computer I was using, so I tried another with the same result. What could be other causes of this? The "hang" seems to always happen at the same point which happens to be a memory allocation, however, the line in question is in a function that successfully completes several times prior to the hangup. I have checked to make sure I free all allocated memory. As I've developed the program, the function in question has ran without issue (it was one of the first function I wrote for this project) which leads me to believe the issue is elsewhere.

Any suggestions? I won't post all my code unless it would be necessary.

Thanks