QTCreator 5.4.1 startup Segmentation Fault



  • 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



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



  • @hskoglund said:

    ./qtcreator.sh -noload Welcome

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



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



  • @hskoglund said:

    strace ./qtcreator.sh

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


  • Moderators

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



  • @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) +++
    


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



  • @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.



  • Hmmm, maybe try upgrading to Qt 5.5.1.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.