[SOLVED] Segmentation fault on Arch Linux

Troubleshooting and assistance for technical issues.

[SOLVED] Segmentation fault on Arch Linux

Postby hagabaka » Mon Dec 21, 2015 2:49 am

Hi, I bought Lords of Xulima from GOG two days ago, and haven't been able to get it to run on Arch Linux. If I run start.sh, I get these messages:
Code: Select all
Running Lords of Xulima
Stacktrace:

  at <unknown> <0xffffffff>
  at System.Windows.Forms.XplatUIX11..ctor () <0x00167>
  at System.Windows.Forms.XplatUIX11.GetInstance () <0x00057>
  at System.Windows.Forms.XplatUI..cctor () <0x000db>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at System.Windows.Forms.SystemInformation.get_VirtualScreen () <0x00013>
  at System.Windows.Forms.Screen..cctor () <0x0002f>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at DXVision.DXHelper_Screen.get_ScreenSize () <0x00027>
  at DXVision.DXScene..cctor () <0x0010f>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

support/gog_com.shlib: line 94: 20073 Segmentation fault      (core dumped) ./"${bin_64}"

If I use LD_LIBRARY_PATH=./Linux/lib ./LOXLinux which I think would bypass the GOG scripts, it prints two more errors before the same backtrace above:
Code: Select all
gmisc-unix.c:70: assertion 'filename != NULL' failed
gpath.c:133: assertion 'filename != NULL' failed

If I use mono installed with my system to run LoX.exe, it seems to get a little farther as a Lords of Xulima window shows up briefly, but then it shows a dialog titled "Sorry, Lords of Xulima has unexpectedly quit.", with the following error message:
Code: Select all
ERROR MESSAGE

 ID  1F72FE77
SO: Unix 4.3.2.1
64 bits: True
LOX Version: V.2.0.4
LOX Mod: (None)
 MESSAGE  The type initializer for 'Un4seen.Bass.Bass' threw an exception.
 SOURCE  DXVision
 TRACE    at DXVision.SoundPlayer_Bass.Init () <0x41f0d760 + 0x0009f> in <filename unknown>:0
  at DXVision.DXSoundSystem.Initialize (DXVision.DXSoundPlayer soundPlayer) <0x41f0d420 + 0x0011b> in <filename unknown>:0
  at DXVision.DXSoundSystem.Initialize () <0x41f0d200 + 0x0001f> in <filename unknown>:0
  at DXVision.DXSoundSystem.PauseAll (Boolean pause) <0x41f2b540 + 0x00047> in <filename unknown>:0
  at DXVision.DXViewerForm.Application_Idle (System.Object sender, System.EventArgs e) <0x41f2afd0 + 0x00033> in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue, Boolean allowIdle) <0x41f25270 + 0x0022a> in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue) <0x41f25240 + 0x00017> in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) <0x41f21dd0 + 0x002b3> in <filename unknown>:0
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) <0x41f21d80 + 0x00047> in <filename unknown>:0
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) <0x41ea6b50 + 0x00df3> in <filename unknown>:0
  at System.Windows.Forms.Form.ShowDialog (IWin32Window owner) <0x41f14ac0 + 0x0084f> in <filename unknown>:0
  at System.Windows.Forms.Form.ShowDialog () <0x41f14aa0 + 0x0000f> in <filename unknown>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () <0x41f11240 + 0x00073> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm:RunDialog ()
  at System.Windows.Forms.MessageBox.Show (System.String text) <0x41f103a0 + 0x00053> in <filename unknown>:0
  at JXApp.Render.JXRender.StartScene (DXVision.DXObject rootObject) <0x41ee9c20 + 0x00227> in <filename unknown>:0
  at JXApp.Render.JXRender.StartScene (System.Drawing.Image image) <0x41ee9830 + 0x00137> in <filename unknown>:0
  at JXApp.Render.JXRender.StartScene () <0x41ee8f50 + 0x0003b> in <filename unknown>:0
  at JXApp.Windows.JXFMain.FMain_Shown (System.Object sender, System.EventArgs e) <0x41ee8940 + 0x0005b> in <filename unknown>:0
  at System.Windows.Forms.Form.OnShown (System.EventArgs e) <0x41ee8890 + 0x00065> in <filename unknown>:0
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) <0x41ea8050 + 0x006aa> in <filename unknown>:0
  at System.Windows.Forms.Control.set_Visible (Boolean value) <0x41e8f730 + 0x00032> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool)
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) <0x41ea6b50 + 0x00323> in <filename unknown>:0
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) <0x41ea6ab0 + 0x0003f> in <filename unknown>:0
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) <0x41ea67a0 + 0x00033> in <filename unknown>:0
  at JXApp.Program.Main () <0x41e22c70 + 0x00533> in <filename unknown>:0
 INNER EXCEPTION  System.DllNotFoundException: libbass.so
  at (wrapper managed-to-native) Un4seen.Bass.Bass:BASS_SetConfig (Un4seen.Bass.BASSConfig,int)
  at Un4seen.Bass.Bass.b () <0x41f0e790 + 0x0002f> in <filename unknown>:0
  at Un4seen.Bass.Bass..cctor () <0x41f0e370 + 0x0011f> in <filename unknown>:0

I would appreciate any help in getting the game to run.
Last edited by hagabaka on Thu Dec 24, 2015 4:24 am, edited 1 time in total.
hagabaka
 
Posts: 2
Joined: Sun Dec 20, 2015 9:23 am

Re: Segmentation fault on Arch Linux

Postby hagabaka » Thu Dec 24, 2015 4:23 am

I've found a solution:

I still need to use the system-installed mono. In addition, because I'm on 64-bit, I need to overwrite game/libbass.so with its x64 version, which is in the x64 directory of the archive at http://www.un4seen.com/download.php?bass24-linux . I found the advice for fixing it on this post on Un4seen's forum. The game runs smoothly and seems very enjoyable so far. :)
hagabaka
 
Posts: 2
Joined: Sun Dec 20, 2015 9:23 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 23 guests

cron