It appears that evaluating any expression containing a
string causes a the whole mud to seize up. Obviously
doesn't during normal core compile, so must be some
condition unique to eval.
Going to assign this to maelstorm, since he's more familiar
with the string stuff. It appears there's an infinite loop
in string_fixquote (string::iterator s never becoming end())
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I ended up finding the logic error (an else if where there
should have just been an if) by comparing against the
original coolmud-2.3 sources. Appears to be working fine now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=15747
Problem appears to having something to do with string_fixquote:
#0 0x40109156 in string_fixquote(String*) (str=0x80fec48)
at string.cc:266
#1 0x400e403e in Machine::call_verb_recursive(Object*, int,
int, int, Objid const&, Objid const&, Objid const&, char
const*, char const*) (this=0x8051bb4,
o=0x80d7268, msgid=48, age=2, ticks=62, player=@0x80fe7d8,
from=@0x80fe7e0, to=@0x80fe7e8, verb=0x80fec20 "eval",
argstr=0x80fec25 "return \"5\";") at Machine.cc:257
Logged In: YES
user_id=15747
Going to assign this to maelstorm, since he's more familiar
with the string stuff. It appears there's an infinite loop
in string_fixquote (string::iterator s never becoming end())
Logged In: YES
user_id=15747
I ended up finding the logic error (an else if where there
should have just been an if) by comparing against the
original coolmud-2.3 sources. Appears to be working fine now.