SphereServer BugTracker - SphereServer
View Issue Details
0002265SphereServerexecutable - windows buildpublic22-01-14 18:1402-11-14 10:58
jconapogostick 
XuN 
normalminorunable to reproduce
resolvedfixed 
16-06-2013, 0.56b Prerelease 
0.56c Nightly 
Not Available
New_Triggers
Command_Sysmsgs, NoHouseMuteSpeech
0002265: Access Violation in Sphere::MainMonitorLoop() /bugs/view.php?id=3 "Check Stuck"
i cannot find the reason nor reproduce it, but the server crashed with this log:

http://pastebin.com/w8dCAaGG [^]
the fishing.scp shown on the logs is irrelative. it's a basic script that worked fine for years. the line in question (20) is as follows:

IF <SRC.RESTEST 10 i_fish_cut_raw>
No tags attached.
? fishing.scp (1,505) 12-02-14 01:36
http://tracker.sphere.torfo.org/bugs/file_download.php?file_id=93&type=bug
Issue History
22-01-14 18:14jconapogostickNew Issue
03-02-14 22:59jconapogostickNote Added: 0001937
10-02-14 03:42jconapogostickNote Added: 0001945
11-02-14 03:14BenNote Added: 0001946
11-02-14 08:41jconapogostickNote Added: 0001947
12-02-14 00:49BenNote Added: 0001948
12-02-14 01:36jconapogostickFile Added: fishing.scp
12-02-14 01:38jconapogostickNote Added: 0001949
12-02-14 06:42jconapogostickNote Added: 0001950
13-02-14 18:47XuNNote Added: 0001951
13-02-14 18:48XuNNote Edited: 0001937bug_revision_view_page.php?bugnote_id=0001937#r560
13-02-14 18:49XuNNote Edited: 0001945bug_revision_view_page.php?bugnote_id=0001945#r562
13-02-14 18:49XuNNote Edited: 0001950bug_revision_view_page.php?bugnote_id=0001950#r564
13-02-14 18:50XuNNote Edited: 0001951bug_revision_view_page.php?bugnote_id=0001951#r566
13-02-14 18:53XuNNote Edited: 0001951bug_revision_view_page.php?bugnote_id=0001951#r567
13-02-14 18:53XuNDescription Updatedbug_revision_view_page.php?rev_id=569#r569
13-02-14 22:05jconapogostickNote Added: 0001952
29-10-14 12:15XuNNote Added: 0002523
02-11-14 10:58XuNStatusnew => resolved
02-11-14 10:58XuNFixed in Version => 0.56c Nightly
02-11-14 10:58XuNResolutionopen => fixed
02-11-14 10:58XuNAssigned To => XuN

Notes
(0001937)
jconapogostick   
03-02-14 22:59   
(edited on: 13-02-14 18:48)
another random crash occured today, i can't make the connection between the previous one and this one so here's the log:

http://pastebin.com/HgujVrjL [^]

(0001945)
jconapogostick   
10-02-14 03:42   
(edited on: 13-02-14 18:49)
another crash today, it was stable for the last 3 days, no exception, no warnings, nothing at all. all of a sudden, this happens when a lingering account tries to connect:

http://pastebin.com/435wpSD4 [^]

(0001946)
Ben   
11-02-14 03:14   
Although you say the fishing script is irrelevant, it's obviously connected in some way. I'll need to see the whole thing. There may be a clue in there as to why it's causing this...
(0001947)
jconapogostick   
11-02-14 08:41   
the fishing thing never happened again. it's just a very basic frypan script that lets players to cook in bulk.

do you have any ideas about my last log? most of my crashes happen that way. a re-connect of a recently disconnected/logged out player enters the world and it crashes.
(0001948)
Ben   
12-02-14 00:49   
Unless you help me, I can't help you.
Both crash happen in the same area of the code... so they are in some way connected.
(0001949)
jconapogostick   
12-02-14 01:38   
ok :) i added the script, i know its poorly written a very old item that i havent revised at all. the first log is connected to it, but i'm very interested in finding the cause of my last log. it happens a lot, the fishing crash happened only once whilst the "lingering character reconnects" crash happens at least once every week.
(0001950)
jconapogostick   
12-02-14 06:42   
(edited on: 13-02-14 18:49)
another crash just happened at the same time i tried to login, here's the log:

http://pastebin.com/EJt6yFS6 [^]

(0001951)
XuN   
13-02-14 18:47   
(edited on: 13-02-14 18:53)
Not sure if that can cause the problem itself, but you are using src.new.bounce, the usage is new.bounce, same with amount, think that you are using serv.new*... the reference to use is new, src is the player double clicking and not serv... it may cause some issues like that.

And please, for such big pastes uses pastebin.com :) (I've already edited your notes with it)

(0001952)
jconapogostick   
13-02-14 22:05   
i know that script is poorly written, but i didn't think it would cause a crash anyway.

it was the first and the last time i've seen the reference to that script in the logs. the last 2 logs is what i'm worried about. it was an idle time with no players online when i tried to connect and it crashed with the last log i provided.
(0002523)
XuN   
29-10-14 12:15   
I guess this is related to Network Threads and the other network settings, they should be disabled.