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

Stack trace is being eroded at null pointer deref

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 2.8.0-rc
    • Debugger
    • Windows 7 64 bit
      MSVC 2010
      cdb version 6.12.0002.633 64 bit

    Description

      1. Have a project with the following lines and configure it on a kit for MSVC 2010:
                int a = 'a';
                int b = 'b';
                *(int *)0 = a + b;
        
      2. Run this in the debugger.
        The debugger will stop at the last line because it tries to dereference a null-pointer. The shown stack trace looks fine.
      3. Let the debugger continue.
        It will stop again immediately. Now the function containing the above code is missing from the stack trace.
      4. Let the debugger continue.
        Now the whole stack trace will be gone. Instead, references to something completely different will be listed.
      5. Let the debugger continue.
        With each time, another line will be added to the stack trace.

      Instead, from step 3 on, the debugger should always get back to the exactly same state.

      Attachments

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

        Activity

          People

            davschul David Schulz
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes