10:05 [19952] previous config is no longer in use, unloading
free(): double free detected in tcache 2
! 10:05 [19951] client manager (pid=19952) exited by signal 6
$ binkd -vv
Binkd 1.1a-113 (Dec 7 2021 07:17:01/Linux)
Compilation flags: gcc, zlib, bzlib2, https, ntlm, bwlim.
Facilities: fts5004 ipv6
10:05 [19952] previous config is no longer in use, unloading
free(): double free detected in tcache 2
! 10:05 [19951] client manager (pid=19952) exited by signal 6
$ binkd -vv
Binkd 1.1a-113 (Dec 7 2021 07:17:01/Linux)
Compilation flags: gcc, zlib, bzlib2, https, ntlm, bwlim.
Facilities: fts5004 ipv6
I have reported this issue several times YEARS ago. No response. I
gave up and just stopped using this "feature".
+ 10:05 [19951] [path]/binkd-networks.conf changed!
+ 10:05 [19951] Reloading configuration...
10:05 [19951] previous config is no longer in use, unloading
- 10:05 [19951] servmgr listen on *:24554
+ 10:05 [19952] [path]/binkd-networks.conf changed!
+ 10:05 [19952] Reloading configuration...
10:05 [19952] previous config is no longer in use, unloading
free(): double free detected in tcache 2
! 10:05 [19951] client manager (pid=19952) exited by signal 6
10:05 [19951] previous config is no longer in use, unloading
- 10:05 [19951] servmgr listen on *:24554
+ 10:05 [19952] [path]/binkd-networks.conf changed!
+ 10:05 [19952] Reloading configuration...
10:05 [19952] previous config is no longer in use, unloading
free(): double free detected in tcache 2
! 10:05 [19951] client manager (pid=19952) exited by signal 6
It helped me to add the following line to the binkd config
rescan-delay 10
On 2022 Jan 20 11:11:26, you wrote to me:[...]
10:05 [19951] previous config is no longer in use, unloading
- 10:05 [19951] servmgr listen on *:24554
+ 10:05 [19952] [path]/binkd-networks.conf changed!
+ 10:05 [19952] Reloading configuration...
10:05 [19952] previous config is no longer in use, unloading
free(): double free detected in tcache 2
! 10:05 [19951] client manager (pid=19952) exited by signal 6
It helped me to add the following line to the binkd config
rescan-delay 10
sysname "SouthEast Star (binkd)"
location "central North Carolina, USA"
sysop "waldo kitty"
timeout 1m
connect-timeout 10s
call-delay 1s
rescan-delay 10s
It helped me to add the following line to the binkd config
rescan-delay 10
sysname "SouthEast Star (binkd)"[...]
location "central North Carolina, USA"
sysop "waldo kitty"
timeout 1m
connect-timeout 10s
call-delay 1s
rescan-delay 10s
You are saying the proposed rescan-delay workaround isn't working for you?
Someone has to fix the bug or the only reliable workaround is to
disable rescan.
Does someone know, if this bug also affects binkd running in
client-only mode?
as a test i stopped my binkd, edited my startup script to remove the
"-C" option, and restarted it... then i edited my binkd-networks.conf
file which is included as previously shown... 5 minutes later and
binkd still has not noticed the change contrary to what the FAQ's last paragraph above states about the configs being re-read
automatically...
as a test i stopped my binkd, edited my startup script to remove the
"-C" option, and restarted it... then i edited my binkd-networks.conf
file which is included as previously shown... 5 minutes later and
binkd still has not noticed the change contrary to what the FAQ's last
paragraph above states about the configs being re-read
automatically...
I use a self compiled binkd:
# binkd -vv
Binkd 1.1a-111 (May 27 2020 16:10:25/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
I start it with '-Cq' options,
and a 'rescan-delay 3' in the config (not '3s' btw!).
It never crashes when I edit one of the config files, and never did so with older versions...
In an attempt to provoke the crashes I created an empty include file for my
binkd config file. With the Windows task manager I created an event that touched the date/time stamp of this empy file every five minutes. The rescan delay for my binkd is set to 60.
This was about five years ago. I let it run for a month or so. Binkd reloaded its config every 5 minutes and that did not cause a crash.
So I thought "hmmm this version of binkd seems to have fixed the
problem". But alas when I made changes in the actual config files the crashes reappeared. So it looks like it is not just the reloading the config files as such, some of the config files must actually change to make it crash.
I gave up and stopped using the -C option.
I did not formally document it at the time, so I am relying om memory.
I gave up and stopped using the -C option.
i've continued to use it but have always stopped my binkd manually before making and saving edits... [...]
I start it with '-Cq' options,
'q'?? hummm... ahhh... quiet mode... ok... i run in a console terminal so i
want to see all of that :)
It never crashes when I edit one of the config files, and never did
so with older versions...
that's interesting... what is your linux and compiler, please?
$ uname -a; echo; gcc --version
Linux sestar 4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021
x86_64 x86_64 x86_64 GNU/Linux
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
my configure and compiling output appear to be ok for the most part... configure doesn't complain loudly about anything and compiling shows a
few warnings about format-overflow where some things may possibly
write more than 12 bytes to a region or destination of only 12 bytes
in readcfg.c... the only other warning is a misleading indention in https.c where an if statement is apparently missing the "{}" around
the two Log() lines it appears to be protecting... lines 372-374...
just to be sure, i've just pulled and built again but there were no changes since my last pull and update...
i remember you posting about this... it is one of the things that lead
to me attempting to reproduce the defect here on my OS/2 setup at that time... now i'm on linux and the defect still exists...
ahhh... if i'm reading the output of "ps aux" properly, there is a bit of a memory leak going on... perhaps the crashes i was able to trigger are the result of a combination of some memory leakage over a "long" running time coupled with changing a config or included file? i'll try to set something up to test this possibility further but i'm done manually beating on it by editing files for now ;)
I start it with '-Cq' options,
'q'?? hummm... ahhh... quiet mode... ok... i run in a console terminal
so i want to see all of that :)
Mine is run on system startup as a systemd.service. So there is no console to look at. If I want to see what's going on I have a look at the log...
[...]that's interesting... what is your linux and compiler, please?
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
gcc (SUSE Linux) 4.8.5
my configure and compiling output appear to be ok for the most
part... configure doesn't complain loudly about anything and
compiling shows a few warnings about format-overflow where some
things may possibly write more than 12 bytes to a region or
destination of only 12 bytes in readcfg.c... the only other warning
is a misleading indention in https.c where an if statement is
apparently missing the "{}" around the two Log() lines it appears to
be protecting... lines 372-374...
That was a long time ago in my case, and I didn't save the output. ;)
just to be sure, i've just pulled and built again but there were no
changes since my last pull and update...
I might try that later...
my configure and compiling output appear to be ok for the most
part... configure doesn't complain loudly about anything and
compiling shows a few warnings about format-overflow where some
things may possibly write more than 12 bytes to a region or
destination of only 12 bytes in readcfg.c... the only other warning
is a misleading indention in https.c where an if statement is
apparently missing the "{}" around the two Log() lines it appears to
be protecting... lines 372-374...
That was a long time ago in my case, and I didn't save the output. ;)
my build script logs all output via tee... makes it easy for me see things as they happen and enables me to look back at previous builds output :)
# binkd -vv
Binkd 1.1a-113 (Jan 20 2022 22:42:34/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
And did a couple of config file change tests: No crash occured...
# binkd -vv
Binkd 1.1a-113 (Jan 20 2022 22:42:34/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
And did a couple of config file change tests: No crash occured...
I have also never experienced a crash. I start binkd with the -DC options and binkd has always happily reloaded the config if it changes.
I don't include any files in my binkd.conf and I notice that others do. The
crash could be related to these included files somehow?
In an attempt to provoke the crashes I created an empty include file for my
binkd config file. With the Windows task manager I created an event that touched the date/time stamp of this empy file every five minutes. The rescan delay for my binkd is set to 60.
i remember you posting about this... it is one of the things that lead to me attempting to reproduce the defect here on my OS/2 setup at that time... now i'm on linux and the defect still exists...
earlier i had remove the "-C" to test the automatic reload that the FAQ seems to indicate is done with binkd v1.xx... i've just put it back and run a short but similar test to your's using touch on my main configuration file as well as each of the various included files... in every case, binkd did detect the timestamp updates and said it reloaded the configure for both server and client instances... there was no crash...
ok, so that works... let's try changing some content...
that'll add one byte and remove some data when binkd processes the contents... damn! again no crash... remove the content so that domain
line is valid again and no crash... WTAF is going on??
Mine is run on system startup as a systemd.service. So there is no
console to look at. If I want to see what's going on I have a look at
the log...
These sort of annoying "heisenbugs" are the worst. But
fortunately there are tools that can help out. Perhaps
compile with something like TSAN enabled and try running
that way?
Mine is run on system startup as a systemd.service. So there is no
console to look at. If I want to see what's going on I have a look at
the log...
Does `journalctl` not show useful data from the output
of binkd?
On 2022-01-21 12:58:40, you wrote to me:
Mine is run on system startup as a systemd.service. So there is no
console to look at. If I want to see what's going on I have a look a
the log...
Does `journalctl` not show useful data from the output
of binkd?
Forgot about that one. I never use it... But indeed you can have a look
at it, but is it usefull?
Or run it under valgrind.
On 2022-01-21 12:58:40, you wrote to me:
noMine is run on system startup as a systemd.service. So there is
look aconsole to look at. If I want to see what's going on I have a
the log...
Does `journalctl` not show useful data from the output
of binkd?
Forgot about that one. I never use it... But indeed you can have a
look at it, but is it usefull?
I dunno...I don't run binkd. I've found it very useful for
seeing what Direwolf is doing (or not doing) on my packet
radio station, though. YMMV.
I just did:
# binkd -vv
Binkd 1.1a-113 (Jan 20 2022 22:42:34/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
And did a couple of config file change tests: No crash occured...
These sort of annoying "heisenbugs" are the worst.
But fortunately there are tools that can help out. Perhaps compile
with something like TSAN enabled and try running that way?
I just did:
# binkd -vv
Binkd 1.1a-113 (Jan 20 2022 22:42:34/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
noice!
And did a couple of config file change tests: No crash occured...
even changing included files?
Binkd 1.1a-113 (Jan 20 2022 22:42:34/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
noice!
I will read that without the 'o'! ;-)
And did a couple of config file change tests: No crash occured...
even changing included files?
Yes.
And this also happens automatically when the daily nodelist comes in and is
converted to binkd readable format.
Binkd 1.1a-113 (Jan 20 2022 22:42:34/Linux)
Compilation flags: gcc, zlib, bzlib2.
Facilities: fts5004 ipv6
noice!
I will read that without the 'o'! ;-)
does it mean something other than "nice" in other languages you speak?
Hi mark,
On 2022-01-21 12:59:42, you wrote to me:
noice!
I will read that without the 'o'! ;-)does it mean something other than "nice" in other languages you speak
Nope, but it "sounds" like noise...
noice!
I will read that without the 'o'! ;-)
does it mean something other than "nice" in other languages you speak?
Nope, but it "sounds" like noise...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 369 |
Nodes: | 16 (2 / 14) |
Uptime: | 88:30:40 |
Calls: | 7,896 |
Calls today: | 2 |
Files: | 12,968 |
Messages: | 5,792,270 |