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. Problem with the debugger
Forum Updated to NodeBB v4.3 + New Features

Problem with the debugger

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
14 Posts 2 Posters 3.2k 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.
  • jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #4

    In QtCreator go to Tools/Options/Build & Run/Debuggers. What do you see here? Are there any yellow or red exclamation marks?

    If your application crashes already during startup then probably some libraries cannot be found. you can try to execute "ldd YOUR_EXECUTABLE" on the command line to see whether all libraries are there.

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

    C 1 Reply Last reply
    0
    • jsulmJ jsulm

      In QtCreator go to Tools/Options/Build & Run/Debuggers. What do you see here? Are there any yellow or red exclamation marks?

      If your application crashes already during startup then probably some libraries cannot be found. you can try to execute "ldd YOUR_EXECUTABLE" on the command line to see whether all libraries are there.

      C Offline
      C Offline
      Calivernon
      wrote on last edited by Calivernon
      #5

      @jsulm

      Yes I two red exclamation marks.
      One in "Kits" then "Manual" and there is a red mark in front of :Desktop (default)
      The second is in "Qt versions" then "Manual" there is a red mark in front of Qt 5.2.1 in PATH (qt5) /usr/lib/x86_64-linux-gnu/qt5/bin/qmake

      Otherwise I don't have the bug anymore and it was not a big problem actually but because of this bug I noticed that my debugger doesn't show me any information about the Qt objects.

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

        What do you see if you position the mouse cursor over one of that exclamation marks? It should tell you what is wrong.

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

        C 1 Reply Last reply
        0
        • jsulmJ jsulm

          What do you see if you position the mouse cursor over one of that exclamation marks? It should tell you what is wrong.

          C Offline
          C Offline
          Calivernon
          wrote on last edited by
          #7

          @jsulm
          Yes on the first exclamation mark I have got:
          http://www.hostingpics.net/viewer.php?id=525878Screen1.png
          [Hope the link works, I don't know how to share picture on forum.qt.

          And for the second exclamation mark I have got no pop-up window.

          Last time it was not a real problem but now I have a real problem I can't debug and no information in the debugger,
          When I click on my sudoku grid (yes I know it's stupid I try to code a sudoku but I have to start somewhere ^^) I just have:
          Starting /home/myName/Dev/Qt/LearningQt/Sudoku/build-Sudoku-Desktop_Qt_5_3_GCC_64bit-Debug/Sudoku...
          The program has unexpectedly finished.
          /home/myName/Dev/Qt/LearningQt/Sudoku/build-Sudoku-Desktop_Qt_5_3_GCC_64bit-Debug/Sudoku crashed

          Thanks.

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

            There is no compiler set. You should check on the compiler tab and select the right one in the kit.

            It's not stupid to implement sudoku as an exercise :-)
            If it crashes during startup then maybe some shared libraries are not found. To check this go to /home/myName/Dev/Qt/LearningQt/Sudoku/build-Sudoku-Desktop_Qt_5_3_GCC_64bit-Debug and call "ldd Sudoku". It will show you on which libraries your program depends and whether all of them can be found.

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

            C 1 Reply Last reply
            0
            • jsulmJ jsulm

              There is no compiler set. You should check on the compiler tab and select the right one in the kit.

              It's not stupid to implement sudoku as an exercise :-)
              If it crashes during startup then maybe some shared libraries are not found. To check this go to /home/myName/Dev/Qt/LearningQt/Sudoku/build-Sudoku-Desktop_Qt_5_3_GCC_64bit-Debug and call "ldd Sudoku". It will show you on which libraries your program depends and whether all of them can be found.

              C Offline
              C Offline
              Calivernon
              wrote on last edited by Calivernon
              #9

              @jsulm

              What do you mean by "call ldd Sudoku"?
              But no I don't think it's a dependence problem because I don't have any dependence in this project and I can use the debugger and the break points, I can see the values of my int, double, string ... just the Qt object I can't see them in the debugger.

              And about the crash no it starts ok, I can see my Sudoku grid but I start clicking on the button and sometimes it crashes.

              I have a new message :
              &"warning: GDB: Failed to set controlling terminal: Inappropriate ioctl for device\n"

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

                Well before you wrote your application crashes before dialog or window is shown.
                If it crashes during runtime then debug your application step by step until it crashes then you will see where it crashes.
                You should check your slots which are called when you click one of the buttons.
                With call "ldd sudoku" I mean execute the command ldd with parameter Sudoku in the terminal window.

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

                C 1 Reply Last reply
                0
                • jsulmJ jsulm

                  Well before you wrote your application crashes before dialog or window is shown.
                  If it crashes during runtime then debug your application step by step until it crashes then you will see where it crashes.
                  You should check your slots which are called when you click one of the buttons.
                  With call "ldd sudoku" I mean execute the command ldd with parameter Sudoku in the terminal window.

                  C Offline
                  C Offline
                  Calivernon
                  wrote on last edited by
                  #11

                  @jsulm

                  Yes my first bug crashed instantly but I debugged it now I can see my windows and buttons, I can click on, I have found the bug, it's the second line of :

                      if (m_frameSudoku->isHidden())
                          m_frameSudoku->setHidden(false);
                  

                  I have a segmentation fault which is weird because the first line is alright and then my m_frameSudoku (which is a pointer) has not change at all because isHidden is const. So what's the problem with setHidden() ?

                  Otherwise, that's the ldd command's result:

                  myName@Zell:~/Dev/Qt/LearningQt/Sudoku/build-Sudoku-Desktop_Qt_5_3_GCC_64bit-Debug$ ldd -v Sudoku
                  linux-vdso.so.1 => (0x00007ffdddfe9000)
                  libQt5Widgets.so.5 => /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libQt5Widgets.so.5 (0x00007f9e28082000)
                  libQt5Gui.so.5 => /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libQt5Gui.so.5 (0x00007f9e2795e000)
                  libQt5Core.so.5 => /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libQt5Core.so.5 (0x00007f9e2722a000)
                  libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9e26f0c000)
                  libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9e26cf5000)
                  libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9e26930000)
                  libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9e26712000)
                  libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f9e264c0000)
                  libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f9e261b8000)
                  libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f9e25e83000)
                  libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9e25b7c000)
                  libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x00007f9e25980000)
                  libicui18n.so.52 => /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libicui18n.so.52 (0x00007f9e2555f000)
                  libicuuc.so.52 => /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libicuuc.so.52 (0x00007f9e251d7000)
                  libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9e24fd3000)
                  libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f9e24dd1000)
                  librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9e24bc8000)
                  /lib64/ld-linux-x86-64.so.2 (0x000055b53cb16000)
                  libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f9e249c0000)
                  libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f9e24781000)
                  libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f9e24562000)
                  libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f9e24350000)
                  libicudata.so.52 => /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libicudata.so.52 (0x00007f9e22ae4000)
                  libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f9e228e0000)
                  libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f9e226d9000)

                      Version information:
                      ./Sudoku:
                              libgcc_s.so.1 (GCC_3.0) => /lib/x86_64-linux-gnu/libgcc_s.so.1
                              libstdc++.so.6 (CXXABI_1.3) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libQt5Widgets.so.5:
                              libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libstdc++.so.6 (CXXABI_1.3) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libQt5Gui.so.5:
                              libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
                              libstdc++.so.6 (CXXABI_1.3) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.11) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                      /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libQt5Core.so.5:
                              ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
                              librt.so.1 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/librt.so.1
                              libgcc_s.so.1 (GCC_3.0) => /lib/x86_64-linux-gnu/libgcc_s.so.1
                              libgcc_s.so.1 (GCC_3.4) => /lib/x86_64-linux-gnu/libgcc_s.so.1
                              libdl.so.2 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libdl.so.2
                              libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
                              libstdc++.so.6 (CXXABI_1.3) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libpthread.so.0 (GLIBC_2.3.3) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libpthread.so.0 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libc.so.6 (GLIBC_2.7) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.9) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libstdc++.so.6:
                              ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
                              libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
                              libgcc_s.so.1 (GCC_4.2.0) => /lib/x86_64-linux-gnu/libgcc_s.so.1
                              libgcc_s.so.1 (GCC_3.3) => /lib/x86_64-linux-gnu/libgcc_s.so.1
                              libgcc_s.so.1 (GCC_3.0) => /lib/x86_64-linux-gnu/libgcc_s.so.1
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.18) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.17) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /lib/x86_64-linux-gnu/libgcc_s.so.1:
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /lib/x86_64-linux-gnu/libc.so.6:
                              ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
                              ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
                      /lib/x86_64-linux-gnu/libpthread.so.0:
                              ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux-x86-64.so.2
                              ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
                              ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0:
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /lib/x86_64-linux-gnu/libglib-2.0.so.0:
                              libpthread.so.0 (GLIBC_2.3.3) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libpthread.so.0 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libc.so.6 (GLIBC_2.7) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.9) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.3) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.8) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.10) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.15) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.17) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libX11.so.6:
                              libdl.so.2 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libdl.so.2
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.15) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                      /lib/x86_64-linux-gnu/libm.so.6:
                              libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/fglrx/libGL.so.1:
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                              libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                      /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libicui18n.so.52:
                              libgcc_s.so.1 (GCC_3.0) => /lib/x86_64-linux-gnu/libgcc_s.so.1
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                              libstdc++.so.6 (CXXABI_1.3) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
                      /home/myName/Applications/Install/Qt-opensource-linux-x64-5.3.1/5.3/gcc_64/lib/libicuuc.so.52:
                              libgcc_s.so.1 (GCC_3.0) => /lib/x86_64-linux-gnu/libgcc_s.so.1
                              libdl.so.2 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libdl.so.2
                              libstdc++.so.6 (CXXABI_1.3) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
                              libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
                              libpthread.so.0 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libc.so.6 (GLIBC_2.7) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /lib/x86_64-linux-gnu/libdl.so.2:
                              ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
                              libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0:
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /lib/x86_64-linux-gnu/librt.so.1:
                              libpthread.so.0 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libpthread.so.0 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libffi.so.6:
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /lib/x86_64-linux-gnu/libpcre.so.3:
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libxcb.so.1:
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libXext.so.6:
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libXau.so.6:
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                      /usr/lib/x86_64-linux-gnu/libXdmcp.so.6:
                              libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                              libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                  
                  1 Reply Last reply
                  0
                  • jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #12

                    What exactly happens if this line is executed?

                    m_frameSudoku->setHidden(false);
                    

                    Segmentation fault? Something else?

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

                    C 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      What exactly happens if this line is executed?

                      m_frameSudoku->setHidden(false);
                      

                      Segmentation fault? Something else?

                      C Offline
                      C Offline
                      Calivernon
                      wrote on last edited by
                      #13

                      @jsulm

                      Yes but now, even without this line it's still crashing with segmentation fault so I will try something else and I tell you.

                      Otherwise I tried to configure the debugger, So I cloned the debugger auto-detected in manual:
                      http://www.hostingpics.net/viewer.php?id=551531Debug.png
                      But should I do something else? I still have the red exclamation mark.

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        Calivernon
                        wrote on last edited by
                        #14

                        Please, could someone give me a link to a website explaining how to configurate the Options/Build&Run/Kits parameters, I just can't debug any Qt program now.
                        Thank you.

                        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