Re: Odd problem

"Valnir" <[email protected]> Thu, 12 May 2005 17:06:27 -0400
Newsgroups gmane.games.devel.mud.rom
Message-ID <[email protected]>
Here is your problem.

#0  do_spellsold (ch=Cannot access memory at address 0xbff799f0
) at skills.c:371

ch=Cannot access memory at address 0xbff799f0 <-------

Your CHAR_DATA is getting corrupted.

Figure out what's causing that, and you'll be set.

- Valnir

----- Original Message ----- 
From: "KJM" <[email protected]>
To: "'KJM'" <[email protected]>; "'Valnir'" <[email protected]>; 
<[email protected]>
Sent: Thursday, May 12, 2005 5:08 PM
Subject: RE: Odd problem


> Ignore the last one.  It had a type in the list  This is the GDB output 
> ....
> Sorry about that.
>
>
> GNU gdb Red Hat Linux (5.2-2)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you 
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for 
> details.
> This GDB was configured as "i386-redhat-linux"...
> Core was generated by `anatolia 4555 hotboot 4 -1'.
> Program terminated with signal 11, Segmentation fault.
> Cannot access memory at address 0x40016afc
> #0  do_spellsold (ch=Cannot access memory at address 0xbff799f0
> ) at skills.c:371
> 371         bool found = FALSE;
> (gdb) where
> #0  do_spellsold (ch=Cannot access memory at address 0xbff799f0
> ) at skills.c:371
> Cannot access memory at address 0xbff799e8
> (gdb) all
> Undefined command: "all".  Try "help".
> (gdb) list
> 366     void do_spellsold(CHAR_DATA *ch, char *argument)
> 367     {
> 368         char spell_list[LEVEL_IMMORTAL][MAX_STRING_LENGTH];
> 369         char spell_columns[LEVEL_IMMORTAL];
> 370         int sn,lev,mana;
> 371         bool found = FALSE;
> 372         char buf[MAX_STRING_LENGTH];
> 373         char output[8*MAX_STRING_LENGTH];
> 374
> 375         if (IS_NPC(ch))
> (gdb) quit
>
>
>>>>>>>>>Can you include the actual GDB output please? include
>>>>>ALL the info
>>>>>>>>>that WHERE shows (as far as the code trace anyway). Thanks!
> tinfo/rom
>
> 


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