Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Segfault in 31.17 during worldgen  (Read 938 times)

cbpye

  • Bay Watcher
  • Nerd Harder
    • View Profile
    • cbpye.net
Segfault in 31.17 during worldgen
« on: November 12, 2010, 02:03:56 am »

I've already reported it using the MantisBT, but I'm posting it here for the sake of discussion.  Anyone know what could be causing this?

DF 31.17 on Slackware-current 64-bit
steps to reproduce: Start DF.  Gen World.  Crash.

Code: [Select]
bash-4.1$ ./df
Loading bindings from data/init/interface.txt
Resetting textures
./df: line 6:  3826 Segmentation fault      ./libs/Dwarf_Fortress $*
bash-4.1$ ./df
Loading bindings from data/init/interface.txt
Resetting textures
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_fill_insert
./df: line 6:  3850 Aborted                 ./libs/Dwarf_Fortress $*
bash-4.1$ ./df
Loading bindings from data/init/interface.txt
Resetting textures
./df: line 6:  3863 Segmentation fault      ./libs/Dwarf_Fortress $*
bash-4.1$

woose1

  • Bay Watcher
  • Yay for bandwagons!
    • View Profile
Re: Segfault in 31.17 during worldgen
« Reply #1 on: November 12, 2010, 02:11:31 am »

I'm no super computer genius, but it looks like stuff screws up right when the game tries to load the ASCII textures. Perhaps it's because of the tileset you're using?

This seems to be remarkably similar:
http://bioselement.com/2010/07/dwarf-fortress-0-31-10-on-fedora/
It's on linux, and it deals with a library error.
I wish I knew more about computers so I could help you...  :-\
Logged

cbpye

  • Bay Watcher
  • Nerd Harder
    • View Profile
    • cbpye.net
Re: Segfault in 31.17 during worldgen
« Reply #2 on: November 12, 2010, 02:21:20 am »

The "Resetting Textures" bit has always been there, even in previous versions where I didn't have this issue.

macdonellba

  • Bay Watcher
    • View Profile
Re: Segfault in 31.17 during worldgen
« Reply #3 on: November 12, 2010, 08:17:46 am »

I've already reported it using the MantisBT, but I'm posting it here for the sake of discussion.  Anyone know what could be causing this?

DF 31.17 on Slackware-current 64-bit
steps to reproduce: Start DF.  Gen World.  Crash.

Code: [Select]
bash-4.1$ ./df
bash-4.1$ ./df
Loading bindings from data/init/interface.txt
Resetting textures
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_fill_insert
./df: line 6:  3850 Aborted                 ./libs/Dwarf_Fortress $*
AFAIK that length error would be because a vector is being resized above the maximum implementation-defined size, as reported by the max_size member function. As for how a vector could be hitting those limits in practice, I honestly have no idea.
Logged