I was developing a OpenGL program with Qt Creator and then a very strange fact happened.
My program was working, but now it isn’t. I didn’t perform any changes on it. Just to be sure, now I use an older version. It doesn’t work anymore either. So, I decided do debug my application and realized that was occurring a Segfault. I wrote a qDebug() <<(...) in the first line of the main function, but nothing appears on the screen.
I had a similar segfault failure (when nothing is executed) once due to a huge static allocation. I’ve looked for similar issues in my code and was unable to find it.
Anyone has any idea what is going on?
I am using QtCreator with Qt 4.7 and Ubuntu 12.04.
I solved it reinstalling Qt. I believe I’ve messed its libraries when I was updating some programs. Hope it helps another people with similar issues! Thanks for the comments!