Mailing List
Home
Forum Home
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Subject: Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Subject: Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Subject: Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Subject: Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Subject: Flash Racing
Subject: MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Subject: Crash after server move

Subject: Crash after server move

2007-03-27       - By Valnir

 Back
Reply:     1     2     3     4     5  

We're getting ready to port our mud to a new server and we're having a bit
of an issue. Everything compiles clean, but when we login we get past our
account login and when we select what character to play the mud crashes.
?
Program terminated with signal 11, Segmentation fault.
#0? 0x080b373c in set_host (ch=0xb74f63bc, d=0xb74f5240) at comm.c:5793
5793??????????????? free_string(ch->usrdata->alt_hosts[h]);
(gdb) where
#0? 0x080b373c in set_host (ch=0xb74f63bc, d=0xb74f5240) at comm.c:5793
#1? 0x080a905c in nanny (d=0xb74f5240, argument=0xb74f5661 "Valnir") at
comm.c:2560
#2? 0x080a4a49 in game_loop_unix (control=4) at comm.c:885
#3? 0x080a4424 in main (argc=2, argv=0xbf911974) at comm.c:490
(gdb)
?
It's crashing while trying to update the listing of hosts that a players has
connected from.
?
??? /* consolidate list and remove the current host from the list, if needed
*/
??? for ( h = 0; h < MAX_HOSTS; h++ )
??? {
??????? if ( !str_cmp( ch->usrdata->alt_hosts[h], d->host ) )
??????????? continue;
?
??????? if ( !IS_NULLSTR(ch->usrdata->alt_hosts[h]) )
??????? {
??????????? hosts[i++] = str_dup(ch->usrdata->alt_hosts[h]);
??????????? free_string(ch->usrdata->alt_hosts[h]);
??????????? ch->usrdata->alt_hosts[h] = &str_empty[0];
??????? }
??? }
The new server is running GCC 4.1.1 and any help would be greatly
appreciated. Thanks!
?
- Valnir
?


--
ROM mailing list
ROM@(protected)
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom