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

Debugging with gdb reports elements for uninitialized QVector<bool>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 2.1.0-rc1
    • Debugger
    • Windows Vista x64
      GNU gdb (GDB) 7.1.0.20100329-cvs

    Description

      1. Open simple.pro from Creator's repository
      2. Set a breakpoint at line "flist.append(4);" in function testQVector() (simple_gdbtest_app.cpp, 1581)
      3. Run in debugger. Wait until execution stops at breakpoint. vec is being shown correctly: "<not accessible>"
      4. Step over. vec is being reported as having 4 elements where it is not even initialized yet.

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: