Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QTCreator 5.4.1 startup Segmentation Fault
Qt 6.11 is out! See what's new in the release blog

QTCreator 5.4.1 startup Segmentation Fault

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
10 Posts 3 Posters 3.8k Views
  • 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.
  • Simo80S Offline
    Simo80S Offline
    Simo80
    wrote on last edited by
    #1

    Hi,
    I'm new.
    I have a problem with XUbuntu and QtCreator.
    when I try to startup qtCreator by script qtcreator.sh in Qt5.4.1/Tools/QtCreator/bin/ I receive this message:

    QFactoryLoader::QFactoryLoader() checking directory path "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqeglfs.so"
    Found metadata in lib /home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqeglfs.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "eglfs"
            ]
        },
        "className": "QEglFSIntegrationPlugin",
        "debug": false,
        "version": 328705
    }
    
    
    Got keys from plugin meta data ("eglfs")
    QFactoryLoader::QFactoryLoader() looking at "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqlinuxfb.so"
    Found metadata in lib /home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqlinuxfb.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "linuxfb"
            ]
        },
        "className": "QLinuxFbIntegrationPlugin",
        "debug": false,
        "version": 328705
    }
    
    
    Got keys from plugin meta data ("linuxfb")
    QFactoryLoader::QFactoryLoader() looking at "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqminimal.so"
    Found metadata in lib /home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqminimal.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "className": "QMinimalIntegrationPlugin",
        "debug": false,
        "version": 328705
    }
    
    
    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqminimalegl.so"
    Found metadata in lib /home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqminimalegl.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "minimalegl"
            ]
        },
        "className": "QMinimalEglIntegrationPlugin",
        "debug": false,
        "version": 328705
    }
    
    
    Got keys from plugin meta data ("minimalegl")
    QFactoryLoader::QFactoryLoader() looking at "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqoffscreen.so"
    Found metadata in lib /home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqoffscreen.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "className": "QOffscreenIntegrationPlugin",
        "debug": false,
        "version": 328705
    }
    
    
    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() looking at "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqxcb.so"
    Found metadata in lib /home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqxcb.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "xcb"
            ]
        },
        "className": "QXcbIntegrationPlugin",
        "debug": false,
        "version": 328705
    }
    
    
    Got keys from plugin meta data ("xcb")
    QFactoryLoader::QFactoryLoader() checking directory path "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/platforms" ...
    loaded library "/home/pluservice/Qt5.4.1/Tools/QtCreator/bin/plugins/platforms/libqxcb.so"
    Errore di segmentazione (core dump creato)
    

    thanks

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, just guessing but you try starting Qt Creator without the Welcome plugin, type this in Terminal:
      ./qtcreator.sh -noload Welcome

      1 Reply Last reply
      0
      • Simo80S Offline
        Simo80S Offline
        Simo80
        wrote on last edited by
        #3

        @hskoglund said:

        ./qtcreator.sh -noload Welcome

        thanks for reply.
        but It doesn't resolve the problem

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #4

          Ok, maybe time for some diagnostics to see where the problem is:
          strace ./qtcreator.sh

          1 Reply Last reply
          0
          • Simo80S Offline
            Simo80S Offline
            Simo80
            wrote on last edited by
            #5

            @hskoglund said:

            strace ./qtcreator.sh

            I can't add the strace dump, it's out of max lenght

            1 Reply Last reply
            0
            • jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Interesting is usually what is at the end where the application crashes.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Simo80S Offline
                Simo80S Offline
                Simo80
                wrote on last edited by
                #7

                @jsulm said:

                Interesting is usually what is at the end where the application crashes

                ok

                writev(3, [{"\203\1\6\0\17\0\0\0", 8}, {"XInputExtension", 15}, {"\0", 1}], 3) = 24
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"b\1\6\0\17\0\0\0", 8}, {"XInputExtension", 15}, {"\0", 1}], 3) = 24
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"b\1\10\0\27\0\0\0", 8}, {"Generic Event Extension", 23}, {"\0", 1}], 3) = 32
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\200\0\2\0\1\0\0\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\203\1\6\0\17\0\0\0", 8}, {"XInputExtension", 15}, {"\0", 1}], 3) = 24
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\203/\2\0\2\0\2\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\2030\2\0\0\0\2\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\2030\2\0\4\0\2\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\2030\2\0\10\0\2\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\201\0\1\0", 4}], 1)       = 4
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                futex(0xbfca6ecc, FUTEX_WAKE_PRIVATE, 1) = 1
                futex(0xbfca6ed0, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 0
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\207\0\2\0\1\0\0\0", 8}], 1) = 8
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                futex(0xbfca6e5c, FUTEX_WAKE_PRIVATE, 1) = 1
                futex(0xbfca6e60, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 0
                poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
                writev(3, [{"\207\1\4\0\0\1\7\0\0\0\7\0\377\0\377\0+\0\1\0", 20}], 1) = 20
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 1
                futex(0xbfca6e5c, FUTEX_WAKE_PRIVATE, 1) = 1
                futex(0xbfca6e60, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
                futex(0x80a25ec, FUTEX_WAKE_PRIVATE, 1) = 0
                --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xc} ---
                +++ killed by SIGSEGV (core dumped) +++
                
                1 Reply Last reply
                0
                • hskoglundH Offline
                  hskoglundH Offline
                  hskoglund
                  wrote on last edited by
                  #8

                  Hi just guessing (again!) but when googling, some people recommend typing this in Terminal:
                  sudo apt-get install libx11-xcb1

                  1 Reply Last reply
                  0
                  • Simo80S Offline
                    Simo80S Offline
                    Simo80
                    wrote on last edited by Simo80
                    #9

                    @hskoglund said:

                    sudo apt-get install libx11-xcb1

                    Ok
                    I try it but nothing.
                    for a moment qtCreator started but after crash and the problem come back.

                    1 Reply Last reply
                    0
                    • hskoglundH Offline
                      hskoglundH Offline
                      hskoglund
                      wrote on last edited by
                      #10

                      Hmmm, maybe try upgrading to Qt 5.5.1.

                      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