SphereServer BugTracker - SphereServer
View Issue Details
0001761SphereServerexecutable - genericpublic01-06-10 01:3215-09-13 20:02
alex 
Ben 
highmajorrandom
closedunable to reproduce 
20-09-2009, 0.56b Prerelease 
 
20-09-2009
None
None
0001761: clients crash randomly since r1283
it seems the r1283 introduced some major changes in networking that affects clients and make them crash randomly (I think it's related to the ticket id 0001756 that has been fixed since then)

the reported clients that crash are: 6.x 7.x with and without razor.

we tested every sphere version since r1283 and they all make the clients crash randomly.

it's hard to recreate the crash, we just run the binary on our online shard, send broadcast to everyone to start fighting at britain's bridge, and then lot of people start crashing, including the staff (gm's/counselors) you can crash less often by not moving at all.

After watching a lot of people moving around casting fighting each other, you walk, or teleport and the client might crash... I've could recreate it on an empty server making 3 people fight for a very long time, moving around and spawning a lot of npcs, and then "serv.allclients fix" made 1 person crash. it's very random as you see.

No tags attached.
related to 0001756resolved MrSugarCube sphere sends "reagents ammount" packets to everybody on each cast 
has duplicate 0001763closed  Client Crash 
has duplicate 0001798closed ShiryuX Lag / Bad play / etc 
Issue History
01-06-10 01:32alexNew Issue
01-06-10 01:32alexNightly Version => 20-09-2009
01-06-10 01:32alexExperimental Flags => None
01-06-10 01:32alexOption Flags => None
10-06-10 03:15GM CancerberoNote Added: 0000488
13-06-10 03:23GM CancerberoIssue Monitored: GM Cancerbero
17-06-10 19:37MrSugarCubeRelationship addedhas duplicate 0001763
03-07-10 01:25MrSugarCubeNote Added: 0000497
03-07-10 01:25MrSugarCubeStatusnew => feedback
03-07-10 01:58alexNote Added: 0000498
03-07-10 02:03MrSugarCubeNote Added: 0000499
03-07-10 02:08alexNote Added: 0000500
05-07-10 22:27MirravinNote Added: 0000503
05-07-10 23:51alexNote Added: 0000505
06-07-10 03:19MirravinNote Added: 0000506
23-08-10 17:27MrSugarCubePrioritynormal => high
20-09-10 18:21ShiryuXAssigned To => ShiryuX
20-09-10 18:21ShiryuXStatusfeedback => assigned
21-09-10 22:55CorujaNote Added: 0000657
22-09-10 03:45ShiryuXRelationship addedhas duplicate 0001798
09-10-10 17:18ShiryuXAssigned ToShiryuX =>
09-10-10 17:19ShiryuXStatusassigned => feedback
04-01-11 05:06MirravinNote Added: 0000814
08-01-11 20:46MirravinNote Added: 0000817
08-01-11 20:46MirravinNote Edited: 0000817bug_revision_view_page.php?bugnote_id=0000817#r86
09-01-11 23:36IncanusNote Added: 0000825
09-01-11 23:40MirravinNote Added: 0000826
09-01-11 23:53MrSugarCubeRelationship addedrelated to 0001756
10-01-11 00:44MrSugarCubeNote Added: 0000827
12-01-11 07:55ShiryuXNote Added: 0000834
09-09-13 18:19DavideReiNote Added: 0001670
09-09-13 18:20DavideReiNote Edited: 0001670bug_revision_view_page.php?bugnote_id=0001670#r527
15-09-13 20:02BenNote Added: 0001686
15-09-13 20:02BenStatusfeedback => closed
15-09-13 20:02BenAssigned To => Ben
15-09-13 20:02BenResolutionopen => unable to reproduce

Notes
(0000488)
GM Cancerbero   
10-06-10 03:15   
same issue with 80 people online
There is no lag at all, but when players start casting around me (with GM flag) if I walk, client crash.
Players also got random client crashes, tested with and without razor
We had to go back to previous version (before networking tweaks).
(0000497)
MrSugarCube   
03-07-10 01:25   
Can you check this with automated build #1296+? The fix for 0001756 has been moved to an experimental flag so that you can prove whether or not this is the cause of the crashes.
(0000498)
alex   
03-07-10 01:58   
can you tell me which experimental flag enables/disables the fix for 07156? I don't see a new EF_xxxx flag in .the ini
(0000499)
MrSugarCube   
03-07-10 02:03   
The current automated builds appears to be versions #1295 (Linux) and #1293 (Windows). The change you need is in #1296 so should be in tomorrow night's builds.
(0000500)
alex   
03-07-10 02:08   
thanks, I'll wait then!!
(0000503)
Mirravin   
05-07-10 22:27   
And? Crashes disappear than EF flag is disabled?
(0000505)
alex   
05-07-10 23:51   
r1296 has been running fine on our shard without the EF_FixCanSeeInClosedConts flag. It has been running for almost 2 days flawlessly!

then we enabled that flag, restarted sphere and everybody started crashing (including the staff) in less than 15 mins.

btw: there's a "ERROR:(sphere.ini,739)Undefined keyword 'TooltipCacheTime'" on startup on that release, do I open a new bug report for it?
(0000506)
Mirravin   
06-07-10 03:19   
Thanks.
(0000657)
Coruja   
21-09-10 22:55   
You must replace 'TooltipCacheTime' with 'TooltipCache'
(0000814)
Mirravin   
04-01-11 05:06   
Below you can see SpyUO logs. 2 questions:
1) Why sphere is sending megacliloc to item 0x4006E061 AFTER it is removed?
2) Can you attach EF_FixCanSeeInClosedConts to t_reagent only? May be crashes is not connected with reagent sending, but with other fix aspects?


