Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Segmentation fault when running online installer
Forum Updated to NodeBB v4.3 + New Features

Segmentation fault when running online installer

Scheduled Pinned Locked Moved Solved Installation and Deployment
6 Posts 2 Posters 1.0k 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.
  • M Offline
    M Offline
    Mark81
    wrote on last edited by
    #1

    Ubuntu 22.04, I've just downloaded the latest open source online installer and here the issue:

    $ ./qt-unified-linux-x64-4.4.2-online.run --verbose
    IFW Version: 4.4.2, built with Qt 5.15.8.
    Build date: Sep 19 2022
    Installer Framework SHA1: f29267be97612f7f0bca2666bfe253a761201f6f
    Segmentation fault (core dumped)
    

    I'm not sure what I can do to understand which is the issue.

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

      Hi, I also tried the online installer on Ubuntu 22.04, I got these messages:

      $ ./qt-unified-linux-x64-4.4.2-online.run --verbose
      IFW Version: 4.4.2, built with Qt 5.15.8.
      Build date: Sep 19 2022
      Installer Framework SHA1: f29267be97612f7f0bca2666bfe253a761201f6f
      Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
      [0] Arguments: ./qt-unified-linux-x64-4.4.2-online.run, --verbose
      [6] Operations sanity check succeeded.
      [10] Reading Qt Account settings from ....
      ...
      

      perhaps if you do the usual Ubuntu Qt incantations and try installing Qt again:
      sudo apt install libxcb-xinerama0 libglu1-mesa-dev

      (I had to do them to be able to successfully compile my Qt app on Ubuntu 22.04)

      M 1 Reply Last reply
      1
      • hskoglundH hskoglund

        Hi, I also tried the online installer on Ubuntu 22.04, I got these messages:

        $ ./qt-unified-linux-x64-4.4.2-online.run --verbose
        IFW Version: 4.4.2, built with Qt 5.15.8.
        Build date: Sep 19 2022
        Installer Framework SHA1: f29267be97612f7f0bca2666bfe253a761201f6f
        Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
        [0] Arguments: ./qt-unified-linux-x64-4.4.2-online.run, --verbose
        [6] Operations sanity check succeeded.
        [10] Reading Qt Account settings from ....
        ...
        

        perhaps if you do the usual Ubuntu Qt incantations and try installing Qt again:
        sudo apt install libxcb-xinerama0 libglu1-mesa-dev

        (I had to do them to be able to successfully compile my Qt app on Ubuntu 22.04)

        M Offline
        M Offline
        Mark81
        wrote on last edited by
        #3

        @hskoglund said in Segmentation fault when running online installer:

        perhaps if you do the usual Ubuntu Qt incantations and try installing Qt again:
        sudo apt install libxcb-xinerama0 libglu1-mesa-dev

        Thanks, I tried installing these libraries but nothing has changed unfortunately.
        By the way, it finds all the required libraries:

        $ ldd qt-unified-linux-x64-4.4.2-online.run 
        	linux-vdso.so.1 (0x00007ffdc0f9c000)
        	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fb89be3d000)
        	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fb89be21000)
        	libbz2.so.1 => /lib/x86_64-linux-gnu/libbz2.so.1 (0x00007fb89be0e000)
        	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fb89bde3000)
        	libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fb89bd99000)
        	libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fb89bccf000)
        	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fb89bc81000)
        	libxcb-glx.so.0 => /lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fb89bc64000)
        	libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fb89bc5f000)
        	libxcb-icccm.so.4 => /lib/x86_64-linux-gnu/libxcb-icccm.so.4 (0x00007fb89bc58000)
        	libxcb-image.so.0 => /lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007fb89bc52000)
        	libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007fb89bc4b000)
        	libxcb-keysyms.so.1 => /lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007fb89bc46000)
        	libxcb-randr.so.0 => /lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007fb89bc33000)
        	libxcb-render-util.so.0 => /lib/x86_64-linux-gnu/libxcb-render-util.so.0 (0x00007fb89bc2c000)
        	libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007fb89bc1d000)
        	libxcb-shape.so.0 => /lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007fb89bc18000)
        	libxcb-sync.so.1 => /lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fb89bc0c000)
        	libxcb-xfixes.so.0 => /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007fb89bc02000)
        	libxcb-xinerama.so.0 => /lib/x86_64-linux-gnu/libxcb-xinerama.so.0 (0x00007fb89bbfd000)
        	libxcb-xkb.so.1 => /lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007fb89bbdf000)
        	libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fb89bbb5000)
        	libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007fb89bba0000)
        	libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007fb89ba5e000)
        	libxkbcommon-x11.so.0 => /lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007fb89ba53000)
        	libxkbcommon.so.0 => /usr/local/lib/libxkbcommon.so.0 (0x00007fb89ba11000)
        	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb89ba0c000)
        	libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007fb89b9b8000)
        	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb89b9b3000)
        	libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007fb89b92a000)
        	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb89b925000)
        	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb89b6fb000)
        	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb89b614000)
        	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb89b5f4000)
        	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb89b3cc000)
        	/lib64/ld-linux-x86-64.so.2 (0x00007fb89be58000)
        	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fb89b399000)
        	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fb89b390000)
        	libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fb89b355000)
        	libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007fb89b347000)
        	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fb89b280000)
        	libxcb-util.so.1 => /lib/x86_64-linux-gnu/libxcb-util.so.1 (0x00007fb89b275000)
        	libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007fb89b26f000)
        	libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fb89b267000)
        	libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fb89b19c000)
        	libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007fb89b16d000)
        	libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fb89b167000)
        	libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007fb89b157000)
        	libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fb89b09f000)
        	libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fb89b06b000)
        	libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007fb89b048000)
        	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007fb89af79000)
        	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fb89af57000)
        	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007fb89af4c000)
        	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fb89ae0e000)
        	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fb89adf6000)
        	libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fb89adef000)
        	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fb89addb000)
        	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fb89adb3000)
        	libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007fb89ada6000)
        
        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #4

          I also did an ldd and compared with yours, the loading addresses differ for all but if ignore them then only one line differ:
          I have:
          libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f4b0601a000)
          but you have:
          libxkbcommon.so.0 => /usr/local/lib/libxkbcommon.so.0 (0x00007fb89ba11000)

          Perhaps that's ypur culprit?

          1 Reply Last reply
          2
          • M Offline
            M Offline
            Mark81
            wrote on last edited by
            #5

            Yeah, good shot!
            I tried to move the /usr/local/lib/libxkbcommon* files to another location, then I checked that ldd finds the correct libraries and now the online setup works!

            I don't know why I have also that set of libraries... but without comparing our setups how one could know it was wrong?

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

              Hi, yeah this shows that it's not only in Windows you'll experience "DLL hell".

              How to possibly detect it: in your ldd almost all of the .dll/.so files are located in the /lib/x86_64-linux-gnu directory except ld-linux-x86-64.so.2 and libxkbcommon.so.0.
              Perhaps you've installed some other package that as a bonus installs a (bad?) version of libxkbcommon.so.0 in /usr/local/lib.

              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