Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29115

GDB detects non-existing segmentation fault

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 10.0.0
    • Debugger
    • None
    • Linux KDE Neon
    • Linux/X11

      I have a rather innocent piece of code that, when run in the debugger, causes a segfault at a line like

      std::vector<double> snappedDofs;
      

      with the text editor jumping to a totally unrelated line in another file, even though the stack viewer does not move from the line above.

      Toggling the option "Run in terminal" in Project -> Run settings miraculously fixes the issue and the code steps fine past the line above.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            mleoni Massimiliano Leoni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes