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

The debugger program signals a segmentation fault when debugging with iterators

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.5.1
    • Debugger
    • Ubuntu Desktop 17.10 running on Oracle VM VirtualBox 5.1.30 as well as on Oracle VM VirtualBox 5.2.8.

    Description

      The debugger program singals segmentation fault when debugging in QtCreator the code that uses
      QLinkedList<quint32>::iterator i;
      or
      QMutableLinkedListIterator<quint32> i(linkedList);
      and at the same time expanding the iterator on variable tree on the right panel to the third level.

      Steps to reproduce:
      1. Use the above mentioned iterator to iterate through a QLinkedList. Put the code to a function that is called at least twice.
      2. Set up a breakpoint before the QMutableLinkedListIterator<quint32> i(linkedList);
      The linkedList is a property of type QLinkedList.
      3. Run the debug mode.
      4. Use F10 to step over.
      5. When the iterator appears on the right panel the first time expand it to the third level of the tree.
      6. Use F10 to step over until QtCreator crashes with the result shown on the screen shot:
      "The iterator stopped because it received a signal from the operating system".
      Signal name: SIGSEGV
      Signal meaning: Segmentation fault

      Attachments

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

        Activity

          People

            hjk hjk
            batqt Bartosz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes