Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Segmentation Fault when running DF  (Read 1985 times)

ventlark

  • Escaped Lunatic
    • View Profile
Segmentation Fault when running DF
« on: February 21, 2019, 05:38:43 pm »

Dwarf Fortress gives me a segmentation fault as soon as I run the program in PRINT_MODE:TEXT. The game works fine with PRINT_MODE:2D.

The only thing I have changed is I have moved libs/libstdc++.so.6 as suggested by http://www.bay12forums.com/smf/index.php?topic=170057.0. I'm running on Gentoo Linux, but I'm using DF version downloaded from the site, not the ebuild (although the ebuild gives me the same results).

Not really sure what to do at this point, if anyone else has had this issue or has gotten DF running on Gentoo?

Here is a strace of running df
http://ix.io/1BI3

Thanks in advance!
Logged

anewaname

  • Bay Watcher
  • The mattock... My choice for problem solving.
    • View Profile
Re: Segmentation Fault when running DF
« Reply #1 on: March 02, 2019, 05:46:20 am »

Your strace mentioned "Failed to load module "canberra-gtk-module". Did you check dependencies for missing packages? On Ubuntu, I go to the "./df_linux/libs" folder and run "ldd Dwarf_Fortress", then look for mention of what is missing.
Logged
How did I manage to successfully apply the lessons of The Screwtape Letters to my perceptions of big grocery stores?