The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Completely random crash?
Author Message
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #1
Completely random crash?
Code:
23:23:(achievements.scp,161)Chibanga:03dcdfc4 unlocked achievement: Killed 10 players
23:23:(k_MAIN_death.scp,343)Chibanga[TKZAO1] gains 132 karma for killing Jessica Cox[cantador].
23:23:(k_MAIN_events.scp,1385)Victim is 03d6eb4a Jessica Cox Killer is 03dd6d4e Tiesto
23:23:(achievements.scp,161)Tiesto:03dd6d4e unlocked achievement: Killed 10 players
23:23:(k_MAIN_death.scp,343)Tiesto[Spitfire27] gains 132 karma for killing Jessica Cox[cantador].
23:23:P'Jessica Cox' was killed by accident.
23:23:ERROR:(sphere_backward_compatibility.scp,27)Can't resolve <NPC>
23:23:ERROR:(k_functions_char.scp,20)Undefined symbol ''
23:23:e1:'Chibanga' Says UNICODE 'PTG' '2222' mode=0
23:23:(k_MAIN_death.scp,220)Found Char Memory for Varnisha: Color=030
23:23:(k_MAIN_death.scp,235)Found Char Memory for Radagast on Man: Color=035
23:23:(k_MAIN_death.scp,220)Found Char Memory for Analog: Color=031
23:23:(k_MAIN_events.scp,1385)Victim is 03b683dd Shadow Killer is 03de6840 b``
23:23:(k_MAIN_death.scp,343)b``[b``] gains 47 karma for killing Shadow[].
23:23:105:Client connected [Total:67] ('186.214.66.2' 1/1)
23:23:105: Account 'comilao' already in use.
23:23:WARNING:105:Bad Login 1 (The account entered is already being used)
23:23:105:Client disconnected [Total:66] ('186.214.66.2')
23:23:FATAL:Segmentation fault
23:23:FATAL:Server Unstable: Aborted
23:23:FATAL:Server Unstable: Aborted
23:23:FATAL:Server Unstable: Aborted
23:23:FATAL:Server Unstable: Aborted
23:23:FATAL:Server Unstable: Aborted

This happened after normal activity above..

What can cause a Segmentation fault?

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-24-2013 08:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #2
RE: Completely random crash?
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
01-24-2013 03:10 PM
Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #3
RE: Completely random crash?
So, not something wrong with my scripts? Sphere just dying right?

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-24-2013 11:53 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Completely random crash?
Never come across this myself, but having read the page referenced by RanXerox, it's not your scripts.

[Image: 2nis46r.jpg]
01-25-2013 12:02 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #5
RE: Completely random crash?
Now this happened today...

Code:
18:55:160: Account 'ThiagoMartins' already in use.
18:55:WARNING:160:Bad Login 1 (The account entered is already being used)
18:55:160:Client disconnected [Total:68] ('177.142.87.152')
18:55:d7:'thobiaz' commands 'skillrolls'=1
18:55:15f:'Gaffer' commands 'g eos'=1
18:55:15f:'Gaffer' commands 'g im gonna have to see how many books i got lol'=1
18:55:(k_MAIN_skill_init.scp,632)DynamiC Trying to Tame NPC Maynard
18:55:136:'ivanpi' commands 'remove'=1
18:55:'ivanpi' commands uid=043aecaeb (bloodrock halberd) to 'remove'=1
18:55:136:'ivanpi' commands 'add'=1
19:01:WARNING:Forcing thread 'Main' to terminate...
19:01:CRITICAL:'Main' thread hang, restarting...


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?

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-25-2013 05:40 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #6
RE: Completely random crash?
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?
01-25-2013 05:49 AM
Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #7
RE: Completely random crash?
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
if !(<ARGN>)
return <NPC>
else
NPC=<ARGN>
endif

I am not sure why it keeps saying NPC isnt defined.. I thought it was a core thing?

ULTIMA ONE
The modern, sphere powered Ultima Online server
(This post was last modified: 01-25-2013 07:04 AM by Ultima One.)
01-25-2013 06:10 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #8
RE: Completely random crash?
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).
(This post was last modified: 01-25-2013 10:20 AM by Shaklaban.)
01-25-2013 10:20 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #9
RE: Completely random crash?
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.
23:50:WARNING:4d:Unknown game packet (0x9c) received.
23:50:WARNING:4d:Unknown game packet (0xde) received.
23:50:WARNING:4d:Unknown game packet (0x9e) received.
23:50:WARNING:4d:Unknown game packet (0xe9) received.
23:50:WARNING:4d:Unknown game packet (0x28) received.
23:50:WARNING:4d:Unknown game packet (0x67) received.
23:55:14:'Kleopatra' Says UNICODE 'PTG' 'k' mode=0
23:55:WARNING:53:Unknown game packet (0xb2) received.
23:55:WARNING:53:Unknown game packet (0x45) received.
23:55:(k_MAIN_death.scp,181)Varnisha Not charged for killing Fallen Angel. 0200c
23:55:WARNING:53:Unknown game packet (0xb9) received.
23:55:WARNING:53:Unknown game packet (0xf7) received.
23:59:2d:'Morgana' Says 'Guards' mode=0
23:59:WARNING:55:Unknown game packet (0xe7) received.
23:59:WARNING:55:Unknown game packet (0x1b) received.
23:59:WARNING:55:Unknown game packet (0x1e) 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>

ULTIMA ONE
The modern, sphere powered Ultima Online server
(This post was last modified: 01-25-2013 11:03 AM by Ultima One.)
01-25-2013 10:43 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #10
RE: Completely random crash?
Here's a link for unknown packet support: http://forum.spherecommunity.net/Thread-...et-Support

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
01-25-2013 04:04 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)