PDA

View Full Version : Linuxproblem with AnthChecker 138


knugster
18th January, 2009, 11:20 AM
I've had this problem for over 2 years now, but I've never really managed to find out what the source of the problem is. I think I've posted this in the general forums earlier, but I wasn't able to resolve it back then.
The problem is as follows:

If someone tries to change the map to a map that doesn't exist on the server, for example CTF-This_does_not_exist_on_the_server, and then try to change to any other map, the server crashes. Even if the server has the map. The server basically just dies. This is especially annoying because people often make typos, like CTF-EternalCaves, etc.

The logfile isn't of much help:
ProcessServerTravel: CTF-DukuCB3
### Mapchange detected
### Unhooking NetDriver...
### Unhooking DLO...
Signal: SIGSEGV [segmentation fault]
Aborting.
Exiting.
Name subsystem shut down
Allocation checking disabled

I did the good ol' comment-out ServerActors routine just now, and I narrowed it down to AnthCheckerS_v138. Everytime it's running, the server will crash when an error like the one I typed above occurs. I've tried the updated AnthCheckerS_v138.so in the release thread, and I'm running the recent build (8). The server is a 451, and it runs on Linux 2.6.16 with glibc 2.7.

Any solutions to this? I prefer running my server with AnthChecker, but without the crashes :)

2399Skillz
18th January, 2009, 11:57 AM
Why would there be an instance where a user will be able to vote on a map, that doesn't exist on the server?

[BSC]MasterJohnny
18th January, 2009, 11:57 AM
Do you have the updated Core.so?

AnthraX
18th January, 2009, 12:48 PM
The problem is probably that the server reboots itself twice in a short timespan. I'll have a look later.

AnthraX
18th January, 2009, 01:33 PM
The problem is that AC hooks the netdriver so it can intercept and scan net traffic before the server processes it. The hook needs to be undone while the server restarts though, else it crashes. My guess is that during a mapswitch to CTF-I_don't_exist, the server reboots so fast that AC can't disable the hook before the actual restart. Disable the netdriver fix for now and I'll try to update the netdriver routine.

knugster
19th January, 2009, 01:41 PM
Why would there be an instance where a user will be able to vote on a map, that doesn't exist on the server?

Console commands ;)

The problem is that AC hooks the netdriver so it can intercept and scan net traffic before the server processes it. The hook needs to be undone while the server restarts though, else it crashes. My guess is that during a mapswitch to CTF-I_don't_exist, the server reboots so fast that AC can't disable the hook before the actual restart. Disable the netdriver fix for now and I'll try to update the netdriver routine.

That worked perfectly, thank you for that!