Re: Odd problem

"Valnir" <[email protected]> Tue, 17 May 2005 10:01:58 -0400
Newsgroups gmane.games.devel.mud.rom
Message-ID <[email protected]>
I would venture a guess that if you had multiple people logged into and 
actively playing on your test port, it would probably crash there too.

It probably is being over-written, or unloaded some how.

How is do_spellold called, and what does it do for you that do_spell 
doesn't?

- Valnir

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


> Ok but why is it only happening on my main port and not on my test port?
> Same code...same character...same command....different port.
>
> Thanks!
>
>>>>>-----Original Message-----
>>>>>From: [email protected] [mailto:[email protected]] On
>>>>>Behalf Of Valnir
>>>>>Sent: Thursday, May 12, 2005 5:06 PM
>>>>>To: [email protected]
>>>>>Subject: Re: Odd problem
>>>>>
>>>>>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
>
> -- 
> ROM mailing list
> [email protected]
> Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 


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