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

Infinite loop with QtCreator 4.0 and GDB 7.11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.2.1
    • Qt Creator 4.0.0
    • Debugger
    • None
    • 26331f771a48f8123d2106b5e3c9ecf95a24a32e

    Description

      If you have an expression that evaluates to a segmentation fault QtCreator ends in an infinite loop, telling you that a segmentation fault happened.
      It happens with GDB 7.11 installed - with 7.6.1 (oldest I could get) this problem didn't occur.

      Steps to reproduce:
      1) checkout recent MuseScore (https://github.com/musescore/MuseScore)
      2) put "mscore->cs->firstMeasure()->segments().first()" as an expression in the expression window
      3) set a breakpoint at beginning of method "TempoText::textChanged()" in libmscore/tempotext.cpp
      4) start debugging

      About my gdb: http://pastebin.com/euyvumyq
      Debug log during loop: http://pastebin.com/XdxbMVp1

      Attachments

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

        Activity

          People

            hjk hjk
            hpfmn Johannes Wegener
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes