Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Bing

Members: 0
Guests: 15
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
614
BenitoVirg
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » General Discussions » Random Crash/Copy
Forum Rules | Mark all | Recent Posts

Random Crash/Copy
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jan 19, 2006, 5:23 pm
Go to the top of the page
Go to the bottom of the page

Banner
Magician
GroupMembers
Posts169
JoinedNov 29, 2005

Random crash/Emergency Copyover when a certain player is on. Can anyone help me with solving this one?

GDB entry:
Program received signal SIGSEGV, Segmentation fault.
0x080f4dcd in violence_update () at fight.c:303
303                    ch->desc->character = ch->desc->original;
(gdb) 


            if( !paf_next || paf_next->type != paf->type || paf_next->duration > 0 )
            {
               skill = get_skilltype( paf->type );
               if( paf->type > 0 && skill && skill->msg_off )
               {
                  set_char_color( AT_WEAROFF, ch );
                  send_to_char( skill->msg_off, ch );
                  send_to_char( "\n\r", ch );
               }
            }
            if( paf->type == gsn_possess )
            {
/* Line 303 */ ch->desc->character = ch->desc->original;
               ch->desc->original = NULL;
               ch->desc->character->desc = ch->desc;
               ch->desc->character->switched = NULL;
               ch->desc = NULL;
            }
            affect_remove( ch, paf );
         }
      }



I recently removed the POSSESS skill from the skills.dat file for security reasons, if that helps with anything. Thanks in advance.
       
Post is unread #2 Jan 19, 2006, 6:45 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

I would have to guess, based on what little info you've given, that ch->desc is NULL and therefore you cannot access ch->desc->original. Odds are that a player went linkdead with a possession affect on them and then something happened to trigger this.
       
Post is unread #3 Jan 19, 2006, 7:12 pm   Last edited Mar 10, 2008, 6:45 pm by Samson
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

BTW, this may help solve the problem. http://www.smaugmuds.org/index.php?a=topic&t=1583
       
Pages:<< prev 1 next >>