QtCreator has segmentation fault on Ubuntu 12.04 64 bit
-
I have a laptop with dual boot (Ubuntu 14.04 and 12.04 64 bit). In 14.04 I have no problems, but in 12.04 (kernel 3.8.0-44-generic) I installed qtcreator from the standard repository but it does not start. It quits with a segmentation fault.
The first lines from the backtrace output of gdb is:Program received signal SIGSEGV, Segmentation fault.
0x00007fffd8c5c494 in DBusMenuExporter::setStatus(QString const&) ()
from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
(gdb) bt
#0 0x00007fffd8c5c494 in DBusMenuExporter::setStatus(QString const&) ()
from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
#1 0x00007ffff681b566 in QFactoryLoader::instance(QString const&) const ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2 0x00007ffff714fd62 in QIcon::addFile(QString const&, QSize const&, QIcon::Mode, QIcon::State) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3 0x00007ffff715009a in QIcon::QIcon(QString const&) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4Any ideas about this problem? Thanks!
-
Hi,
Can you run ldd on your Qt Creator executable ?
-
Hi, thanks for your interest. I found the problem. My computer had a dual boot (Ubuntu 12 and 14) with a shared /home folder. It seems that on Ubuntu 12 I did not have read/write permission on the hidden folder .config/Nokia and it caused the segfault. I discovered the problem running qtcreator with sudo.
-
Good catch !
Since you have found the reason, please mark the thread as solved using the "Topic Tool" button so other forum users may know as solution has been found :)