You are not logged in.

#1 2013-04-25 05:41:18

axper
Member
Registered: 2013-01-25
Posts: 115

[SOLVED] Qtcreator won't start up: Timeout running '/usr/bin/g++'

I have no idea where to even start from or what to search for.

When running from terminal, qtcreator throws these lines (every few minutes) and doesn't start up:

$ qtcreator
QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): Timeout running '/usr/bin/g++'.
QProcess: Destroyed while process ("/usr/bin/g++") is still running.
QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): Timeout running '/usr/bin/g++'.
QProcess: Destroyed while process ("/usr/bin/g++") is still running.
QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): Timeout running '/usr/bin/g++'.
QProcess: Destroyed while process ("/usr/bin/g++") is still running.

There are no g++ processes before running qtcreator. After running it, I see new defunct g++ processes popping up (along with output above):

$ ps -ef|grep g++
void      1145  1126  0 09:23 pts/1    00:00:00 [g++] <defunct>
void      1234  1126  0 09:24 pts/1    00:00:00 [g++] <defunct>
void      1287  1126  0 09:25 pts/1    00:00:00 [g++] <defunct>
void      1389  1126  0 09:26 pts/1    00:00:00 [g++] <defunct>
void      1394   837  0 09:26 pts/0    00:00:00 grep --color=auto g++

This started a few days ago, probably after a recent update, I have a fully updated system. This doesn't happen on my other machine, but I can't find any difference. I even deleted QtCreator.conf and QtCreator.ini in ~/config/QtProject, but result is same. It didn't create new .conf and .ini files by the way.

Any help/advice on where to start debugging this is appreciated.

Last edited by axper (2013-05-04 11:28:15)

Offline

#2 2013-04-26 09:28:51

sschober
Member
Registered: 2009-11-05
Posts: 5

Re: [SOLVED] Qtcreator won't start up: Timeout running '/usr/bin/g++'

Same here.

Offline

#3 2013-05-01 14:50:03

K-4U
Member
Registered: 2013-04-25
Posts: 1

Re: [SOLVED] Qtcreator won't start up: Timeout running '/usr/bin/g++'

I have the same problem.
Well, at least, i also get this error:

% qtcreator             
QProcess: Destroyed while process is still running.
QProcess: Destroyed while process is still running.
Cannot update Qt version information: /usr/bin/qmake-qt4 cannot be run.
Cannot update Qt version information: /usr/bin/qmake cannot be run.
QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): Timeout running '/usr/bin/g++'.
QProcess: Destroyed while process is still running.

[Edit]
Hang on, update fixed it for me..

Last edited by K-4U (2013-05-01 15:32:40)

Offline

#4 2013-05-04 11:28:00

axper
Member
Registered: 2013-01-25
Posts: 115

Re: [SOLVED] Qtcreator won't start up: Timeout running '/usr/bin/g++'

I can confirm, latest update fixed this issue. Don't know which one exactly though.

Offline

Board footer

Powered by FluxBB