Completely random crash? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Completely random crash? (/Thread-Completely-random-crash) |
Completely random crash? - Ultima One - 01-24-2013 08:27 AM Code: 23:23:(achievements.scp,161)Chibanga:03dcdfc4 unlocked achievement: Killed 10 players This happened after normal activity above.. What can cause a Segmentation fault? RE: Completely random crash? - RanXerox - 01-24-2013 03:10 PM technically, this is http://en.wikipedia.org/wiki/Segmentation_fault ... another possible explanation for segmentation fault is: the computer just did what the programmer told it to do... :-p RE: Completely random crash? - Ultima One - 01-24-2013 11:53 PM So, not something wrong with my scripts? Sphere just dying right? RE: Completely random crash? - Mordaunt - 01-25-2013 12:02 AM Never come across this myself, but having read the page referenced by RanXerox, it's not your scripts. RE: Completely random crash? - Ultima One - 01-25-2013 05:40 AM Now this happened today... Code: 18:55:160: Account 'ThiagoMartins' already in use. No explanation again.... This happened when I first opened my server again about a week ago, then went away. Now it's back... Any chance something in game is causing this? RE: Completely random crash? - RanXerox - 01-25-2013 05:49 AM What build version of sphereserver are you using? For example, when I start my server, the log tells me: 09:59:Sphere Version 0.56b-Nightly [WIN32] by http://www.sphereserver.com, compiled at Oct 21 2012 (00:05:16), internal build #1543 What version/patch level of the UO client is installed on that server, and has that installation been manually modified? For example, when I start my client it says: UO Version 7.0.23.1 (patch 65) ...and I have never modified or replaced any of the files in that directory. Lastly, do you run that client while the server is running? RE: Completely random crash? - Ultima One - 01-25-2013 06:10 AM 20:24:Sphere Version 0.56b-Nightly [Linux] by http://www.sphereserver.com, compiled at Jan 6 2013 (00:01:20), internal build #1556 20:24:WARNING: --- WARNING --- There is no 'installation' of UO on the server, just the required Muls - Which are pulled from a 5.0.9.1 patch - which is the highest patch we allow our players to use. We do have a patch, but its a handful of statics changes in Green Acres and some colours and custom housing, which would exist in the Muls on the server being used by Sphere. The server is a dedicated CentOS6 server. So I don't run UO on the same machine as Sphere. Segmantation Fault again, after a resync this time. Put it back up and happened again within 3 minutes... <_<_< Now it dies about 30s after starting. Done a hardware restart too. _>_>> Update: So, the random crash before was not related to this it seems, but the instant crashes on restart were due to me changing NPC to our own ISNPC function in this code: Code: [function brain] //by Darkandus I am not sure why it keeps saying NPC isnt defined.. I thought it was a core thing? RE: Completely random crash? - Shaklaban - 01-25-2013 10:20 AM if possible and its a dedicated server (not vm), create virtual machine with wmware etc. and try with windows builds (on 32 bit windows), then you can have an idea about the source of problem (sphere, os or scripts). RE: Completely random crash? - Ultima One - 01-25-2013 10:43 AM Can give it a go. Also, getting some strange behaviour recently too. Characters will randomly Freeze (including admins), it seems Random, only effect one person at a time (maybe a couple but coincidental). You just freeze and cant move, but everyone around you can move and speak fine, and you can see people move and speak... This got a bit weird like 3 days ago. I have been modifying a lot of scripts, but nothing that should cause all of this O_O and an increase in unknown packets.. some examples.. Code: 23:50:WARNING:4d:Unknown game packet (0xe5) received. And - this seems to be a recurring issue, I can't fix it.. NPC is built in to Sphere isn't it? I thought this was long gone, but it is inside the [function brain] - which we use to check for ISNPC. Code: 02:01:ERROR:(sphere_backward_compatibility.scp,27)Can't resolve <NPC> RE: Completely random crash? - Skul - 01-25-2013 04:04 PM Here's a link for unknown packet support: http://forum.spherecommunity.net/Thread-Unknown-Packet-Support |