Logs created on 04.01.2011 5:56:10 by SpyUO


Type - WorldItem (1A) - Receive
Message - ItemId: "0x2007" ItemIdName: "MissingName" Hue: "0x0" Position: "(6108 2282, 0)" Serial: "0x4006E061" Count: "0" Direction: "0x0" Flag: "0x20"
Time - 5:55:09.71
Rel time - 1859,23s
Dif time - 0,00s
Packet - 1A 0F 00 40 06 E0 61 20 07 17 DC 48 EA 00 20
ASCII - ...@..a ...H..
Length - 15

Type - RemoveEntity (1D) - Receive
Message - Serial: "0x4006E061"
Time - 5:55:09.82
Rel time - 1859,34s
Dif time - 0,11s
Packet - 1D 40 06 E0 61
ASCII - .@..a
Length - 5

Type - ASCIIMessage (1C) - Receive
Message - Text: "In Por Ylem " SpeechType: "0x3" Hue: "0x3B2" Font: "3" SourceName: "Test" Serial: "0x898B2" ModelId: "0x190"
Time - 5:55:09.82
Rel time - 1859,34s
Dif time - 0,00s
Packet - 1C 39 00 00 08 98 B2 01 90 03 03 B2 00 03 54 65 73 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 49 6E 20 50 6F 72 20 59 6C 65 6D 20 00
ASCII - .9............Test..........................In Por Ylem .
Length - 57

Type - MobileAnimation (6E) - Receive
Message - Serial: "0x563378" Action: "26" FrameCount: "6" RepeatCount: "1" Forward: "True" Repeat: "False" Delay: "1"
Time - 5:55:09.82
Rel time - 1859,34s
Dif time - 0,00s
Packet - 6E 00 08 98 B2 00 1A 00 06 00 01 00 00 01
ASCII - n.............
Length - 14

Type - ObjectProperties (D6) - Receive
Message - Serial: "0x4006E061" HashCode: "0x1" PropertiesString: "0. "Number: "1050045", NumberText: "", Arguments: " MissingName """ Type: "1"
Time - 5:55:09.84
Rel time - 1859,36s
Dif time - 0,02s
Packet - D6 37 00 00 01 40 06 E0 61 00 00 00 00 00 01 00 10 05 BD 00 1E 20 00 09 00 4D 00 69 00 73 00 73 00 69 00 6E 00 67 00 4E 00 61 00 6D 00 65 00 09 00 20 00 00 00 00 00
ASCII - .7...@..a............ ...M.i.s.s.i.n.g.N.a.m.e... .....
Length - 55

