View Issue Details

IDProjectCategoryView StatusLast Update
0005212Dwarf FortressWorld Generation -- Generalpublic2012-02-17 07:03
Reporterdaenyth Assigned ToLogical2u  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
PlatformLinux 64bitOSArch Linux 
Product Version0.34.01 
Summary0005212: DF Segfaults on trying to accept generated world
DescriptionEvery time I try to generate a world, DF segfaults. It gives the following backtrace in gdb:

terminate called after throwing an instance of 'std::length_error'
  what(): vector::_M_fill_insert

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xf5eb8b70 (LWP 3932)]
0xf7fdc430 in __kernel_vsyscall ()
(gdb) bt
#0 0xf7fdc430 in __kernel_vsyscall ()
0000001 0xf789be9f in raise () from /lib32/libc.so.6
0000002 0xf789d825 in abort () from /lib32/libc.so.6
0000003 0xf7ad9c95 in __gnu_cxx::__verbose_terminate_handler() ()
   from /opt/df_linux/libs/libstdc++.so.6
0000004 0xf7ad7b95 in ?? () from /opt/df_linux/libs/libstdc++.so.6
0000005 0xf7ad7bd2 in std::terminate() () from /opt/df_linux/libs/libstdc++.so.6
0000006 0xf7ad7d41 in __cxa_throw () from /opt/df_linux/libs/libstdc++.so.6
0000007 0xf7a7ff97 in std::__throw_length_error(char const*) ()
   from /opt/df_linux/libs/libstdc++.so.6
0000008 0x08054b27 in ?? ()
0000009 0x08a0e1bc in ?? ()
0000010 0x0839dac4 in ?? ()
0000011 0x08a7fae6 in ?? ()
0000012 0x08b04cc4 in ?? ()
0000013 0x08512a63 in ?? ()
0000014 0xf7b64d0e in interfacest::loop() () from /opt/df_linux/libs/libgraphics.so
0000015 0x0848b94f in mainloop() ()
0000016 0xf7b42364 in enablerst::async_loop() ()
   from /opt/df_linux/libs/libgraphics.so
0000017 0xf7b4274d in call_loop(void*) () from /opt/df_linux/libs/libgraphics.so
0000018 0xf7f2d68e in SDL_RunThread () from /usr/lib32/libSDL-1.2.so.0
0000019 0xf7f76cbd in RunThread () from /usr/lib32/libSDL-1.2.so.0
---Type <return> to continue, or q <return> to quit---
0000020 0xf7859cf7 in start_thread () from /lib32/libpthread.so.0
0000021 0xf79429ee in clone () from /lib32/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further
Steps To ReproduceGenerate a new world. Hit Enter to accept it.
Additional InformationMy Arch system might be out of date. I'll try again after making sure all my libraries are the latest.



$ ldd libs/Dwarf_Fortress
    linux-gate.so.1 => (0xf7786000)
    libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf76c9000)
    libgraphics.so => /opt/df_linux/libs/libgraphics.so (0xf72b7000)
    libstdc++.so.6 => /opt/df_linux/libs/libstdc++.so.6 (0xf71da000)
    libm.so.6 => /lib32/libm.so.6 (0xf71af000)
    libgcc_s.so.1 => /opt/df_linux/libs/libgcc_s.so.1 (0xf7194000)
    libc.so.6 => /lib32/libc.so.6 (0xf7018000)
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf6ffd000)
    libdl.so.2 => /lib32/libdl.so.2 (0xf6ff8000)
    libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf6b9d000)
    libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf6b4e000)
    libSDL_image-1.2.so.0 => /usr/lib32/libSDL_image-1.2.so.0 (0xf6b32000)
    libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf6ac1000)
    libSDL_ttf-2.0.so.0 => /usr/lib32/libSDL_ttf-2.0.so.0 (0xf6abb000)
    /lib/ld-linux.so.2 (0xf7787000)
    libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf6a0b000)
    libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf69fe000)
    libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf69f9000)
    libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf69d8000)
    libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf6938000)
    libX11.so.6 => /usr/lib32/libX11.so.6 (0xf67ff000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf67dc000)
    libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf6698000)
    libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf666a000)
    libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf6620000)
    libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf65f1000)
    libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf65ec000)
    libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf64f4000)
    libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf64ee000)
    libpcre.so.0 => /usr/lib32/libpcre.so.0 (0xf64af000)
    librt.so.1 => /lib32/librt.so.1 (0xf64a5000)
    libffi.so.5 => /usr/lib32/libffi.so.5 (0xf649e000)
    libGL.so.1 => /usr/lib32/libGL.so.1 (0xf6447000)
    libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf63ae000)
    libz.so.1 => /usr/lib32/libz.so.1 (0xf6399000)
    libXext.so.6 => /usr/lib32/libXext.so.6 (0xf638a000)
    libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf6387000)
    libXi.so.6 => /usr/lib32/libXi.so.6 (0xf637a000)
    libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf6373000)
    libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf636a000)
    libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf6366000)
    libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf6363000)
    libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf635b000)
    libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf62ef000)
    libpng14.so.14 => /usr/lib32/libpng14.so.14 (0xf62c2000)
    libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf62a9000)
    libresolv.so.2 => /lib32/libresolv.so.2 (0xf6292000)
    libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf6269000)
    libglapi.so.0 => /usr/lib32/libglapi.so.0 (0xf6253000)
    libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf624d000)
    libX11-xcb.so.1 => /usr/lib32/libX11-xcb.so.1 (0xf624a000)
    libxcb-glx.so.0 => /usr/lib32/libxcb-glx.so.0 (0xf6239000)
    libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf622c000)
    libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf621c000)
    libXau.so.6 => /usr/lib32/libXau.so.6 (0xf6218000)
    libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6213000)
TagsNo tags attached.

Relationships

duplicate of 0005206 resolveduser6 Game closes itself down after world generation is completed 

Activities

daenyth

2012-02-16 22:02

reporter   ~0019903

Last edited: 2012-02-16 22:40

I just noticed it's not a segfault but "abort" signal being sent. I can't find an option to edit the ticket.

I'm also using the mayday graphics pack

Logical2u

2012-02-17 05:22

manager   ~0019918

I'm marking this as a duplicate of 0005053 due to crash symptoms and cause being the same.

Logical2u

2012-02-17 05:22

manager   ~0019919

I'm marking this as a duplicate of 0005053 due to crash symptoms and cause being the same.

Issue History

Date Modified Username Field Change
2012-02-16 21:59 daenyth New Issue
2012-02-16 22:02 daenyth Note Added: 0019903
2012-02-16 22:40 daenyth Note Edited: 0019903
2012-02-17 05:22 Logical2u Note Added: 0019918
2012-02-17 05:22 Logical2u Note Added: 0019919
2012-02-17 05:22 Logical2u Relationship added duplicate of 0005053
2012-02-17 05:22 Logical2u Status new => resolved
2012-02-17 05:22 Logical2u Resolution open => duplicate
2012-02-17 05:22 Logical2u Assigned To => Logical2u
2012-02-17 07:03 user6 Relationship added duplicate of 0005206
2012-02-17 07:03 user6 Relationship deleted 0005053