space-wizards / RobustToolbox

Robust multiplayer game engine, used by Space Station 14
https://spacestation14.io
Other
551 stars 410 forks source link

Unable to start in Ubuntu Linux: sfText_setFillColor #466

Closed gravypod closed 6 years ago

gravypod commented 7 years ago

Version 16.04 Release https://ss14.silvertorch5.io/jenkins/job/SS14%20Content%20Build/lastSuccessfulBuild/artifact/release/SS14.Client_linux_x86.zip

SFML & CSFML

sudo apt install libsfml-dev
sudo apt install libcsfml-dev

Mono

$ mono --version
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen

Std out/err:

$ mono SS14.Client.exe        
DEBG: Initializing GameController.
INFO: [CFG] Configuration Loaded from '/home/gravypod/Documents/ss14/client_config.toml'
INFO: [RES] Loading ContentPack: /home/gravypod/Documents/ss14/EngineContentPack.zip...
INFO: [RES] Loading ContentPack: /home/gravypod/Documents/ss14/ResourcePack.zip...
INFO: Loading resources...
INFO: Loading animations...
INFO: Loading particlesystems...
INFO: Loading shaders...
INFO: Loading tai...
DEBG: [SRV] Loading Shared Content DLL
DEBG: [RES] RefType: [W] System.Runtime.CompilerServices.CompilationRelaxationsAttribute
DEBG: [RES] RefType: [W] System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
DEBG: [RES] RefType: [W] System.Diagnostics.DebuggableAttribute
DEBG: [RES] RefType: [W] System.Diagnostics.DebuggableAttribute/DebuggingModes
DEBG: [RES] RefType: [W] System.Reflection.AssemblyTitleAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyDescriptionAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyConfigurationAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyCompanyAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyProductAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyCopyrightAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyTrademarkAttribute
DEBG: [RES] RefType: [W] System.Runtime.InteropServices.ComVisibleAttribute
DEBG: [RES] RefType: [W] System.Runtime.InteropServices.GuidAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyFileVersionAttribute
DEBG: [RES] RefType: [W] System.Runtime.Versioning.TargetFrameworkAttribute
DEBG: [RES] RefType: [W] SS14.Shared.ContentPack.GameShared
DEBG: [RES] RefType: [W] System.Object
DEBG: [RES] RefType: [W] SS14.Shared.GameObjects.Component
DEBG: [RES] RefType: [W] System.Nullable`1
DEBG: [RES] RefType: [G] System.Type
DEBG: [RES] RefType: [W] SS14.Shared.GameObjects.ComponentState
DEBG: [RES] RefType: [W] System.Collections.Generic.Dictionary`2
DEBG: [RES] RefType: [G] System.RuntimeTypeHandle
DEBG: [SRV] Loading Client Content DLL
DEBG: [RES] RefType: [W] System.Runtime.CompilerServices.CompilationRelaxationsAttribute
DEBG: [RES] RefType: [W] System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
DEBG: [RES] RefType: [W] System.Diagnostics.DebuggableAttribute
DEBG: [RES] RefType: [W] System.Diagnostics.DebuggableAttribute/DebuggingModes
DEBG: [RES] RefType: [W] System.Reflection.AssemblyTitleAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyDescriptionAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyConfigurationAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyCompanyAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyProductAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyCopyrightAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyTrademarkAttribute
DEBG: [RES] RefType: [W] System.Runtime.InteropServices.ComVisibleAttribute
DEBG: [RES] RefType: [W] System.Runtime.InteropServices.GuidAttribute
DEBG: [RES] RefType: [W] System.Reflection.AssemblyFileVersionAttribute
DEBG: [RES] RefType: [W] System.Runtime.Versioning.TargetFrameworkAttribute
DEBG: [RES] RefType: [W] SS14.Shared.ContentPack.GameClient
DEBG: [RES] RefType: [W] SS14.Client.UserInterface.Components.GuiComponent
DEBG: [RES] RefType: [W] SS14.Shared.Maths.Color
DEBG: [RES] RefType: [W] SS14.Client.Interfaces.Player.IPlayerManager
DEBG: [RES] RefType: [W] SS14.Client.Interfaces.UserInterface.IUserInterfaceManager
DEBG: [RES] RefType: [W] SS14.Client.Graphics.Sprites.Sprite
DEBG: [RES] RefType: [W] SS14.Shared.Maths.Box2i
DEBG: [RES] RefType: [W] SS14.Client.Interfaces.Resource.IResourceCache
DEBG: [RES] RefType: [W] System.ParamArrayAttribute
DEBG: [RES] RefType: [W] System.Object
DEBG: [RES] RefType: [W] OpenTK.Box2
DEBG: [RES] RefType: [W] SS14.Shared.Interfaces.GameObjects.IEntity
DEBG: [RES] RefType: [W] SS14.Client.Graphics.Input.MouseButtonEventArgs
DEBG: [RES] RefType: [W] SS14.Client.GameObjects.IconComponent
DEBG: [RES] RefType: [W] System.ValueType
DEBG: [RES] RefType: [W] System.Runtime.CompilerServices.CompilerGeneratedAttribute
DEBG: [RES] RefType: [W] Content.Shared.GameObjects.SharedHandsComponent
DEBG: [RES] RefType: [W] System.Collections.Generic.Dictionary`2
DEBG: [RES] RefType: [W] SS14.Shared.GameObjects.ComponentState
DEBG: [RES] RefType: [W] Content.Shared.GameObjects.HandsComponentState
DEBG: [RES] RefType: [W] SS14.Client.UserInterface.UserInterfaceManager
DEBG: [RES] RefType: [W] System.Collections.Generic.Dictionary`2/Enumerator
DEBG: [RES] RefType: [W] System.Collections.Generic.KeyValuePair`2
DEBG: [RES] RefType: [W] Content.Shared.GameObjects.SharedDoorComponent
DEBG: [RES] RefType: [W] SS14.Client.GameObjects.SpriteComponent
DEBG: [RES] RefType: [W] Content.Shared.GameObjects.DoorComponentState
DEBG: [RES] RefType: [W] YamlDotNet.RepresentationModel.YamlMappingNode
DEBG: [RES] RefType: [W] YamlDotNet.RepresentationModel.YamlNode
DEBG: [RES] RefType: [W] SS14.Shared.GameObjects.Entity
DEBG: [RES] RefType: [W] SS14.Client.GameObjects.PointLightComponent
DEBG: [RES] RefType: [W] SS14.Shared.Interfaces.GameObjects.IComponentFactory
DEBG: [RES] RefType: [W] SS14.Shared.IoC.IoCManager
DEBG: [RES] RefType: [W] SS14.Shared.GuiComponentType
DEBG: [RES] RefType: [W] SS14.Client.Graphics.CluwneLib
DEBG: [RES] RefType: [W] SS14.Client.Graphics.Render.CluwneWindow
DEBG: [RES] RefType: [W] SS14.Client.Graphics.View.Viewport
DEBG: [RES] RefType: [W] SS14.Shared.Maths.Vector2i
DEBG: [RES] RefType: [W] System.String
DEBG: [RES] RefType: [W] SS14.Client.Graphics.Input.Mouse
DEBG: [RES] RefType: [W] SS14.Client.Graphics.Input.Mouse/Button
DEBG: [RES] RefType: [W] SS14.Shared.GameObjects.Component
DEBG: [RES] RefType: [W] SS14.Shared.Interfaces.GameObjects.IEntityManager
DEBG: [RES] RefType: [W] System.IDisposable
DEBG: [RES] RefType: [W] SS14.Client.Interfaces.UserInterface.IGuiComponent
DEBG: [RES] RefType: [W] SS14.Shared.Interfaces.GameObjects.IComponent
DEBG: [RES] RefType: [G] Lidgren.Network.NetDeliveryMethod
DEBG: [RES] RefType: [W] SS14.Shared.Utility.YamlHelpers
DEBG: [RES] RefType: [W] OpenTK.Vector4
DEBG: [RES] RefType: [W] OpenTK.Graphics.Color4

Unhandled Exception:
System.EntryPointNotFoundException: sfText_setFillColor
  at (wrapper managed-to-native) SFML.Graphics.Text:sfText_setFillColor (intptr,SFML.Graphics.Color)
  at SFML.Graphics.Text.set_FillColor (Color value) <0x404f7e20 + 0x0001f> in <filename unknown>:0 
  at SS14.Client.Graphics.Sprites.TextSprite.set_FillColor (Color value) <0x404f7dc0 + 0x0004b> in <filename unknown>:0 
  at SS14.Client.Network.NetworkGrapher.Initialize () <0x404f6ba0 + 0x000db> in <filename unknown>:0 
  at SS14.Client.GameController.Run () <0x403bc810 + 0x001e5> in <filename unknown>:0 
  at SS14.Client.Program.Main () <0x403a8d50 + 0x0002e> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: sfText_setFillColor
  at (wrapper managed-to-native) SFML.Graphics.Text:sfText_setFillColor (intptr,SFML.Graphics.Color)
  at SFML.Graphics.Text.set_FillColor (Color value) <0x404f7e20 + 0x0001f> in <filename unknown>:0 
  at SS14.Client.Graphics.Sprites.TextSprite.set_FillColor (Color value) <0x404f7dc0 + 0x0004b> in <filename unknown>:0 
  at SS14.Client.Network.NetworkGrapher.Initialize () <0x404f6ba0 + 0x000db> in <filename unknown>:0 
  at SS14.Client.GameController.Run () <0x403bc810 + 0x001e5> in <filename unknown>:0 
  at SS14.Client.Program.Main () <0x403a8d50 + 0x0002e> in <filename unknown>:0 
PJB3005 commented 7 years ago

Could you start the client with MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" mono SS14.Client.exe and then post the relevant results in a gist?

ZoldorfTheWizard commented 6 years ago

SFML is dead. closing issue as we no longer use sfml