[GH-ISSUE #768] Does Terraria rely on any special libraries? #613

Closed
opened 2026-02-27 02:02:39 +03:00 by kerem · 2 comments
Owner

Originally created by @Herover on GitHub (Mar 23, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/768

I've had some problems setting up a Terraria server on a 64 bit Debian machine. I had to manually apply a glibc fix (it uses same version as Garry's Mod so I used that download and saved the file in serverfiles/lib/).

This is the output when I run a unmodified Terraria install (+glibc 2.15 fix):

hosted-terraria@nysis:~/servers/server1$ ./terrariaserver debug

Terraria Debug
============================

Distro: Debian GNU/Linux 7.9 (wheezy)
Arch: x86_64
Kernel: 3.14.32-xxxx-grs-ipv6-64
Hostname: nysis.dk

Start parameters:
./TerrariaServer -config /home/hosted-terraria/servers/server1/serverfiles/terraria-server.txt

Use for identifying server issues only!
Press CTRL+c to drop out of debug mode.
Warning! If terraria-server is already running it will be stopped.

Continue? [Y/n]y
[ INFO ] Debug terraria-server: Stopping any running servers
[ FAIL ] Stopping terraria-server:  is already stopped
[  OK  ] Debug terraria-server: Starting debug
Terraria Server v1.3.0.8

n               New World
d <number>      Delete World

Choose World: n
Terraria Server v1.3.0.8

1       Small
2       Medium
3       Large

Choose size: 1
Terraria Server v1.3.0.8

1       Normal
2       Expert

Choose difficulty: 1
Terraria Server v1.3.0.8

Enter world name: test
Resetting game objects 1%
Resetting game objects 2%
Resetting game objects 3%
Resetting game objects 4%
Stacktrace:


Native stacktrace:

        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0xcb624) [0xf049d624]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x11e758) [0xf04f0758]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x29dae) [0xf03fbdae]
        [0xf0797410]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libc.so.6(__printf_fp+0xaa0) [0xf026ffb0]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libc.so.6(_IO_vfprintf+0x54f9) [0xf026efd9]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libc.so.6(__vsprintf_chk+0xc9) [0xf032a5e9]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libc.so.6(__sprintf_chk+0x2f) [0xf032a4ff]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x22f1f0) [0xf06011f0]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x22f794) [0xf0601794]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x230282) [0xf0602282]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x20ca1d) [0xf05dea1d]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x20cdf7) [0xf05dedf7]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x224568) [0xf05f6568]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x22462f) [0xf05f662f]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x1db168) [0xf05ad168]
        [0xefe90871]
        [0xe2fc98b0]
        [0xee181f44]
        [0xefe8fc9d]
        /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x29753) [0xf03fb753]
        [0xe2fe53a4]

Debug info from gdb:

ptrace: Operation not permitted.
No threads.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

./TerrariaServer: line 38:  3441 Aborted                 ./${BASENAME}.bin.${ext} $@
hosted-terraria@nysis:~/servers/server1$

Originally created by @Herover on GitHub (Mar 23, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/768 I've had some problems setting up a Terraria server on a 64 bit Debian machine. I had to manually apply a glibc fix (it uses same version as Garry's Mod so I used that download and saved the file in serverfiles/lib/). This is the output when I run a unmodified Terraria install (+glibc 2.15 fix): ``` hosted-terraria@nysis:~/servers/server1$ ./terrariaserver debug Terraria Debug ============================ Distro: Debian GNU/Linux 7.9 (wheezy) Arch: x86_64 Kernel: 3.14.32-xxxx-grs-ipv6-64 Hostname: nysis.dk Start parameters: ./TerrariaServer -config /home/hosted-terraria/servers/server1/serverfiles/terraria-server.txt Use for identifying server issues only! Press CTRL+c to drop out of debug mode. Warning! If terraria-server is already running it will be stopped. Continue? [Y/n]y [ INFO ] Debug terraria-server: Stopping any running servers [ FAIL ] Stopping terraria-server: is already stopped [ OK ] Debug terraria-server: Starting debug Terraria Server v1.3.0.8 n New World d <number> Delete World Choose World: n Terraria Server v1.3.0.8 1 Small 2 Medium 3 Large Choose size: 1 Terraria Server v1.3.0.8 1 Normal 2 Expert Choose difficulty: 1 Terraria Server v1.3.0.8 Enter world name: test Resetting game objects 1% Resetting game objects 2% Resetting game objects 3% Resetting game objects 4% Stacktrace: Native stacktrace: /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0xcb624) [0xf049d624] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x11e758) [0xf04f0758] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x29dae) [0xf03fbdae] [0xf0797410] /home/hosted-terraria/servers/server1/serverfiles/lib/libc.so.6(__printf_fp+0xaa0) [0xf026ffb0] /home/hosted-terraria/servers/server1/serverfiles/lib/libc.so.6(_IO_vfprintf+0x54f9) [0xf026efd9] /home/hosted-terraria/servers/server1/serverfiles/lib/libc.so.6(__vsprintf_chk+0xc9) [0xf032a5e9] /home/hosted-terraria/servers/server1/serverfiles/lib/libc.so.6(__sprintf_chk+0x2f) [0xf032a4ff] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x22f1f0) [0xf06011f0] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x22f794) [0xf0601794] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x230282) [0xf0602282] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x20ca1d) [0xf05dea1d] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x20cdf7) [0xf05dedf7] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x224568) [0xf05f6568] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x22462f) [0xf05f662f] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x1db168) [0xf05ad168] [0xefe90871] [0xe2fc98b0] [0xee181f44] [0xefe8fc9d] /home/hosted-terraria/servers/server1/serverfiles/lib/libmonosgen-2.0.so.0(+0x29753) [0xf03fb753] [0xe2fe53a4] Debug info from gdb: ptrace: Operation not permitted. No threads. ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= ./TerrariaServer: line 38: 3441 Aborted ./${BASENAME}.bin.${ext} $@ hosted-terraria@nysis:~/servers/server1$ ```
kerem closed this issue 2026-02-27 02:02:39 +03:00
Author
Owner

@UltimateByte commented on GitHub (Mar 24, 2016):

Debian 8 should be the minimum i guess.

SIGSEGV is kind of a C# interpretation error if i get it right. Happened to me on Rust and Debian 8 a few time if it can reassure you.

<!-- gh-comment-id:200821051 --> @UltimateByte commented on GitHub (Mar 24, 2016): Debian 8 should be the minimum i guess. SIGSEGV is kind of a C# interpretation error if i get it right. Happened to me on Rust and Debian 8 a few time if it can reassure you.
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406236970 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#613
No description provided.