SphereServer BugTracker - SphereServer
View Issue Details
0002286SphereServerexecutable - windows buildpublic11-03-14 15:0414-03-14 16:32
Kirofus 
XuN 
normalcrashsometimes
resolvedfixed 
WIN32WindowsServer 2012
 
0.56c Nightly 
Automated (specify build number)
DiagonalWalkCheck, NewPositionChecks, Size_Optimise
None
1805
0002286: SphereServer Crash
I've got a crash of SphereServer without stack trace, nothing. The last step before the crash was to remove a WorldGemBit from a Spawn.

After, the server going up again, I've received a bunch of Bad Spawn point like this...

21:39:ERROR:Bad Spawn point uid=040008d19, id=0
21:39:ERROR:Bad Spawn point uid=04000828d, id=0
21:39:ERROR:Bad Spawn point uid=0400087ae, id=0
21:39:ERROR:Bad Spawn point uid=040008b0f, id=0
I will try to reproduce the bug again with SphereSvr.exe -E

No tags attached.
Issue History
11-03-14 15:04KirofusNew Issue
12-03-14 00:52XuNNote Added: 0001985
12-03-14 01:00KirofusNote Added: 0001986
12-03-14 09:01XuNNote Added: 0001987
14-03-14 16:32XuNNote Added: 0001998
14-03-14 16:32XuNStatusnew => resolved
14-03-14 16:32XuNFixed in Version => 0.56c Nightly
14-03-14 16:32XuNResolutionopen => fixed
14-03-14 16:32XuNAssigned To => XuN

Notes
(0001985)
XuN   
12-03-14 00:52   
How did you remove that worldgembit(s) ?
(0001986)
Kirofus   
12-03-14 01:00   
No, but the worldgem bit that I remove was OK few minutes before.

I never have this kind of error when I'm alone on my test shard, only with few people.

I think It "may" be a problem with the MYSQL library or something like that because I have only these kind of crash on my live server (0.56b) and my test server (0.56c) since I've started to add some logs on commands, speechs and the majority of the dialog's data are coming from a database. Also, when I remove my worldgem bit, I've done a ".remove" command, logged on MySQL.
(0001987)
XuN   
12-03-14 09:01   
You used .remove in the spawn with script command? ingame you have to use the ., with script you can't, however the problem you are receiving is about spawns without the more1 value correctly filled (wrong ID or empty). Try removing them with this function.

[Function DeleteBadSpawns]
local.count=0
ForInstances i_worldgem_bit
 local.type=<qval <type>==t_spawn_char?chardef:itemdef>
 if !(<serv.<local.type>.<more>>)
  local.count ++
  remove
 endif
endfor
Serv.Log Removed <dlocal.count> conflicting spawns.
(0001998)
XuN   
14-03-14 16:32   
No more anwsers, so I figure out it was fixed so i'm closing it, reopen if the problem persists.