Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Crashes on save, Linux 64-bit

A topic by electron271 created Oct 11, 2021 Views: 363 Replies: 10
Viewing posts 1 to 8

When I try to save or record, the application crashes. 

Job 1, './1BITDRAGON.x86_64' terminated by signal SIGSEGV (Address boundary error)

Someone else had the same problem and solved it like this:

"The root cause was ulimit nofile, my system was set to 10000000, after reset it to normal(probably 1000 or 4000, didn't remember), this issue was gone."

Does this solve the problem?

Set it to 4000, no change.

What is your OS and environment (Processor, Memory, GPU)?

Fedora 34, 16gb RAM, i5-10600k and UHD Graphics 630.

(1 edit)

Sorry, 1BITDRAGON for Linux is only tested with certain versions of Ubuntu or Centos. Also you need to make sure you have the correct video drivers for the correct GPU's. Linux System Requirements:

  • OS: Ubuntu 18.04, Ubuntu 20.04, and CentOS 7. Gnome desktop environment running on top of X11 windowing system.
  • Processor: x64 architecture.
  • Memory: 500 MB RAM.
  • Graphics: OpenGL 3.2+, Vulkan capable. Nvidia using Nvidia official proprietary graphics driver or AMD GPUs using AMD Mesa graphics driver.
  • Storage: 200 MB available space.

Contact me if you want a refund:

 

I had a similar problem, I solved it by setting the environment variable GDK_BACKEND=x11 and then running 1Bitdragon from the commandline.  I think this is a Wayland/something else problem, I've had this issue with other applications.

(1 edit)

I see this is a rather old thread, but I just found the same crash issue using Feodra 36. Logging into an x11 session fixed the issue, meaning the problem is a wayland/xwayland issue.

While not technically supported, Feodra is more or less the same as CentOS and uses the Gnome desktop. Heck I can even install CentOS packages, so I'm unwilling to blame Fedora for this issue. Is there any log I could provide to help diagnose the issue? Other Unity games and projects run fine under Wayland, but no others I've used have tried to save something to disk.

The log file is here Home/.config/unity3d/.../.../Player.log
It might give us more details of what is happening.

(7 edits)

That led to a solution if not clarity, thanks!

You can check the log here: https://pastebin.com/ygxFfheW

It seems it is related to X11<->Wayland weirdness, with a: GLib-GObject-WARNING **: 23:37:19.071: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'

A quick search turned up a the same solution as wunderseltsam mentioned above; instead of running the file from the file browser, if 1BitDragon is launched with the following command the save/load works as expected under a Wayland session.

Use as mentioned above:

$ GDK_BACKEND=x11 ./1BITDRAGON.x86_64

Thanks for your feedback!