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. Installation program crashes at startup
Forum Update on Monday, May 27th 2025

Installation program crashes at startup

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 1.5k 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.
  • F Offline
    F Offline
    Francky033
    wrote on last edited by Francky033
    #1

    Hello,

    When recompiling my program, the installation file generated by the Qt Install Framework 3.0.6 crashes under Ubuntu 18.10

    I get the error message:

    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to "/tmp/runtime-root
    Violación de segmento (`core' generado)

    I use Qt 5.12.0

    How do we resolve this?

    Before the Qt 5.12.0 update, the generation of the installation file was not a problem...

    PS: using gdb, I get :

    Starting program: /home/karlhal/Descargas/application_installer
    [Depuración de hilo usando libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    [Nuevo Thread 0x7ffff5884700 (LWP 4816)]

    Thread 1 "winstars_instal" received signal SIGSEGV, Segmentation fault.
    0x00007ffff764169e in _int_malloc (av=av@entry=0x7ffff7792c40 <main_arena>,
    bytes=bytes@entry=44) at malloc.c:3537
    3537 malloc.c: No existe el archivo o el directorio.

    jsulmJ 1 Reply Last reply
    0
    • F Francky033

      Hello,

      When recompiling my program, the installation file generated by the Qt Install Framework 3.0.6 crashes under Ubuntu 18.10

      I get the error message:

      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to "/tmp/runtime-root
      Violación de segmento (`core' generado)

      I use Qt 5.12.0

      How do we resolve this?

      Before the Qt 5.12.0 update, the generation of the installation file was not a problem...

      PS: using gdb, I get :

      Starting program: /home/karlhal/Descargas/application_installer
      [Depuración de hilo usando libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
      [Nuevo Thread 0x7ffff5884700 (LWP 4816)]

      Thread 1 "winstars_instal" received signal SIGSEGV, Segmentation fault.
      0x00007ffff764169e in _int_malloc (av=av@entry=0x7ffff7792c40 <main_arena>,
      bytes=bytes@entry=44) at malloc.c:3537
      3537 malloc.c: No existe el archivo o el directorio.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Francky033 Did you a complete rebuild of your app after upgrading Qt? You should delete the build directory, run qmake and build.

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

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Francky033
        wrote on last edited by
        #3

        Yes, I usually delete the build directory before starting the final compilation.

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

          Hi,

          Do you see anything suspicious if you call ldd application_installer ?

          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
          • F Offline
            F Offline
            Francky033
            wrote on last edited by Francky033
            #5

            There doesn't seem to be anything wrong with the output of the ldd

            ./application_installer
            QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
            Violación de segmento (`core' generado)
            root@karlhal# ldd application_installer
            	linux-vdso.so.1 (0x00007fff541fe000)
            	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f10c025b000)
            	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f10c020c000)
            	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f10bff58000)
            	libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f10bff13000)
            	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f10bfdd9000)
            	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f10bfdd4000)
            	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f10bfda9000)
            	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f10bfda3000)
            	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f10bfd99000)
            	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f10bfd78000)
            	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f10bfbee000)
            	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f10bfa61000)
            	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f10bfa45000)
            	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f10bf85b000)
            	/lib64/ld-linux-x86-64.so.2 (0x00007f10c027c000)
            	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f10bf7d1000)
            	libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x00007f10bf59f000)
            	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f10bf382000)
            	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f10bf345000)
            	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f10bf33a000)
            	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f10bf136000)
            	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f10bef30000)
            	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f10bed0a000)
            	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f10bead3000)
            	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f10be7b5000)
            	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f10be59e000)
            

            and using gdb:

            root@karlhal# gdb application_installer
            GNU gdb (Ubuntu 8.2-0ubuntu1) 8.2
            Copyright (C) 2018 Free Software Foundation, Inc.
            License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
            This is free software: you are free to change and redistribute it.
            There is NO WARRANTY, to the extent permitted by law.
            Type "show copying" and "show warranty" for details.
            This GDB was configured as "x86_64-linux-gnu".
            Type "show configuration" for configuration details.
            For bug reporting instructions, please see:
            <http://www.gnu.org/software/gdb/bugs/>.
            Find the GDB manual and other documentation resources online at:
                <http://www.gnu.org/software/gdb/documentation/>.
            
            For help, type "help".
            Type "apropos word" to search for commands related to "word"...
            Leyendo símbolos desde application_installer...(no se encontraron símbolos de depuración)hecho.
            (gdb) run
            Starting program: /home/karlhal/build-application/application_installer 
            [Depuración de hilo usando libthread_db enabled]
            Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
            QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
            [Nuevo Thread 0x7ffff5883700 (LWP 13812)]
            
            Thread 1 "application_instal" received signal SIGSEGV, Segmentation fault.
            0x00007ffff7642b95 in __GI___libc_malloc (bytes=44) at malloc.c:3017
            3017	malloc.c: No existe el archivo o el directorio.
            (gdb)
            
            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