Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtCreator has segmentation fault on Ubuntu 12.04 64 bit

QtCreator has segmentation fault on Ubuntu 12.04 64 bit

Scheduled Pinned Locked Moved Solved General and Desktop
qtcreatorubuntu 12.04segfault
4 Posts 2 Posters 3.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rastaxe
    wrote on last edited by
    #1

    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.4

    Any ideas about this problem? Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you run ldd on your Qt Creator executable ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rastaxe
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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 :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved