AirtestProject / AirtestProject/Poco-SDK
启动Unity3D app时会导致app crash,tcpserver启动链接失败
- Vorherrschende Sprache
- C++
- Sterne
- 325
- Forks
- 194
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
描述问题bug
启动app会出现tpc端口绑定失败,导致游戏崩溃
Managed Stack Trace:
com.magicfuelgames.crashreporting.CrashReportingTelemetryComponent.logErrorFnMap31 (System.String logMessage, System.String stackTrace, System.String hashMessage) (at <00000000000000000000000000000000>:0)
System.Action`3[T1,T2,T3].Invoke (T1 arg1, T2 arg2, T3 arg3) (at <00000000000000000000000000000000>:0)
System.Action`1[T].Invoke (T obj) (at <00000000000000000000000000000000>:0)
com.magicfuelgames.bootstrap.Bootstrap.Update () (at <00000000000000000000000000000000>:0)
Rethrow as Exception: Error31: System.Net.Sockets.SocketException (0x80004005): Address already in use
System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) (at <00000000000000000000000000000000>:0)
System.Net.Sockets.TcpListener.Start (System.Int32 backlog) (at <00000000000000000000000000000000>:0)
TcpServer.AsyncTcpServer.Start (System.Int32 backlog) (at <00000000000000000000000000000000>:0)
PocoManager.Awake () (at <00000000000000000000000000000000>:0)
UnityEngine.GameObject.AddComponent[T] () (at <00000000000000000000000000000000>:0)
com.magicfuelgames.core.gamecomponentfactory.GameComponentFactory.CreateComponent (System.Type componentType) (at <00000000000000000000000000000000>:0)
com.magicfuelgames.core.gamecomponentfactory.ComponentsContainer.CreateTypes (System.Reflection.Assembly exAssembly) (at <00000000000000000000000000000000>:0)
com.magicfuelgames.core.gamecomponentfactory.GameComponentFactory.CreateComponent[T] () (at <00000000000000000000000000000000>:0)
MFGCommon.Client.AppSessionInitStack.Init () (at <00000000000000000000000000000000>:0)
com.magicfuelgames.bootstrap.Bootstrap.Start () (at <00000000000000000000000000000000>:0)
#0 0x768aa8a814 (libunity.so) ? 0x0
#1 0x768b2fa2a4 (libunity.so) ? 0x0
#2 0x768ad438dc (libunity.so) ? 0x0
#3 0x768ad4380c (libunity.so) ? 0x0
#4 0x7667262abc (libil2cpp.so) ? 0x0
#5 0x7665b89148 (libil2cpp.so) ? 0x0
#6 0x7665dc78d8 (libil2cpp.so) ? 0x0
#7 0x768ac9f244 (libunity.so) ? 0x0
#8 0x768acabd94 (libunity.so) ? 0x0
#9 0x768acae304 (libunity.so) ? 0x0
#10 0x768ace2f14 (libunity.so) ? 0x0
#11 0x768acb6cdc (libunity.so) ? 0x0
#12 0x768acb70c0 (libunity.so) ? 0x0
#13 0x768abc8d14 (libunity.so) ? 0x0
#14 0x768abc8a54 (libunity.so) ? 0x0
#15 0x768abc99a8 (libunity.so) ? 0x0
#16 0x768ac93484 (libunity.so) ? 0x0
#17 0x768ad82a1c (libunity.so) ? 0x0
#18 0x7666436698 (libil2cpp.so) ? 0x0
#19 0x7667be27b0 (libil2cpp.so) ? 0x0
#20 0x7667be247c (libil2cpp.so) ? 0x0
#21 0x766643974c (libil2cpp.so) ? 0x0
#22 0x7667c32c28 (libil2cpp.so) ? 0x0
#23 0x766605d778 (libil2cpp.so) ? 0x0
#24 0x7665b89148 (libil2cpp.so) ? 0x0
#25 0x7665dc78d8 (libil2cpp.so) ? 0x0
#26 0x768ac9f244 (libunity.so) ? 0x0
#27 0x768acabd94 (libunity.so) ? 0x0
#28 0x768acb5f94 (libunity.so) ? 0x0
#29 0x768acb61c0 (libunity.so) ? 0x0
#30 0x768acb4f48 (libunity.so) ? 0x0
#31 0x768ab054e8 (libunity.so) ? 0x0
#32 0x768abdae20 (libunity.so) ? 0x0
#33 0x768abdae54 (libunity.so) ? 0x0
#34 0x768abdb098 (libunity.so) ? 0x0
#35 0x768ad15660 (libunity.so) ? 0x0
#36 0x768ad29278 (libunity.so) ? 0x0
#37 0x7691ea351c (base.odex) ? 0x0
System.Action`1:Invoke(T)
com.magicfuelgames.bootstrap.Bootstrap:Update()
复现步骤
Log Message Jun 9, 2021, 03:11:38.226 0 11:11:38.223: 0: OnApplicationPause:False
Log Message Jun 9, 2021, 03:11:38.305 1 11:11:38.305: 0: AppSessionInitStack: Init
Log Message Jun 9, 2021, 03:11:38.317 1 Creating GlobalComponentContainer
Log Message Jun 9, 2021, 03:11:38.327 1 Build config: DEBUG
Log Message Jun 9, 2021, 03:11:38.336 1 TIMER: Using the system's high-resolution performance counter.
Log Message Jun 9, 2021, 03:11:38.338 1 network reachability: started
Log Message Jun 9, 2021, 03:11:38.351 1 Versioning: scmCommitId: 155644, buildNumber: 5943
Log Message Jun 9, 2021, 03:11:38.366 1 11:11:38.366: 0: FirebaseTestLab::Check
Log Message Jun 9, 2021, 03:11:38.376 1 start server
Log Message Jun 9, 2021, 03:11:38.378 1 Tcp server bind to port 5001 Failed!
Log Message Jun 9, 2021, 03:11:38.378 1 --- Failed Trace Begin ---
Error Jun 9, 2021, 03:11:38.379 1 System.Net.Sockets.SocketException (0x80004005): Address already in use at System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) [0x00000] in <00000000000000000000000000000000>:0 at System.Net.Sockets.TcpListener.Start (System.Int32 backlog) [0x00000] in <00000000000000000000000000000000>:0 at TcpServer.AsyncTcpServer.Start (System.Int32 backlog) [0x00000] in <00000000000000000000000000000000>:0 at PocoManager.Awake () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.GameObject.AddComponent[T] () [0x00000] in <00000000000000000000000000000000>:0 at com.magicfuelgames.core.gamecomponentfactory.GameComponentFactory.CreateComponent (System.Type componentType) [0x00000] in <00000000000000000000000000000000>:0 at com.magicfuelgames.core.gamecomponentfactory.ComponentsContainer.CreateTypes (System.Reflection.Assembly exAssembly) [0x00000] in <00000000000000000000000000000000>:0 at com.magicfuelgames.core.gamecomponentfactory.GameComponentFactory.CreateComponent[T] () [0
Log Message Jun 9, 2021, 03:11:38.399 1 --- Failed Trace End ---
Log Message Jun 9, 2021, 03:11:38.400 1 start server
Log Message Jun 9, 2021, 03:11:38.401 1 Tcp server started and listening at 5002
Log Message Jun 9, 2021, 03:11:38.406 1 Directory already exists: /storage/emulated/0/Android/data/com.crescentlakegames.mfg3.ml/files/1980206/975d1c05-c7e5-475c-bdbd-0248aba355a9/android
Log Message Jun 9, 2021, 03:11:38.496 1 Using Facebook Unity SDK v9.2.0 with FBAndroidSDK/9.1.1
Log Message Jun 9, 2021, 03:11:38.498 1 logErrorFnMap31:System.Net.Sockets.SocketException (x*******):
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.