https://sourceware.org/bugzilla/show_bug.cgi?id=33163

            Bug ID: 33163
           Summary: debuginfod client may leave temp files / turds for
                    interrupted downloads
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

When running debuginfod-find on a large download, and hitting it with a ^C, the
download cache may leave around partially downloaded files such as:

~/.cache/debuginfod_client/453eee51e0389134d5103432185eaedece55419a/
-rw------- 1 fche users 194186498 Jul 16 10:28 debuginfo.Ups8lh

This is probably because debuginfod-find doesn't catch SIGINT.  It should.

See also bug #33150 for a related scenario, when the progress-callbacks return
"abort", but *may* leave turds around.  The SIGINT handler in debuginfod-find
should get a progress-handler to return "abort" too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to