Package: firebuild
Version: 0.2.12-2
Severity: important
Tags: upstream fixed-upstream pending

Hi,

After garbage collecting the cache firebuild can store a negative
cache size value and then fail to start later with the following
message:

Assertion `cached_bytes >= 0': `-1154798 >= 0' failed.
firebuild: ./src/firebuild/execed_process_cacher.cc:1717: off_t
firebuild::ExecedProcessCacher::get_stored_bytes_from_cache() const:
Assertion `0 && "see previous message"' failed.

This can be fixed by deleting the cache or fixing
~/.cache/firebuild/size to a reasonable value, for example to the size
calculated with "du --apparent-size -b -s ~/.cache/firebuild".

I'm about to upload the fix to unstable.

Thanks,
Balint

Reply via email to