Hi Graham, On Thu, Feb 27, 2020 at 8:27 PM Graham Cobb <g+deb...@cobb.uk.net> wrote: > I had dar 2.6.6-1 installed on my system. I decided to upgrade to dar 2.6.8 > so I did: > > apt install dar I do wonder, why you didn't upgrade your whole system doing apt upgrade ? What's the reason of partial upgrades?
> This installed dar 2.6.8-1, gcc-10-base 10-20200222-1 and libgcc-s1 > 10-20200222-1. > However, it did NOT upgrade libdar (which I did not notice). Indeed, these are not tightened together as dar should work with the previous libraries with the same soname. > Subsequent backups failed with dar crashing with error: > > free(): double free detected in tcache 2 > > backtrace showed libdar::etage::etage had called std::deque which had called > free. This was reproducible. > After a while I realised that libdar had NOT been upgraded. So, I did: > > apt install libdar64-6000 > > This upgraded libdar64-6000 from 2.6.6-1 to 2.6.8-1 and fixed the problem. I see the point, I'm going to tighten these together. > There has been a discussion about this on the upstream mailing list and the > author > believes there is no reason why libdar 2.6.6 should not work with dar 2.6.8. > Maybe the problem is that the two debian packages have been built with > different > versions of gcc? Can be, I don't have time now to test it to details. Sorry for the trouble this caused to you. > In any case, it appears that this dar package needs to have a dependency > on the same version of libdar. While it should work with older libdar64 versions, I do agree. This is the best to do and I'm going to upload a fix for this. Thanks, Laszlo/GCS