Loading...
  OR  Zero-K Name:    Password:   

Zero-K Lobby Crashes on Linux with out-of-memory error

4 posts, 557 views
Post comment
Filter:    Player:  
sort
Hi all, I'm running Zero-K.exe Lobby on Arch Linux 64-bit (Xmonad window manager). When I run Zero-K.exe it will work for a few seconds, but then crash with

[yanom@arch-maingear ~]$ ./Zero-K.exe Zero-K.exe Information: 0 : Starting with version 1.3.2.113 Zero-K.exe Information: 0 : UnitSync: Directory: /home/yanom/.spring/engine/100.0 Zero-K.exe Information: 0 : UnitSync: ZKL: /home/yanom/ Zero-K.exe Error: 0 : Unhandled async exception: System.DllNotFoundException: unitsync at (wrapper managed-to-native) ZkData.UnitSyncLib.UnitSync+NativeMethods:Init (bool,int) at ZkData.UnitSyncLib.UnitSync..ctor (ZkData.SpringPaths springPaths) <0x405fec60 + 0x0034f> in <filename unknown>:0 at ZeroKLobby.Program+<>c.<Main>b__84_1 () <0x405fa090 + 0x00047> in <filename unknown>:0 at ZkData.Utils+<>c__DisplayClass35_0.<StartAsync>b__0 (System.Object ) <0x405f9e00 + 0x00025> in <filename unknown>:0 Zero-K.exe Error: 0 : System.DllNotFoundException: unitsync at (wrapper managed-to-native) ZkData.UnitSyncLib.UnitSync+NativeMethods:Init (bool,int) at ZkData.UnitSyncLib.UnitSync..ctor (ZkData.SpringPaths springPaths) <0x405fec60 + 0x0034f> in <filename unknown>:0 at ZeroKLobby.Program+<>c.<Main>b__84_1 () <0x405fa090 + 0x00047> in <filename unknown>:0 at ZkData.Utils+<>c__DisplayClass35_0.<StartAsync>b__0 (System.Object ) <0x405f9e00 + 0x00025> in <filename unknown>:0 Zero-K.exe Information: 0 : UnitSync Disposed Zero-K.exe Information: 0 : System DPI Value: dpiX= 96, dpiY= 96 Zero-K.exe Warning: 0 : Failed to init VoiceCommands:Could not load file or assembly 'System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Zero-K.exe Information: 0 : Initial scan done Zero-K.exe Information: 0 : TASC connected Zero-K.exe Information: 0 : TASC login accepted Zero-K.exe Information: 0 : Server is using Spring version 100.0 Zero-K.exe Information: 0 : TASC channel joined: zk Zero-K.exe Information: 0 : TASC channel joined: zk Zero-K.exe Information: 0 : TASC channel joined: en Zero-K.exe Error: 0 : FATAL: System.OutOfMemoryException: Out of memory at (wrapper alloc) System.Object:AllocVector (intptr,intptr) at System.Windows.Forms.X11Keyboard.LookupString (System.Windows.Forms.XEvent& xevent, Int32 len, System.Windows.Forms.XKeySym& keysym, System.Windows.Forms.XLookupStatus& status) <0x404b1170 + 0x00153> in <filename unknown>:0 at System.Windows.Forms.X11Keyboard.EventToVkey (XEvent e) <0x407ec260 + 0x0003f> in <filename unknown>:0 at System.Windows.Forms.X11Keyboard.ToUnicode (Int32 vkey, Int32 scan, System.String& buffer) <0x407ee240 + 0x0035f> in <filename unknown>:0 at System.Windows.Forms.X11Keyboard.TranslateMessage (System.Windows.Forms.MSG& msg) <0x4070ac20 + 0x00127> in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.TranslateMessage (System.Windows.Forms.MSG& msg) <0x4070abe0 + 0x00023> in <filename unknown>:0 at System.Windows.Forms.XplatUI.TranslateMessage (System.Windows.Forms.MSG& msg) <0x4070abb0 + 0x0001f> in <filename unknown>:0 at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) <0x406cb000 + 0x00cf7> in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) <0x406ca140 + 0x00057> in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) <0x406c9e30 + 0x00033> in <filename unknown>:0 at ZeroKLobby.Program.Main (System.String[] args) <0x40439fb0 + 0x02ddb> in <filename unknown>:0

I should have plenty of RAM on this machine, so there's no reason it should do this. Anyone know how to fix this?

And relatedly, is there any other Spring engine lobby that runs on Linux and works with Zero-K? Zero-K.exe Lobby doesn't have great performance on my Linux even when it worked.
+0 / -0
ZKL is known as very buggy you could either try:
http://weblobby.springrts.com/

or
https://github.com/cleanrock/flobby

flobby is in AUR too. Remember to start it with "flobby -z"
I use flobby by myself when you have questions ask me or cleanrock when he is around
+1 / -0
8 years ago
Flobby looks really nice, but I couldn't get it to compile on my machine. I left an error report on the github.
+0 / -0

8 years ago
Check FLTK library version maybe
+0 / -0