CRASH!!

Anything regarding UO or Age of Valor
Locked
Mosin
Posts: 58
Joined: Sun Jun 08, 2008 6:07 pm

CRASH!!

Post by Mosin »

THE SERVER HAS CRASH! oh noes. i was looking at the arty display in gate library and suddenly io was pwnt. *sad face*

Archived topic from AOV, old topic ID:3384, old post ID:21607
"Hey look at this turtle I found behind the barn!"
"Where?"
"Fooled you!"
"nnoooo"

Me to Anarchy
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

CRASH!!

Post by Red Squirrel »

Yeah I just found out what it is, another good example of RunUO's lack of planing. Most if all of the code is thread unsafe which means if there are two threads running such as the main thread and a timer (such as damage delay) if two lines of code are executed in a certain order it can crash.

ex:

if(creature!=null)creature.dosomething();

But say during the if statement the creature is not null it returns true, but meanwhile in another thread something happens and that creature becomes null but it has not executed creature.dosomething() yet then when it does go to execute that - CRASH.

It's not exactly whats happening in this case but that example is simpler then the current situation here.

Archived topic from AOV, old topic ID:3384, old post ID:21608
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

CRASH!!

Post by Red Squirrel »

The crash has now been fixed.

Archived topic from AOV, old topic ID:3384, old post ID:21612
Honk if you love Jesus, text if you want to meet Him!
Locked