Fatal Error on rehash (Unrealircd 5.2.4)

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
hcoopTx
Posts: 3
Joined: Tue Nov 29, 2022 10:58 pm

Fatal Error on rehash (Unrealircd 5.2.4)

Post by hcoopTx »

Hello. Unreal installed as a service is crashing when using the command "unrealsvc rehash".

It is setup as a service and is programtically adding IPs to the allow block, and then being made to rehash. The service has crashed a few times doing this producing a .core, .mdmp file.

This setup was done on UnrealIRCd 4 and had no issues. Any ideas?
hcoopTx
Posts: 3
Joined: Tue Nov 29, 2022 10:58 pm

Re: Fatal Error on rehash (Unrealircd 5.2.4)

Post by hcoopTx »

Is there a way to upload the dump file?

Another question is the Unreal 6 rehash using the dctl rehash different in logic from the Unreal 5 rehash when using unrealsvc rehash?
Based off how some of our systems are reacting it seems to be a "stronger" rehash.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Fatal Error on rehash (Unrealircd 5.2.4)

Post by Syzop »

Sadly, UnrealIRCd 5 is end of life. Only security bugs are being fixed (so not bugs like the one you mention) until July 1, 2023. After that date it will be completely unsupported. See https://www.unrealircd.org/docs/UnrealIRCd_5_EOL

I highly suggest trying UnrealIRCd 6. It is only a minimal effort from U5 to U6: https://www.unrealircd.org/docs/Upgrading_from_5.x
If you still have any issues (like a crash) with UnrealIRCd 6 then report it on https://bugs.unrealircd.org/ and I would be happy to look into fixing that bug!

In UnrealIRCd 6 there is also a new tool to do rehashes, namely "unrealircdctl rehash", see at the end of https://www.unrealircd.org/docs/Rehashing_the_IRCd. The benefit of that tool is that it also gives all the feedback (warnings/errors) and, since you asked explicitly, it technically does the same type of rehash as on IRC (as if an oper did /REHASH).
Post Reply