Do you have any code like kill counters or whatever in? My advice: check
raw_kill and other similar functions for things pointing to pcdata. You
need a check to make sure you're not trying to set pcdata onto a mob.

It's hard to say exactly what's going on with the little bit of info you
gave. Try to send in the backtrace from gdb (bt) and it might help to
narrow things down some more.

Good luck!

 ---
RogueDragon @ A Merging of Fates MUD
telnet://mud.merging.org:5454
icq: 2072355 (inactive atm), yim: roguedragon, aim: roguedragon69
---
Windows - Where do you want to go today?
Linux   - Where do you want to go tomarow?
FreeBSD - When are you two going to catch up?

>
>
> I have had a bug that causes crashes sometimes when a player is fighting a
> mob. It is mostly random and happens for some reason
> when someone kills the wimpy monsters in mudschool but not the
> snails. The only difference between the wimpy monsters and
> the snails is that the wimps are noalign mobs and they are
> carrying equipment. Anyway here is what the gdb says:
>
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x400a5f89 in strcpy () at strcpy:-1
> -1      strcpy: No such file or directory.
>         in strcpy
>
> I am not understanding this very well what it means by no file or directory
> in strcpy and why this is a random crash bug and doesnt
> cause a crash every time. If anyone has any idea why this is
> happening or how to fix it please let me know.
>
> Adrian
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>


Reply via email to