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

GDB detects non-existing segmentation fault

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes