TIP: Click on subject to list as thread! ANSI
echo: binkd
to: MICHIEL VAN DER VLIST
from: ANDREW CLARKE
date: 2015-03-30 12:13:00
subject: Summer time.. binkd crash

29 Mar 15 22:54, you wrote to Wilfred van Velzen:

 MvdV>>> The clock jumps from 02:00 to 03:00. Summer time! Binkd thinks
 MvdV>>> that the config files have changed and reloads its config. So
 MvdV>>> far so good. (or not, depending..)

 WV>> No such thing on linux. It just keeps running if nothing
 WV>> happend...

 MV> There are two things:

 MV> 1) Binkd crashes - after a while - when it is started with the -C
 MV> option and the config changes.

I wonder if the crash is caused by the way the old config file is unloaded from
memory.

Ideally you'd compile it with debug symbols enabled then run it under the MSVC
debugger and force it to crash by changing the config file.

While you're testing it, you could avoid potential data loss by preventing
incoming connections by temporarily changing the port Binkd listens to.

 MV> 2) It crasches with the transition to and from DST because it thinks
 MV> the cofig has changed.

 MV> How does the Linux version act? Does it:

 MV> 1) Not crash when the config changes?

 MV> 2) Not think the config has changed when DST cuts in or out?

In FreeBSD (and I suspect Linux also) it just keeps running when DST toggles.

The config file isn't reloaded, though.

I haven't looked at the source but it would make sense for it to use UTC time
instead of local time for looking at the timestamp of the file, so DST would be
ignored.

--- GoldED+/BSD 1.1.5-b20130910
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.