PDA

View Full Version : runnig error now that it compiles



Asterof
06-30-2003, 08:44 PM
GuildMgr: new guildsfile written
GuildMgr: guildsfile loaded
WARNING: CharProfileCode (006b) (dataLen:3926 != sizeof(charProfileStruct):14302)!
Player::backfill():
Segmentation fault


what might be causing this
I have had Showeq running fine before the last patch
I have run the patch and compiled

any ideas

fester
07-01-2003, 04:03 AM
This man must never click the search button.

Asterof, your problem is a VERY well know problem.
It has been fixed and there have been several posts by others who don't want to search either. I suggest you learn to search.

fester
07-01-2003, 04:23 AM
I guess I am in a very good mood, maybe Asterof will learn from this.

I did a search, the second thread on the list was the thread. There were only 4 items on the list. Here is the link:

http://seq.sourceforge.net/forums/showthread.php?s=&threadid=3627

You know it will fix the problem just by looking at the charProfileStruct listed in that post.

Also, the majority of these type of crashes are due to interpretation of codes inside player structures. This can be eliminated by range checking all entries (or at the very least limiting the sevfaulting ones.) The reason for the crash is entries have moved around and there may be reads OUTSIDE the bounds of the structure OR an entry inside the structure may be used as an INDEX into another array ShowEQ maintains internally. If this index is "out of range", then you may also segfault.

Asterof
07-01-2003, 06:58 AM
know what to search for is the problem
did you search for "segmentation fault" or what
knowing what the problem is helps to when searching
Thanks

Jel321
07-01-2003, 07:53 AM
There's not limit on the amount of searches you can do ;)

So when you do one and it doesnt come back with what you need you can try again!


I guess I am in a very good mood

Indeed you must be! hehe

LordCrush
07-01-2003, 10:09 AM
Originally posted by fester
I guess I am in a very good mood

ROFL :p