运行TShock(Terraria游戏服务端社区版)时crash,错误信息如下:
$ dotnet TShock.Server.dll
Created new 8401x2401 DefaultCollection`1 for source: System.Void Terraria.Main::.cctor()
Illegal instruction
系统信息:
$ cat /etc/issue
Loongnix GNU/Linux 20 Release 3 \n \l
.NET 6版本信息:
$ dotnet --info
.NET SDK (反映任何 global.json):
Version: 6.0.112
Commit: d311a58ee1
运行时环境:
OS Name: Loongnix
OS Version: 20
OS Platform: Linux
RID: linux-loongarch64
Base Path: /usr/share/dotnet/sdk/6.0.112/
global.json file:
Not found
Host:
Version: 6.0.112
Architecture: loongarch64
Commit: ce03d10236
.NET SDKs installed:
6.0.112 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.12 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.12 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Download .NET:
http://www.loongnix.cn/zh/api/dotnet
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
Loongson's .NET version:
6.0.112-1
代码版本:
repo: https://github.com/Pryaxis/TShock
branch: general-devel
commit: 6e589ffaeed99fa1b1559a5aa18c375d04961fb3
编译&运行步骤:
$ git clone https://github.com/Pryaxis/TShock.git --recurse-submodules
$ cd TShock
$ dotnet build
$ dotnet TShockLauncher/bin/Debug/net6.0/TShock.Server.dll
Created new 8401x2401 DefaultCollection`1 for source: System.Void Terraria.Main::.cctor()
Illegal instruction