Type - WorldItem (1A) - Receive
Message - ItemId: "0x2007" ItemIdName: "MissingName" Hue: "0x0" Position: "(6108 2282, 0)" Serial: "0x4006E061" Count: "0" Direction: "0x0" Flag: "0x20"
Time - 5:55:10.76
Rel time - 1860,28s
Dif time - 0,92s
Packet - 1A 0F 00 40 06 E0 61 20 07 17 DC 48 EA 00 20
ASCII - ...@..a ...H..
Length - 15

Type - RemoveEntity (1D) - Receive
Message - Serial: "0x4006E061"
Time - 5:55:10.93
Rel time - 1860,45s
Dif time - 0,17s
Packet - 1D 40 06 E0 61
ASCII - .@..a
Length - 5

Type - ContainerContentUpdate (25) - Receive
Message - Serial: "0x4002CDA7" ItemID: "0xF7A" Amount: "7" X: "33" Y: "34" ContSerial: "0x4002CDA8" Hue: "0x0"
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,02s
Packet - 25 40 02 CD A7 0F 7A 00 00 07 00 21 00 22 00 40 02 CD A8 00 00
ASCII - %@....z....!.".@.....
Length - 21

Type - ObjectProperties (D6) - Receive
Message - Serial: "0x4006E061" HashCode: "0x1" PropertiesString: "0. "Number: "1050045", NumberText: "", Arguments: " MissingName """ Type: "1"
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,00s
Packet - D6 37 00 00 01 40 06 E0 61 00 00 00 00 00 01 00 10 05 BD 00 1E 20 00 09 00 4D 00 69 00 73 00 73 00 69 00 6E 00 67 00 4E 00 61 00 6D 00 65 00 09 00 20 00 00 00 00 00
ASCII - .7...@..a............ ...M.i.s.s.i.n.g.N.a.m.e... .....
Length - 55

Type - ContainerContentUpdate (25) - Receive
Message - Serial: "0x4002CDA2" ItemID: "0xF88" Amount: "5" X: "51" Y: "117" ContSerial: "0x4002CDA8" Hue: "0x0"
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,00s
Packet - 25 40 02 CD A2 0F 88 00 00 05 00 33 00 75 05 40 02 CD A8 00 00
ASCII - %@.........3.u.@.....
Length - 21

Type - GraphicalEffect (70) - Receive
Message - Type: "0" From: "0x898B2" To: "0x97D4E" ItemId: "0x36E4" ItemIdName: "small fireball" FromLocation: "(6115 2282, 0)" ToLocation: "(6108 2282, 0)" Speed: "5" Duration: "0" FixedDirection: "False" Explode: "True"
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,00s
Packet - 70 00 00 08 98 B2 00 09 7D 4E 36 E4 17 E3 08 EA 00 17 DC 08 EA 00 05 00 00 00 00 01
ASCII - p.......}N6.................
Length - 28

Type - PlaySound (54) - Receive
Message - SoundId: "0x159" SoundMode: "1" Position: "(6108 2282, 0)" Unknown: "0x0" Name: ""
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,00s
Packet - 54 01 01 59 00 00 17 DC 08 EA 00 00
ASCII - T..Y........
Length - 12

Type - PlaySound (54) - Receive
Message - SoundId: "0x1E5" SoundMode: "1" Position: "(6115 2282, 0)" Unknown: "0x0" Name: ""
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,00s
Packet - 54 01 01 E5 00 00 17 E3 08 EA 00 00
ASCII - T...........
Length - 12

Type - MobileAnimation (6E) - Receive
Message - Serial: "0x621902" Action: "29" FrameCount: "2" RepeatCount: "1" Forward: "True" Repeat: "False" Delay: "1"
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,00s
Packet - 6E 00 09 7D 4E 00 1D 00 02 00 01 00 00 01
ASCII - n..}N.........
Length - 14

