Results 1 to 2 of 2

Thread: Segmentation fault when installing QtIFW on Linux

  1. #1
    Join Date
    Sep 2015
    Posts
    2
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Segmentation fault when installing QtIFW on Linux

    Hello to everyone,

    I am currently trying to install Qt Installer Framework on a Linux virtual machine (Debian 8.2 amd64).
    However, whenever I try to execute Qt Installer Framework setup (V2.0.1) I get a segmentation fault.
    For information, I try to install only the 32bit version of Qt Installer Framework, in order to create 32bit setups only.

    Of course, my virtual machine has the i386 libraries installed and 32bit application can run (mine works fine even compiled in 32bit).
    All libraries required by the Qt Installer Framework setup are installed (I saw it with ldd)

    I made some tests : it seems I can run 64bit versions of the setup correctly (QtIFW and QtCreator (itself made with QtITW)).
    The 32bit versions of these setups do not work however : always return with segmentation fault.

    To get details on the crash, I execute the command "./qt-installer-framework-opensource-2.0.1-x86.run -v" and get the following output:
    IFW Version: "2.0.1"
    Build date: "Jun 1 2015"
    Installer Framework SHA1: "4d8d527"
    [0] Language: fr-FR
    [0] Arguments: ./qt-installer-framework-opensource-2.0.1-x86.run, -v
    [0] Operations sanity check succeeded.
    [0] Resource tree:
    [1] :/translations
    [1] :/translations/de.qm
    [2] :/translations/en.qm
    [3] :/translations/fr.qm
    [3] :/translations/ja.qm
    [4] :/translations/it.qm
    [4] :/translations/pl.qm
    [6] :/translations/ru.qm
    [7] :/translations/qt_de.qm
    [7] :/translations/qt_fr.qm
    [8] :/translations/qt_ja.qm
    [10] :/translations/qt_it.qm
    [11] :/translations/qt_pl.qm
    [12] :/translations/qt_ru.qm
    [12] :/translations/zh_CN.qm
    [12] :/translations/qt_zh_CN.qm
    [12] :/installer.png
    [12] :/installer.ico
    [12] :/installer.icns
    [20] :/metadata
    [20] :/metadata/rccprojectZ21003.qrc
    [20] :/metadata/config
    [20] :/metadata/config/config-internal.ini
    [20] :/metadata/installer-config
    [20] :/metadata/installer-config/watermark_png.png
    [20] :/metadata/installer-config/config.xml
    [20] :/metadata/Updates.xml
    [20] :/metadata/org.qtproject.ifw
    [20] :/metadata/org.qtproject.ifw/3RDPARTY
    [20] :/metadata/org.qtproject.ifw/LICENSE.LGPLv3
    [20] :/metadata/org.qtproject.ifw/installscript.qs
    [20] :/metadata/org.qtproject.ifw/LICENSE.LGPLv21
    [20] :/metadata/org.qtproject.ifw/LGPL_EXCEPTION.txt
    Erreur de segmentation
    For information too; on another linux machine (Linux Mint amd64) the 32bit setups works perfectly.
    So I suppose the problem comes from Debian where less libraries are installed by default.

    So, has anyone of you an idea on my problem ?

    Thank you and sorry for my bad English,
    Mimi76

  2. #2
    Join Date
    Sep 2015
    Posts
    2
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Segmentation fault when installing QtIFW on Linux

    I found !

    For those interested; since dmesg did not gave me any answer, I lauched my setup with gdb:

    gdb-multiarch qt-installer-framework-opensource-2.0.1-x86.run

    (gdb) run
    Starting program: /media/virtuel/8fdf4a10-a739-4c0a-bc20-ee194ab6a6c9/temp/qt-installer-framework-opensource-2.0.1-x86.run
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0xf781ab40 (LWP 1873)]
    [New Thread 0xf6cafb40 (LWP 1874)]

    Program received signal SIGSEGV, Segmentation fault.
    0x08b600c3 in QDBusAbstractInterface::callWithArgumentList(QDBus ::CallMode, QString const&, QList<QVariant> const&) ()
    (gdb) bt
    #0 0x08b600c3 in QDBusAbstractInterface::callWithArgumentList(QDBus ::CallMode, QString const&, QList<QVariant> const&) ()
    #1 0x08b60990 in QDBusAbstractInterface::internalConstCall(QDBus::C allMode, QString const&, QList<QVariant> const&) const ()
    #2 0x08b461a3 in QDBusConnectionInterface::isServiceRegistered(QStr ing const&) const ()
    #3 0x08b1831f in DBusConnection:BusConnection(QObject*) ()
    #4 0x08b0cee5 in QSpiAccessibleBridge::QSpiAccessibleBridge() ()
    #5 0x08a9e676 in QXcbIntegration::accessibility() const ()
    #6 0x08b9b586 in QAccessible::updateAccessibility(QAccessibleEvent* ) ()
    #7 0x083a7ddf in QAbstractButton::setText(QString const&) ()
    #8 0x08502c2c in QWizardPrivate::ensureButton(QWizard::WizardButton ) const ()
    #9 0x08505d0c in QWizardPrivate::init() ()
    #10 0x080c7fce in QInstaller::PackageManagerGui::PackageManagerGui(Q Installer::PackageManagerCore*, QWidget*) ()
    #11 0x0807611e in InstallerGui::InstallerGui(QInstaller::PackageMana gerCore*) ()
    #12 0x080712c6 in InstallerBase::run() ()
    #13 0x0806a9f9 in main ()
    Seeing it was comming from QDBus, I looked for libdbus* on my machine debian and my machine mint.
    Only mint add the /lib/i386-linux-gnu/libdbus-1.so.3 file.

    So I installed the DBus library:
    sudo apt-get install libdbus-1-3:i386
    And now it works!

    Bye Mimi76

    PS: Sorry I do not know how to close/mark as solved the topic.

Similar Threads

  1. Replies: 1
    Last Post: 19th May 2010, 14:45
  2. segmentation fault!!
    By Yayati.Ekbote in forum Qt Programming
    Replies: 4
    Last Post: 24th March 2010, 15:10
  3. linux "Segmentation fault"
    By harrison in forum Newbie
    Replies: 5
    Last Post: 3rd March 2010, 09:33
  4. Segmentation fault regarding QString in Qt/linux
    By payal in forum Qt Programming
    Replies: 14
    Last Post: 25th February 2010, 07:42
  5. Segmentation fault
    By MarkoSan in forum Qt Programming
    Replies: 23
    Last Post: 19th October 2008, 22:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.