The Almighty Crash Thread

Discuss game issues here.

Moderator: Elder Staff

User avatar
Japheth
Staffer Emeritus
Posts: 17
Joined: Wed Apr 23, 2014 5:15 am
Location: Dubbo, NSW, Australia
Contact:

Re: The Almight Crash Thread

Post by Japheth » Thu Jun 26, 2014 3:06 am

Tiamat wrote:
RiderOnTheStorm wrote:Just curious, when the game supercrashes and stays down for more than a second, if you caused it, do you still get the

OMG! SOMETHING IN "<COMMAND YOU ENTERED>" BLEW UP THE GAME. STOP IT.

Or do those only show up on minor crashes? I always get worried when I'm in the middle of something and the game goes boom.
If you don't get the message, the game threw an unhandled exception and blew up. It can happen in major and minor crashes. It just depends on what error it was. Generally, major crashes are caused by corrupted data or some coder being naughty before they properly tested their changes. Corrupted data happens easily in DIKU because of how haphazardly coded it is.
I just wanted to make a quick comment on getting / not getting the message, because this can freak people out and it might help some of you to understand how you get that message.

99% of the time, the RPI Engine crashes because of a Segmentation Fault, which means it tried to access memory that it shouldn't. When that happens, the operating system sends a "signal" (SIGNAL11) to the program saying "you did something you shouldn't have, and I'm afraid I'm going to have to ask you to shutdown now".

The RPI Engine has a few "stages" during its game loop, one of which is the one where it handles input from players. When it's doing that, it sets a variable to keep track of the last player whose input they were tracking.

Then, if the MUD receives SIGNAL11, it looks to see whether anyone was set as the last command enterer in the input loop. If so, it sends that message to the player that you see. Either way, it then writes a core dump, writes a message to the "crashes" newsboard, and shuts down.

If you don't see the message, it didn't crash during the execution of your commands. It might have crashed immediately before or immediately after, and that might've even been indirectly because of what you entered, but it didn't crash during it.

Even if you do see the message, it could be only coincidence that it happened then. I recall one time there was a command that would occasionally crash the MUD, it drove us mad. It turned out the problem was actually that some people's clans were being corrupted sometimes, and this command just happened to touch on clans, and so it was usually what "found" this corruption first.

If the RPI Engine was a person, you'd shoot it in the face, honestly. I am pretty sure it was designed by Cthulhu, specifically to drive people into his arms. So if you get the crash message, don't freak out. I'd say it's at least 90% likely it wasn't something wrong with that command, but rather that the command just happened to stumble across something that went wrong elsewhere.
Do unto others, and then run away
http://www.futuremud.com

User avatar
WorkerDrone
Guide
Posts: 231
Joined: Thu Apr 17, 2014 5:59 pm
Location: From Dust

Re: The Almighty Crash Thread

Post by WorkerDrone » Thu Jun 26, 2014 4:31 am

The RPI engine is something I liken to your absolutely insufferably drunk friend on the tail end of a bender, who you hate for putting you in the position of having to help them stumbling home safely into bed, but would feel immense guilt for abandoning into a gutter somewhere downtown.
I hope you die right now, will you drink my chemical?
Brian wrote:See, the thing that I admire about WorkerDrone is that he's an optimist!

:lol:

User avatar
krelm
Calce Ferio asini Operarius
Posts: 647
Joined: Sat Sep 28, 2013 11:01 pm
Location: Brought to You Live, Via Sorcery

Re: The Almighty Crash Thread

Post by krelm » Fri Jul 04, 2014 1:01 am

It's down again.

It's going to be down all night.

Go be productive and seriously consider your life decisions up to this point.
One among the fence.

User avatar
Tiamat
Honored Elf
Posts: 388
Joined: Fri Oct 04, 2013 4:08 pm

Re: The Almighty Crash Thread

Post by Tiamat » Fri Jul 04, 2014 1:26 am

It is tentatively back. A certain someone may have forgotten to load back all the object file states before rebooting the server. Everything should be as it was. Game on.
Image

User avatar
wilesly
Forum Hobbit
Posts: 29
Joined: Tue Jun 10, 2014 6:17 pm

Re: The Almighty Crash Thread

Post by wilesly » Fri Jul 04, 2014 5:46 am

We see a rollback with the latest crash?
"Quis Custodiet Ipsos Custodes."

User avatar
Tiamat
Honored Elf
Posts: 388
Joined: Fri Oct 04, 2013 4:08 pm

Re: The Almighty Crash Thread

Post by Tiamat » Fri Jul 04, 2014 8:28 am

Yep. Rollback by about eight hours.
Image

User avatar
jdidds
Elf Recruit
Posts: 257
Joined: Tue Jun 24, 2014 9:29 am
Location: Somewhere over there

Re: The Almighty Crash Thread

Post by jdidds » Fri Jul 04, 2014 8:32 am

Tiamat wrote:Yep. Rollback by about eight hours.
That's why I have lost my equiptment, skills and stats :( Though I did gain telepathy. Score!

It's true though, I have lost all my equiptment and my skills are mostly beginner now. Also my stats are all average. :(

Code: Select all

There is currently 1 soul braving the world all alone.

User avatar
Tiamat
Honored Elf
Posts: 388
Joined: Fri Oct 04, 2013 4:08 pm

Re: The Almighty Crash Thread

Post by Tiamat » Fri Jul 04, 2014 8:38 am

jdidds wrote:
Tiamat wrote:Yep. Rollback by about eight hours.
That's why I have lost my equiptment, skills and stats :( Though I did gain telepathy. Score!

It's true though, I have lost all my equiptment and my skills are mostly beginner now. Also my stats are all average. :(
Support ticket.
Image

User avatar
Meneldor
Raptor Overlord
Posts: 507
Joined: Thu Aug 22, 2013 7:30 pm

Re: The Almighty Crash Thread

Post by Meneldor » Fri Jul 04, 2014 10:13 am

Already fixed.

User avatar
jdidds
Elf Recruit
Posts: 257
Joined: Tue Jun 24, 2014 9:29 am
Location: Somewhere over there

Re: The Almighty Crash Thread

Post by jdidds » Fri Jul 04, 2014 10:16 am

Meneldor wrote:Already fixed.
Thank you, Meneldor! :)

Code: Select all

There is currently 1 soul braving the world all alone.

User avatar
teepu
Guide
Posts: 83
Joined: Tue Nov 26, 2013 8:25 pm
Contact:

Re: The Almighty Crash Thread

Post by teepu » Sat Jul 05, 2014 3:46 am

The server's health is deteriorating..!!! :cry:

Mannfreid
Verified Member
Posts: 11
Joined: Sun Jun 22, 2014 7:50 pm

Re: The Almighty Crash Thread

Post by Mannfreid » Sat Jul 05, 2014 6:22 am

Diku code is notoriously wonky, and crashy. This is alpha, so expect these crashes and things. After a bit they will get it fixed.

User avatar
Tiamat
Honored Elf
Posts: 388
Joined: Fri Oct 04, 2013 4:08 pm

Re: The Almighty Crash Thread

Post by Tiamat » Sat Jul 05, 2014 10:53 am

Mannfreid wrote:Diku code is notoriously wonky, and crashy. This is alpha, so expect these crashes and things. After a bit they will get it fixed.
Unfortunately the frequent crashing may not be something that's fixed in any ALPHA, BETA, or OPEN for that matter, but at least the other stuff that admins CAN control will be fine tuned.
Image

User avatar
WildGiller
Honored Dwarf
Posts: 147
Joined: Fri May 23, 2014 11:55 pm

Re: The Almighty Crash Thread

Post by WildGiller » Sat Jul 05, 2014 1:16 pm

