Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex, DotBot

Members: 0
Guests: 13
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » where player
Forum Rules | Mark all | Recent Posts

where player
< Newer Topic :: Older Topic > crash?

Pages:<< prev 1 next >>
Post is unread #1 Feb 13, 2004, 9:20 pm   Last edited Nov 23, 2007, 11:51 pm by Samson
Go to the top of the page
Go to the bottom of the page

cynshard

GroupMembers
Posts95
JoinedNov 19, 2003

I'm getting a core dump when a person that is ON an overland map types where player, and not all other players are on the map. For example:
Joe is on the overland map. Tom is in a regular zone. Tom types where player and he gets the normal where output. Joe types where player and the game crashes.

Here is the stackdump:
Exception: STATUS_ACCESS_VIOLATION at eip=610BA4C1
eax=00000000 ebx=00000001 ecx=FFFFFFFF edx=90006169 esi=FFFFFFFF edi=90006169
ebp=002260C4 esp=002260C0 program=C:cygwinhomeAdministratorafkmudsrcafkmud.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
002260C4  610BA4C1  (90006169, 0022753A, 0043B50B, 00000001)
00227554  610C1294  (610CB020, 0022756C, 0043B4F0, 0022B618)
002275E4  610C1623  (002275FC, 00004000, 0043B4F0, 0022B610)
0022B600  0049877A  (1021DBE0, 0043B4F0, 100DE9E0, 90006169)
0022B630  0043B687  (1021DBE0, 0022F6CC, 0022F658, 6E65706F)
0022DE5C  0043BB77  (1021DBE0, 0022F6C6, 0022DE7C, 635C3A43)
0022F690  004F2F1C  (1021DBE0, 0022F6C6, 1021DBE0, 00000005)
0022FECC  004A21DE  (00000000, 0000251C, FFFFFFFF, 0022FEF0)
0022FEF0  004A3157  (00000002, 61600FDC, 10020330, 0022FF24)
0022FF40  61005018  (610CFEE0, FFFFFFFE, 000007E0, 610CFE04)
0022FF90  610052ED  (00000000, 00000000, 00000001, 00000000)
0022FFB0  00597191  (004A2FD2, 037F0009, 0022FFF0, 77E814C7)
0022FFC0  0040103C  (00000001, 00000032, 7FFDF000, EFD9BCF0)
0022FFF0  77E814C7  (00401000, 00000000, 78746341, 00000020)
End of stack trace


Does this happen to anyone else? I'm kind of suspicious of myself. I tend to dump a lot of cores..

Thanks,
Cynshard
       
Post is unread #2 Feb 13, 2004, 9:36 pm   Last edited Nov 23, 2007, 11:52 pm by Samson
Go to the top of the page
Go to the bottom of the page

cynshard

GroupMembers
Posts95
JoinedNov 19, 2003

Aha.
I found a tiny logic error in do_pwhere.

In act_wiz.c , function do_pwhere find this:
if( IS_PLR_FLAG( ch, PLR_ONMAP ) ) 
               pager_printf( ch, "&G%-28s &Y[&WOverland&Y] &C%s %d %d\r\n",
                  victim->name, map_names[victim->map], victim->x, victim->y );

change: IS_PLR_FLAG(ch, PLR_ONMAP) to IS_PLR_FLAG(victim, PLR_ONMAP)

that should fix it.

Cynshard
       
Post is unread #3 Feb 15, 2004, 5:50 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Eeep, good catch. Fixed. And for future reference, Cygwin stackdumps don't mean a whole lot to me. I'd needa GDB output to make any sense of it
       
Post is unread #4 Feb 16, 2004, 12:28 am
Go to the top of the page
Go to the bottom of the page

cynshard

GroupMembers
Posts95
JoinedNov 19, 2003

Yeah, stackdumps in general don't mean much to me
Cynshard
       
Pages:<< prev 1 next >>