SphereServer BugTracker - SphereServer
View Issue Details
0001769SphereServerexecutable - genericpublic01-07-10 02:0114-11-10 18:18
Balrog 
MrSugarCube 
normalblockrandom
closedduplicate 
 
 
09-09-2008
None
None
0001769: What error could cause this crash?
I am getting random crashes on my sphere, 2 or 3 on a week at a live shard with 60-110 players. The debug messages are always very simmilar:

16:29:DEBUG:__ # | _____ function _____________ | ticks passed from previous function start ______
16:29:DEBUG:>> 0 | CWorld::OnTick | +0
16:29:DEBUG:>> 1 | CGObList::DeleteAll | +31
16:29:DEBUG:>> 2 | CGObList::GetHead | +0
16:29:CRITICAL:Error Pri=2, Code=-1073741819, Desc='Exception', in Sphere::Tick() 0000002 "world"
16:29:DEBUG:__ # | _____ function _____________ | ticks passed from previous function start ______
16:29:DEBUG:>> 0 | CWorld::OnTick | +0
16:29:DEBUG:>> 1 | CGObList::DeleteAll | +31
16:29:DEBUG:>> 2 | CGObList::GetHead | +0


Anyone could throw a light for the problem? Please, developers, could you tell me what is the meaning of "CWorld::OnTick", "CGObList::DeleteAll", "CGObList::GetHead" and the "Code=-1073741819" clause?

Thank you very much!!
No tags attached.
has duplicate 0001853closed MrSugarCube @unequip + remove -> crash 
Issue History
01-07-10 02:01BalrogNew Issue
01-07-10 02:01BalrogNightly Version => 09-09-2008
01-07-10 02:01BalrogExperimental Flags => None
01-07-10 02:01BalrogOption Flags => None
03-07-10 00:20MrSugarCubeStatusnew => closed
03-07-10 00:20MrSugarCubeNote Added: 0000494
03-07-10 00:20MrSugarCubeResolutionopen => suspended
03-07-10 04:07BalrogStatusclosed => feedback
03-07-10 04:07BalrogResolutionsuspended => reopened
03-07-10 04:07BalrogNote Added: 0000501
05-07-10 23:38BalrogNote Added: 0000504
27-07-10 17:27MrSugarCubeStatusfeedback => closed
27-07-10 17:27MrSugarCubeNote Added: 0000530
27-07-10 17:27MrSugarCubeResolutionreopened => no change required
27-07-10 17:36BalrogStatusclosed => feedback
27-07-10 17:36BalrogResolutionno change required => reopened
27-07-10 17:36BalrogNote Added: 0000531
14-11-10 17:36MrSugarCubeRelationship addedhas duplicate 0001853
14-11-10 18:18MrSugarCubeStatusfeedback => closed
14-11-10 18:18MrSugarCubeAssigned To => MrSugarCube
14-11-10 18:18MrSugarCubeResolutionreopened => duplicate

Notes
(0000494)
MrSugarCube   
03-07-10 00:20   
The error is too vague to have any idea of the cause. If you can reproduce it on a recent automated build then there may be some more useful information to go by.
(0000501)
Balrog   
03-07-10 04:07   
I cannot reproduce it when I want. If I could, I could solve it :S

Please, could you tell me what that debug messages mean? Maybe it would help me. Thank you in advance
(0000504)
Balrog   
05-07-10 23:38   
I could solve it with a lot of help from some players. The error was produced by a infinite loop caused for a REMOVE under the @UNEQUIP trigger. This is very difficult to find if the script runs for months and starts failing after a time. I think the REMOVE function must delete de item exactly in the moment it is called, and not on the next tick (I think it works very simmilar to that). If I want to remove an item in some point of my script, I don't want it to be existing on the next pass. I think it is an error. What do you think?
(0000530)
MrSugarCube   
27-07-10 17:27   
I think you shouldn't have infinite loops in your scripts. :)
(0000531)
Balrog   
27-07-10 17:36   
You are very kind :)

This error is from Sphere. If you don't want to fix it, say it on an open way. The loop was caused because I sent the order for remove the item and SPHERE didn't remove it. So, in another script, I was checking if the item exists, and if so, remove it. The item wasn't removed, so it was sending the order for removing again and again. If it worked correctly, it wouldn't make an infinite loop. So, don't bother with your comments. I was asking for help in a kind way, and when I could fix the problem, I reported it in a kind way.