SphereCommunity
Console exceptions on latest august build - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Console exceptions on latest august build (/Thread-Console-exceptions-on-latest-august-build)

Pages: 1 2


Console exceptions on latest august build - Coruja - 08-04-2014 02:54 PM

Since I updated my nightly build from a may build to latest 02-august build, I started to have many console exceptions like this
Code:
22:03:DEBUG:__ thread (19052) __ |  # | _____ function _____________ | ticks passed from previous function start ______
22:03:DEBUG:>>         19052     |  0 |               CWorld::OnTick | +0
22:03:DEBUG:>>         19052     |  1 |              CSector::OnTick | +94
22:03:DEBUG:>>         19052     |  2 |                CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
22:03:DEBUG:>>         19052     |  3 |                 CChar::Death | +0
22:03:DEBUG:>>         19052     |  4 |            CVarDefMap::Empty | +0
22:03:CRITICAL:"Integer: Divide by Zero" (0x2f363), in CChar::Tick() #1 "death"
22:03:DEBUG:__ thread (19052) __ |  # | _____ function _____________ | ticks passed from previous function start ______
22:03:DEBUG:>>         19052     |  0 |               CWorld::OnTick | +0
22:03:DEBUG:>>         19052     |  1 |              CSector::OnTick | +47
22:03:DEBUG:>>         19052     |  2 |                CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
22:03:DEBUG:>>         19052     |  3 |                 CChar::Death | +0
22:03:DEBUG:>>         19052     |  4 |            CVarDefMap::Empty | +0
22:03:DEBUG:__ thread (19052) __ |  # | _____ function _____________ | ticks passed from previous function start ______
22:03:DEBUG:>>         19052     |  0 |               CWorld::OnTick | +0
22:03:DEBUG:>>         19052     |  1 |              CSector::OnTick | +94
22:03:DEBUG:>>         19052     |  2 |                CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
22:03:DEBUG:>>         19052     |  3 |                 CChar::Death | +0
22:03:DEBUG:>>         19052     |  4 |            CVarDefMap::Empty | +0
22:03:CRITICAL:"Integer: Divide by Zero" (0x2f363), in CChar::Tick() #3 "death"
the server still running fine, but with tons of these console exceptions. I got tons of errors, then it stop for some minutes, and start all again

initially I thought it was a NPC dying on a region not defined (like a disabled map) but I doubled checked again and there's no NPC on undefined regions/maps

I already checked all @Death / @DeathCorpse triggers too and none of them has any formula dividing by 0

any idea how I can debug this thing to find what's wrong?


RE: Console exceptions on latest august build - XuN - 08-04-2014 04:48 PM

Which was the latest working build? I cannot reproduce it and we did no changes to Death() function.

Are you having issues while returning 1 in the @Death trigger?


RE: Console exceptions on latest august build - Coruja - 08-04-2014 05:44 PM

I have no idea the build number which started this problem, I jumped directly from 25 may build to 02 aug :/

on my test server (local pc without any client connected) I don't get any console exception, and on live server I got tons of exceptions when it have many active players, but at this moment (2am~5am) all players are afk and there's no console error. Probably the cause of these exceptions is PVM, because on PVP I doesnt get any error when a player die

I checked all @Death/@DeathCorpse and doesnt found any return 0/1

PS: strangely all exceptions show this same code 0x2f363 even after restart the server


RE: Console exceptions on latest august build - Ben - 08-04-2014 07:16 PM

Is there a way you can add an event with @Kill trigger logging ARGN to see what the value is when this error happens?


RE: Console exceptions on latest august build - Ben - 08-04-2014 10:21 PM

You can also test the new test build in the download section and see if it's fixed there.


RE: Console exceptions on latest august build - Rizz - 08-05-2014 06:54 AM

Have you scripted something under @statchange?
Now @statchange accounts ARGN1 from 0 to 10, this caused a similar problem to me until i rescricted my code with
IF (<ARGN1> < 3


RE: Console exceptions on latest august build - Coruja - 08-05-2014 07:26 AM

thx, I'm testing this test build 1991 for ~5hours on live server, no more errors Big Grin
need more time to see if the error is really gone, but for now it's running perfectly


RE: Console exceptions on latest august build - htid4life - 08-06-2014 06:09 AM

im using build newest nightly 05/08/14

and i get this when dclick a spellbook

13:07:WARNING:a:Client crashed at 0,0,0,0: 0xC0000005 CRASH @ 0xB504E30F (client.exe, 7.0.35.1)

works on nightly from 20/07/14


RE: Console exceptions on latest august build - Skul - 08-06-2014 07:54 AM

I get this same problem too. Running on August 4th Nightly release, happens on client 6.0.11.0.


RE: Console exceptions on latest august build - XuN - 08-06-2014 05:05 PM

Discussion about this has moved to: http://forum.spherecommunity.net/Thread-New-test-build?action=lastpost