Crashing World excessively

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Crashing World excessively

Post by John Adams » Sun Aug 10, 2008 4:18 pm

Here's it's own thread to track this issue.
Using the provided Damage.lua script, I am passing 2 spell_data params, both INT, one is damageType 0 (slashing) the other is damage amount 9, for the Assassin skill "Quick Strike" (I am not currently using the DOT component). After casting it once, I see the right damage hit the mob - but after casting it a second time, I usually crash the world.

Code: Select all

   0: 25 00 01 00 31                                     | %...1
   0: 22 00 05 00 34 30 30 30 - 30                       | "...40000
Error running attempt to call a nil value
   0: 22 00 05 00 34 30 30 30 - 30                       | "...40000
Error running attempt to call a nil value
Got signal 11
See here two casts - both reporting something about a nil value - what is this?
My Damage.lua (from SVN):
--[[
This is the EQ2Emu generic spell damage script written in LUA.
These functions are shared, so don't save any character data in them.
If you have any questions be sure to read the readme.txt file located in this directory
--]]
--main process function
function cast(Caster, Target, DamageType, Damage)
-- syntax for SpellDamage is Target, DamageType, and Damage
SpellDamage(Target, DamageType, Damage)
end
function remove(Caster, Target)
Info from servers Application log:

Code: Select all

Faulting application eq2world.exe, version 0.0.0.0, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00010f29.
I hadn't noticed ntdll.dll being hit before.
Edit OP: Renamed because this has nothing to do with spells only. I see more world crashes changing LUA scripts, and using /reload luasystem and /reload spawnscripts then /repop. Seems to happen often doing that.
Last edited by John Adams on Tue Aug 12, 2008 4:20 pm, edited 1 time in total.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sun Aug 10, 2008 4:51 pm

I cant reproduce this. Even setting it up like you have it wont crash my server. Could you dump your entire database to a file and upload it somewhere for me? Maybe it is something not obvious. :/

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Sun Aug 10, 2008 4:58 pm

Posted on DB SVN under Trunk/TestData. I doubt there is sensitive data in there :) but delete it when you're done please.
I had been trying to build a Heal script too, but of course having no luck with that. I am simply worn out, man. lol... thank god I have to work tomorrow. :)

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Mon Aug 11, 2008 7:24 pm

Rev 122 Crash just now:
This crash was brought to you by /reload spawnscripts, randomly. Since I had done it 12 times, with repops and /reload luasystem commands too.
Scat and I were the only two on, and he was AFK at the time.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Tue Aug 12, 2008 4:21 pm

Went ahead and renamed this post to cover the general crashings I am experiencing. The good news is, if >I< am not logged in, the server does not crash. So it is definitely something I am doing. :)

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Thu Aug 14, 2008 6:44 pm

Just had another world restart. I had /reload luasystem and /reload spawnscripts after fixing a quest, and /exit because I had already done it and wanted to clear the data so I could do it again.
The zone was still running (could still see sapswills being murdered endlessly) and when I clicked Play, I saw my acct key and crashed. It still could be the /reloads... since I logged out and back in quickly.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Sat Aug 16, 2008 9:38 am

LE, maybe good news. I removed the wandering, dying invaders last night from the world so they were not spam-dying. I then left myself standing in-game all night while players were in and out. There was not one crash.
Very first thing I did this morning was /reload spells, and 20 seconds later, the world crashed. Hope this helps narrow it down. You can export my DB if you need it.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Mon Aug 18, 2008 7:22 pm

Here is the latest update using the dev 409 server. While testing the queuing fixes, I was watching the console as Scatman was queue-casting. When it appeared he was done, I sent a /reload spells and immediately crashed EQ2World.exe.
I am not sure if it was trying to reload while a spell was being cast, or cooling down, or whatever. Just more info.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Wed Aug 20, 2008 2:34 pm

New (old) confirmation... this is NOT limited to /reload spells. It is now happening while I am /reload luasystem the /reload spawnscripts (not sure if both are necessary for reading newly created scripts).
It crashed just before I got to the /repop, so it's in /reload, fer sure.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests