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

"Take Snapshot of Process State" consumes all available disk space

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.8.0
    • Debugger
    • None
    • Ubuntu 18.04.1 64-bit
      Qt Creator 4.8.0
      Based on Qt 5.12.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
      Built on Dec 3 2018 15:07:43
      From revision d51ddbb8f0

    Description

      I clicked on the "Take Snapshot of Process State" button while debugging and shortly after I saw some output in the application output:

      target file /proc/14470/cmdline contains unexpected null characters
      

      Then Creator immediately becomes unresponsive and eventually crashes. ncdu shows that /tmp is now 20gb larger, which was all of the remaining space on my disk:

      mitch@mitch-ubuntu-18:/tmp/QtCreator-cdKsPL$ ls -lh
      total 21G
      -rw-rw-r-- 1 mitch mitch   0 Dec 14 12:23 gdbsnapshot.FUbFNr
      -rw-rw-r-- 1 mitch mitch 21G Dec 14 12:23 gdbsnapshot.RkdXWZ
      prw------- 1 mitch mitch   0 Dec 14 12:21 outputcollector.BROvwm
      -rw------- 1 mitch mitch   0 Dec 14 08:24 perfprofiler-data.NTKayV
      -rw------- 1 mitch mitch   0 Dec 14 08:24 qmlprofiler-data.cZPcBi
      

      I deleted the temporary directories to get the space back, but it seems that I've lost all of my manually configured Qt versions at some point because of this issue. For some reason, my kits are untouched (besides no longer having corresponding Qt versions in most cases).

      Attachments

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

        Activity

          People

            hjk hjk
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes