Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80207

impossible numbers reported as "LOST MEM" from garbage collector

    XMLWordPrintable

Details

    • Linux/Other display system

    Description

       [20191120 9:10:22.817 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: ========== GC ==========
      [20191120 9:10:22.826 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Allocated 580608 bytes in 7 chunks
      [20191120 9:10:22.831 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Fragmented memory before GC 56352
      [20191120 9:10:22.836 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Slot map:
      [20191120 9:10:22.843 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 0 : 0
      [20191120 9:10:22.845 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 1 : 0
      [20191120 9:10:22.846 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 2 : 0
      [20191120 9:10:22.847 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 3 : 0
      [20191120 9:10:22.848 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 4 : 0
      [20191120 9:10:22.849 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 5 : 0
      [20191120 9:10:22.850 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 6 : 0
      [20191120 9:10:22.851 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 7 : 0
      [20191120 9:10:22.855 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:   total mem in bins 0
      [20191120 9:10:23.017 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: triggered by unmanaged heap:
      [20191120 9:10:23.033 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:    old unmanaged heap size: 131116
      [20191120 9:10:23.038 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:    new unmanaged heap: 32754
      [20191120 9:10:23.043 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:    unmanaged heap limit: 131072
      [20191120 9:10:23.046 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Slot map:
      [20191120 9:10:23.048 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 0 : 0
      [20191120 9:10:23.051 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 1 : 159
      [20191120 9:10:23.052 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 2 : 105
      [20191120 9:10:23.053 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 3 : 14
      [20191120 9:10:23.054 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 4 : 58
      [20191120 9:10:23.055 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 5 : 2
      [20191120 9:10:23.056 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 6 : 38
      [20191120 9:10:23.057 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     number of entries in slot 7 : 116
      [20191120 9:10:23.059 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:   total mem in bins 149824
      [20191120 9:10:23.066 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Marked object in 72036 us.
      [20191120 9:10:23.073 UTC 0x6ac56b8 qt.qml.gc.allocatorStats:     3638 objects marked
      [20191120 9:10:23.079 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Sweeped object in 84948 us.
      [20191120 9:10:23.086 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Used memory before GC: 524256
      [20191120 9:10:23.090 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Used memory after GC: 180224
      [20191120 9:10:23.095 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Freed up bytes      : 344032
      [20191120 9:10:23.099 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: Freed up chunks     : 2
      [20191120 9:10:23.105 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: !!!!!!!!!!!!!!!!!!!!! LOST MEM: 4294959808 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      [20191120 9:10:23.109 UTC 0x6ac56b8 qt.qml.gc.allocatorStats: ======== End GC ========
      

      The machine only has 1GiB of RAM and no swap, so it can't lose that much. Looks like a slight underflow of some counter to me.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            rebemlix Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes