Sounds like you've got a buffer overflow somewhere... if you've added
anything recently to your score display you might want to start there,
but if not, it could just be that a name or something is overflowing
it... most likely you've got some kind of buf variable that's declared
as MAX_STRING_LENGTH or something, and the text that's being loaded into
it is longer than that, which is where it's crashing... this could be
due to a large sprintf with some long strings being referenced, or to a
strcat that's just tacking more and more onto the end of it and
eventually overflowing it... what I'd suggest is to run the mud in gdb
and break at do_score, and then just 'next' through it until it crashes,
and go take a look at the line that it crashed on...

wavewave
Richard Lindsey.

-----Original Message-----
From: Merrie S [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 10:18 AM
To: [email protected]
Subject: Interesting Problem

Hi folks,

Im running into an interesting problem, hope someone can shed some light
on 
it. When I type 'Score' I get disconnected from the MUD and it goes
down. I 
have to reboot it from the shell.

Any ideas?

Thanks Merrie 


-- 
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom

Reply via email to