So game pooped out and that's not just me right?

tehkory
Master Ent
Posts: 627
Joined: Tue Dec 03, 2013 3:21 pm

Re: The Almighty Crash Thread

Post by tehkory » Sat Jul 05, 2014 1:18 pm

WildGiller wrote:So game pooped out and that's not just me right?
Yup. It's frozen.

MrDvAnt
Honored Elf
Posts: 300
Joined: Sun Jan 19, 2014 12:55 am

Re: The Almighty Crash Thread

Post by MrDvAnt » Sat Jul 05, 2014 1:39 pm

They should tell us who killed it so we can throw things at them and call them salty names on the forum.

Bones
Elf Recruit
Posts: 187
Joined: Thu Jun 12, 2014 10:30 pm
Contact:

Re: The Almighty Crash Thread

Post by Bones » Sat Jul 05, 2014 1:57 pm

Like pretzel?

Or 'Tortilla chip'?

Potato chip?

Most kinds of chip?

That sort of salty?
Nimrod banned me for 7 days.

MrDvAnt
Honored Elf
Posts: 300
Joined: Sun Jan 19, 2014 12:55 am

Re: The Almighty Crash Thread

Post by MrDvAnt » Sat Jul 05, 2014 2:37 pm

Bones wrote:Like pretzel?

Or 'Tortilla chip'?

Potato chip?

Most kinds of chip?

That sort of salty?
Of course...what else would I mean? :?

User avatar
WildGiller
Honored Dwarf
Posts: 147
Joined: Fri May 23, 2014 11:55 pm

Re: The Almighty Crash Thread

Post by WildGiller » Sat Jul 05, 2014 5:29 pm

Soo... Wut happened to the game? *sads*

RiderOnTheStorm
Elf Recruit
Posts: 219
Joined: Thu Jun 05, 2014 3:48 pm

Re: The Almighty Crash Thread

Post by RiderOnTheStorm » Sat Jul 05, 2014 5:31 pm

Any sort of ETA? Work in progress, or waiting for X to get home from work, or _____?

User avatar
WildGiller
Honored Dwarf
Posts: 147
Joined: Fri May 23, 2014 11:55 pm

Re: The Almighty Crash Thread

Post by WildGiller » Sat Jul 05, 2014 6:27 pm

Iunno, it's spooky quiet..

tehkory
Master Ent
Posts: 627
Joined: Tue Dec 03, 2013 3:21 pm

Re: The Almighty Crash Thread

Post by tehkory » Sat Jul 05, 2014 6:29 pm

With shit like this, we're usually waiting for Holmes, Nimrod, or Tiamat. And I'm not sure how likely it is Tiamat'll fix the big stuff(I've seen you fix some pretty significant stuff), and Holmes is a drunkard and in NYC. Probably got drunk and fell off a roof and broke his ankle or something. I'd believe it.

So...Nimrod?

RiderOnTheStorm
Elf Recruit
Posts: 219
Joined: Thu Jun 05, 2014 3:48 pm

Re: The Almighty Crash Thread

Post by RiderOnTheStorm » Sat Jul 05, 2014 6:32 pm

tehkory wrote:and Holmes is a drunkard and in NYC. Probably got drunk and fell off a roof and broke his ankle or something. I'd believe it.
:lol: :lol:

User avatar
Tiamat
Honored Elf
Posts: 388
Joined: Fri Oct 04, 2013 4:08 pm

Re: The Almighty Crash Thread

Post by Tiamat » Sat Jul 05, 2014 10:12 pm

I'm currently on the road. However, if hotel internet holds up, I will try and fix it.
Image

User avatar
Tiamat
Honored Elf
Posts: 388
Joined: Fri Oct 04, 2013 4:08 pm

Re: The Almighty Crash Thread

Post by Tiamat » Sat Jul 05, 2014 10:49 pm

Up for now, tentatively.
Image

Post Reply