[Bug debuginfod/25739] New: client cache sometimes has incorrect mtimes for downloaded files

eschwartz at archlinux dot org sourceware-bugzilla@sourceware.org
Fri Mar 27 17:01:16 GMT 2020


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

            Bug ID: 25739
           Summary: client cache sometimes has incorrect mtimes for
                    downloaded files
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: eschwartz at archlinux dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

When running debuginfod-find repeatedly against some files, it seems that if
you rm a file from the cache, it spoils the mtime of all future files being
downloaded (so that it results in the current time instead). As a result my
gdb-git complains "warning: Source file is more recent than executable."

After some IRC debugging, fche suggested trying to run the server using
--fdcache-fds=0 which solved the issue.

12:54 PM <@fche> we just neglect to save the timestamps of fdcache'd files
extracted from archives
12:54 PM <@fche> ok
12:54 PM <@fche> betcha if you run debuginfod with    --fdcache-fds=0
12:54 PM <@fche> and even --fdcache-prefetch=0
12:54 PM <@fche> things will work

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


More information about the Elfutils-devel mailing list