Suddenly Segfaulting Client

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Suddenly Segfaulting Client

Post by Rednaxela »

Well... crossfire (gtk client) was working perfectly for me yesterday, then suddenly, when I start it up, it segfaults right after the splash screen :( I try everything I can think of and it still segfaults, even when I delete my .crossfire directory with all it's settings to reset it's settings :(
The client version is "GTK Unix Client 1.7.0"
I think I'm going to try reinstalling from cvs soon, or perhaps live with the horror of cfclient.

Oh wait, cfclient is also segfaulting suddenly too :(
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

Interesting :o ... Something must be screwy with the metaserver right now. because I was able bypass the segfault by adding

Code: Select all

-server crossfire.metalforge.net
to the command line...
Could somebody please fix the metaserver :!::?::!:

EDIT: I finally got all my settings fixed from the messing with my .crossfire in attempts to fix it. Currently running with the "-server" parameter still.
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

bensnoodle overfilled the number of servers cf client can handle.

Two things need fixing:
1) metaserver should detect that the server is already on the list and merge duplicate entries

2) client should cope with more servers
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

addition to list:

3. Servers shouldn't hang around after not being up for several hours.
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

Is it possible to do ICQ-like keep-alive packets? So if servers don't check in every n seconds/minutes we decide they are down? That would require changing the server code too though...
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

Another addition:

4. Get the bensnoodle admin to stop the crashing server :P
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

I did look briefly at the metaserver script, there is a check to blacklist servers calling themselves your.hostname.here

maybe Ben's noodle should be similarly blacklisted?
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

cavesomething wrote:maybe Ben's noodle should be similarly blacklisted?
At least until the admin gets the crashing fixes...
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

That is a workaround. What if another server starts crashing? What if a malicious individual fills up the metaserver with rubbish? The metaserver script needs a proper fix, one that will detect downed servers and not include them.
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

Not to mention running a code checksum that identifies that the server is indeed a CF server, and a checker mechanism that removes entries that are repeated, diff ip address or no diff ip address.
lordyoukai.DA
My wraith is cooler than your dragon.
Post Reply