Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Console exceptions on latest august build
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #1
Console exceptions on latest august build
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?
08-04-2014 02:54 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: Console exceptions on latest august build
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?
08-04-2014 04:48 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #3
RE: Console exceptions on latest august build
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
(This post was last modified: 08-04-2014 05:47 PM by Coruja.)
08-04-2014 05:44 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #4
RE: Console exceptions on latest august build
Is there a way you can add an event with @Kill trigger logging ARGN to see what the value is when this error happens?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
08-04-2014 07:16 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #5
RE: Console exceptions on latest august build
You can also test the new test build in the download section and see if it's fixed there.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
08-04-2014 10:21 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #6
RE: Console exceptions on latest august build
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
08-05-2014 06:54 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #7
RE: Console exceptions on latest august build
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
08-05-2014 07:26 AM
Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #8
RE: Console exceptions on latest august build
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

[Image: htid.jpg]
(This post was last modified: 08-06-2014 06:12 AM by htid4life.)
08-06-2014 06:09 AM
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: #9
RE: Console exceptions on latest august build
I get this same problem too. Running on August 4th Nightly release, happens on client 6.0.11.0.

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

Marchadium :: http://www.marchadium.ca/ :: Join us!
08-06-2014 07:54 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #10
RE: Console exceptions on latest august build
Discussion about this has moved to: http://forum.spherecommunity.net/Thread-...n=lastpost
08-06-2014 05:05 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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