Thursday, July 23, 2015

Terraria under Ubuntu 14.04 - crash upon map loading

I just installed the beta version of Terraria for linux which just came out. I'm very happy the developers decided to make a linux port for this game. Of course the port is full of bugs and we're supposed to be reporting these bugs. Except I can't post my issue at the terraria forums right now (I'm not exactly sure why). So instead I'll post it here in case it can help someone in any way.

I just ran steam off of the command line, where you can open steam by going to

~/.steam/bin32/steam

and running

$ steam

from there you should be prompted to enter your credentials. From this point on just open another console window and go to

~/.steam/steam/SteamApps/common/Terraria

and run

$ ./Terraria

At this point I can basically start my game, I created my world and all looked OK. Once I tried to play it, the screen loaded for a second and then the game crashed. The following message was shown in the console:


Stacktrace:
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.wrapper_native_0x7fad18ede710 (Microsoft.Xna.Framework.Graphics.OpenGLDevice/GLenum,int,int,int,Microsoft.Xna.Framework.Graphics.OpenGLDevice/GLenum,intptr) <0xffffffff>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___OpenGLDevice/GLenum_int_int_int_OpenGLDevice/GLenum_intptr (Microsoft.Xna.Framework.Graphics.OpenGLDevice/GLenum,int,int,int,Microsoft.Xna.Framework.Graphics.OpenGLDevice/GLenum,intptr) <0xffffffff>
  at Microsoft.Xna.Framework.Graphics.OpenGLDevice.DrawUserIndexedPrimitives (Microsoft.Xna.Framework.Graphics.PrimitiveType,intptr,int,int,intptr,int,Microsoft.Xna.Framework.Graphics.IndexElementSize,int) <0x00115>
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DoSpriteDraw (Microsoft.Xna.Framework.Graphics.PrimitiveType,int,int,System.Runtime.InteropServices.GCHandle,int) <0x00095>
  at Microsoft.Xna.Framework.Graphics.FastBatch.DrawBatch () <0x0022f>
  at Microsoft.Xna.Framework.Graphics.SpriteBatch.End () <0x00057>
  at Terraria.Main.DrawToMap () <0x00f57>
  at Terraria.Main.Draw (Microsoft.Xna.Framework.GameTime) <0x02767>
  at Microsoft.Xna.Framework.Game.Tick () <0x0056c>
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () <0x007bf>
  at Microsoft.Xna.Framework.Game.Run () <0x0010a>
  at Terraria.Program.LaunchGame (string[]) <0x00087>
  at Terraria.LinuxLaunch.Main (string[]) <0x00037>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
/home/zoah/.local/share/Steam/SteamApps/common/Terraria/lib64/libmonosgen-2.0.so.0(+0xcd18a) [0x7fad1f7eb18a]
/home/zoah/.local/share/Steam/SteamApps/common/Terraria/lib64/libmonosgen-2.0.so.0(+0x12ad1b) [0x7fad1f848d1b]
/home/zoah/.local/share/Steam/SteamApps/common/Terraria/lib64/libmonosgen-2.0.so.0(+0x38f46) [0x7fad1f756f46]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7fad1f38fd40]
/usr/lib/fglrx/dri/fglrx_dri.so(+0x50d8c6) [0x7fad033c08c6]
/usr/lib/fglrx/dri/fglrx_dri.so(+0x5b344a) [0x7fad0346644a]
/usr/lib/fglrx/dri/fglrx_dri.so(+0x4b323a) [0x7fad0336623a]
/usr/lib/fglrx/dri/fglrx_dri.so(+0x5f57c8) [0x7fad034a87c8]
[0x40a43f0f]
Debug info from gdb:
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
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.
=================================================================
./Terraria: line 20:  5073 Aborted                 (core dumped) ./${BASENAME}.bin.${ext} $@

No comments:

Post a Comment