Pryaxis/TShock

Segmentation fault

Fak3adm1n opened this issue · 9 comments

我下载了arm64 5.1.3的Releases后,解压打开后给了TShock.Server权限运行后提示需要.NET 6.0.0 于是安装.NET 6.0.0后,我再次运行./TShock.Server就报错了

A fatal error was encountered. The library 'libhostpolicy.so' required to execut e the application was not found in '/udisk/tshock/.dotnet/shared/Microsoft.NETCo re.App/6.0.12'.

我删掉了整个目录重新下载了一边,再次运行,得到

root@openstick:/udisk/tr# ./TShock.Server
Segmentation fault
root@openstick:/udisk/tr#

Can you try uname -a?

Can you try uname -a?

root@openstick:~# uname -a
Linux openstick 5.15.0-handsomekernel+ #17 SMP PREEMPT Sun Feb 6 22:10:37 CST 2022 aarch64 GNU/Linux
root@openstick:~#

我的架构是aarch64,我安装的tshock的架构是arm64

Where did you install dotnet from? (Is it via Snap?)

Where did you install dotnet from? (Is it via Snap?)

https://dotnet.microsoft.com/download/dotnet/6.0

Hmmm.... Somehow sounds like the problem comes from the native part rather than TShock.
Can you run dotnet --list-runtimes or try the dev version which contains a TShock.Installer?

Hmmm.... Somehow sounds like the problem comes from the native part rather than TShock. Can you run dotnet --list-runtimes or try the dev version which contains a TShock.Installer?

root@openstick:/udisk/tr/.dotnet# ./dotnet --list-runtimes
Microsoft.AspNetCore.App 6.0.12 [/udisk/tr/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.12 [/udisk/tr/.dotnet/shared/Microsoft.NETCore.App]
root@openstick:/udisk/tr/.dotnet#

硬盘坏了吧?