Type - ObjectProperties (D6) - Receive
Message - Serial: "0x4002CDA7" HashCode: "0x6B" PropertiesString: "0. "Number: "1026326", NumberText: "", Arguments: "Black Pearls"" - 1. "Number: "1026327", NumberText: "", Arguments: "Реагент"" - 2. "Number: "1026328", NumberText: "", Arguments: "Стоимость: 1"" - 3. "Number: "1026329", NumberText: "", Arguments: "Количество: 7""" Type: "1"
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,00s
Packet - D6 B7 00 00 01 40 02 CD A7 00 00 00 00 00 6B 00 0F A9 16 00 18 42 00 6C 00 61 00 63 00 6B 00 20 00 50 00 65 00 61 00 72 00 6C 00 73 00 00 0F A9 17 00 1C 20 04 35 04 30 04 33 04 35 04 3D 04 42 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0F A9 18 00 2A 21 04 42 04 3E 04 38 04 3C 04 3E 04 41 04 42 04 4C 04 3A 00 20 00 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0F A9 19 00 2E 1A 04 3E 04 3B 04 38 04 47 04 35 04 41 04 42 04 32 04 3E 04 3A 00 20 00 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ASCII - .....@........k......B.l.a.c.k. .P.e.a.r.l.s....... .5.0.3.5.=.B....................*!.B.>.8.<.>.A.B.L.:. .1...........................>.;.8.G.5.A.B.2.>.:. .7.........................
Length - 183

Type - ObjectProperties (D6) - Receive
Message - Serial: "0x4002CDA2" HashCode: "0x6B" PropertiesString: "0. "Number: "1026326", NumberText: "", Arguments: "Nightshade"" - 1. "Number: "1026327", NumberText: "", Arguments: "Реагент"" - 2. "Number: "1026328", NumberText: "", Arguments: "Стоимость: 1"" - 3. "Number: "1026329", NumberText: "", Arguments: "Количество: 5""" Type: "1"
Time - 5:55:10.95
Rel time - 1860,47s
Dif time - 0,00s
Packet - D6 B3 00 00 01 40 02 CD A2 00 00 00 00 00 6B 00 0F A9 16 00 14 4E 00 69 00 67 00 68 00 74 00 73 00 68 00 61 00 64 00 65 00 00 0F A9 17 00 1C 20 04 35 04 30 04 33 04 35 04 3D 04 42 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0F A9 18 00 2A 21 04 42 04 3E 04 38 04 3C 04 3E 04 41 04 42 04 4C 04 3A 00 20 00 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0F A9 19 00 2E 1A 04 3E 04 3B 04 38 04 47 04 35 04 41 04 42 04 32 04 3E 04 3A 00 20 00 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ASCII - .....@........k......N.i.g.h.t.s.h.a.d.e....... .5.0.3.5.=.B....................*!.B.>.8.<.>.A.B.L.:. .1...........................>.;.8.G.5.A.B.2.>.:. .5.........................
Length - 179
(0000817)
Mirravin   
08-01-11 20:46   
Last time, anyone here has tried using EF_FixCanSeeInClosedConts on living shards?

P.s. With test on local sphere(last build) I couldn't reproduse crashes.

(0000825)
Incanus   
09-01-11 23:36   
Tested with build #1385 and with EF_FixCanSeeInClosedConts enabled we have noticed a significant increase in client crashes
(0000826)
Mirravin   
09-01-11 23:40   
Thanks!
(0000827)
MrSugarCube   
10-01-11 00:44   
I believe that SpyUO crashes at the same time as the client (before it is able to log the final 'culprit' packet), so another tool may be needed to get a useful packet log (I think Razor is usually good at logging final packets before crashing?).

I don't expect that the crash will be directly related to t_reagent items or spell casting. The EF_FixCanSeeInClosedConts fix was aimed more at the fact that 'cansee' returns 1 for items in other players' backpacks -- update packets for t_reagent items being sent to everyone onscreen when someone casts a spell is just one example of how the original issue would manifest itself.
(0000834)
ShiryuX   
12-01-11 07:55   
Incanus, can you send me a PM in the forums?

Thank you.
(0001670)
DavideRei   
09-09-13 18:19   
(edited on: 09-09-13 18:20)
Build # 1619.
With EF_FixCanSeeInClosedConts enabled a lot of client crashes.
Without no one.
We have noticed that happens often when players cast spells.

(0001686)
Ben   
15-09-13 20:02   
This report is way too vague.
Closing.
If any crashes are reported, please do so with specific info related to that crash.