On 2021-03-11 11:11:08, Michael Dukelsky (2:5020/1042) wrote to Paul Hayton:
PH>> I've been hatching some files out using Htick
PH>> It seems to run and toss a file to nodes fileboxes and also the
PH>> tics... but at the end of the run I see this
PH>> 7 Mar:11:2021:16:26:15 Forwarding fire-34.zip with tic
PH>> 1byzrpvz.tic for
PH>> 21:1/213 via 21:1/213
MD> I did not find such a diagnostics in the Husky code:
PH>> double free or corruption (fasttop)
PH>> Aborted
This is likely due to free() being called twice on the same pointer somewhere in the Linux build of HTick.
In C this is undefined behaviour, though most operating systems won't flag it as a bug.
$ cat free-twice.c
#include
int main(void)
{
char *p;
p = malloc(42);
free(p);
free(p);
return 0;
}
$ make free-twice
cc free-twice.c -o free-twice
$ ./free-twice
free(): double free detected in tcache 2
zsh: abort ./free-twice
The exact error message probably differs depending on what kernel options are set.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
--- GoldED+/BSD 1.1.5-b20180707
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
|