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

Opening Memory Editor causes a crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • Qt Creator 7.0.0-beta2
    • Qt Creator 6.0.1, Qt Creator 7.0.0-beta1
    • Debugger
    • None
    • QtCreator 6.0.1
      Qt 6.2.2
      gdb 11.1
    • Linux/X11

    Description

      1. Start debugging and hit a breakpoint
      2. Right click 'Locals' window 'Open Memory Editor' -> 'Open Memory Editor...'
      3. Dialog window shows up:
        1. click 'cancel' -> crash
        2. pase memory adress and click 'OK' -> crash
        3. close the dialog window -> crash
      4. Console output:

      OFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      SOFT ASSERT: "chunk.size() == 8" in file /build/qtcreator/src/qt-creator-opensource-src-6.0.1/src/plugins/debugger/gdb/gdbengine.cpp, line 3486
      malloc_consolidate(): unaligned fastbin chunk detected
      Aborted (core dumped)

       

      Other options for opening Memory Editor or Memory View do not crash.

      Attachments

        1. backtrace.txt
          82 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            mlibera Mariusz Libera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes