View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002498SphereServerexecutable - windows buildpublic27-03-15 04:2627-03-15 08:37
Reporterlazarus 
Assigned ToXuN 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformWindowsOSWindows 7OS Version7
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002498: ON=@Death function working bad (threads)
DescriptionREV 2233
blank server
Just kill a NPC and you get some thread errors:
Same with players.

00:19:DEBUG:__ thread (8196) __ | # | _____ function _____________ | ticks passed from previous function start ______
00:19:DEBUG:>> 8196 | 0 | CWorld::OnTick | +0
00:19:DEBUG:>> 8196 | 1 | CSector::OnTick | +0
00:19:DEBUG:>> 8196 | 2 | CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
00:19:DEBUG:>> 8196 | 3 | CChar::Death | +0
00:19:DEBUG:>> 8196 | 4 | CVarDefMap::Empty | +0
00:19:CRITICAL:"Access Violation" (0x1dc45), in CChar::Tick() 0000001 "death"
00:20:1:'admin1' commands 'str 4000'=1
00:20:DEBUG:__ thread (8196) __ | # | _____ function _____________ | ticks passed from previous function start ______
00:20:DEBUG:>> 8196 | 0 | CWorld::OnTick | +0
00:20:DEBUG:>> 8196 | 1 | CSector::OnTick | +0
00:20:DEBUG:>> 8196 | 2 | CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
00:20:DEBUG:>> 8196 | 3 | CChar::Death | +0
00:20:DEBUG:>> 8196 | 4 | CVarDefMap::Empty | +0
00:20:CRITICAL:"Access Violation" (0x1dc45), in CChar::Tick() 0000001 "death"
00:20:DEBUG:__ thread (8196) __ | # | _____ function _____________ | ticks passed from previous function start ______
00:20:DEBUG:>> 8196 | 0 | CWorld::OnTick | +0
00:20:DEBUG:>> 8196 | 1 | CSector::OnTick | +0
00:20:DEBUG:>> 8196 | 2 | CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
00:20:DEBUG:>> 8196 | 3 | CChar::Death | +0
00:20:DEBUG:>> 8196 | 4 | CVarDefMap::Empty | +16
00:20:CRITICAL:"Access Violation" (0x1dc45), in CChar::Tick() 0000001 "death"
Steps To Reproduce-Open server
-Kill NPC
-On Death functions call.
-Thread problems.
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number2233
Attached Files

- Relationships

-  Notes
(0002756)
XuN (developer)
27-03-15 08:37

Fixed, also moved NPC_CleanOwners() under the bonded check to avoid forgeting their masters.

- Issue History
Date Modified Username Field Change
27-03-15 04:26 lazarus New Issue
27-03-15 08:37 XuN Note Added: 0002756
27-03-15 08:37 XuN Status new => resolved
27-03-15 08:37 XuN Fixed in Version => 0.56c Nightly
27-03-15 08:37 XuN Resolution open => fixed
27-03-15 08:37 XuN Assigned To => XuN


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker