Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004933Dwarf FortressTechnical -- Saving/Loadingpublic2011-10-20 23:462015-07-06 17:29
ReporterPhazorx 
Assigned ToDwarfu 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionduplicate 
Platformx86_64, i5 CPU 660 @ 3.33GHzOSGNU/Linux (Gentoo/Sabayon)OS Versionkernel 2.6.39
Product Version0.31.25 
Target VersionFixed in Version 
Summary0004933: crash on load
Descriptionerror after attempt to load particular game save:
terminate called after throwing an instance of 'std::length_error'
  what(): vector::_M_fill_insert

t:
no changes to hardware, OS or software configuration (and no changes to init), computer was not even restarted since the game was successfully saved


Steps To Reproduce1. launch DF
2. select the save on load game screen
3. hit enter twice

result:
$ ./df
Gtk-Message: Failed to load module "globalmenu-plugin"
Loading bindings from data/init/interface.txt
New window size: 2176x992
Font size: 16x16
Resizing grid to 136x62
Resizing font to 16x16

Resetting textures
terminate called after throwing an instance of 'std::length_error'
  what(): vector::_M_fill_insert
./df: line 6: 6847 Aborted ./libs/Dwarf_Fortress $*
Additional Informationthe save is availavle @ [deleted]

only df version involved in the game is .25,
running via dfhack for stonesense and vdig reasons

 $ tail gamelog.txt
Onul Datanmebzuth has created a masterpiece!
Zuglar Titthaluzol, Butcher cancels Tan a hide: Needs unrotten TAN_MAT-producing body part.
x2
x3
x4
x5
Onul Datanmebzuth has created a masterpiece!
The Ettin Ethi Rathedefiyi Tuthicamela has come! A giant humanoid monster with two heads.
*** STARTING NEW GAME ***

 $ tail errorlog.txt
path fail: dwarf,Return Kill,79,92,56 -> 58,96,54: Id 0004141:Path Goal Grab Kill:Station Meeting Location Building at 93,68,53
path fail: dwarf,Return Kill,111,57,56 -> 59,96,54: Id 0005368:Path Goal Grab Kill:Station Mill Building at 91,94,53
path fail: dwarf,Return Kill,120,50,56 -> 57,96,54: Id 0005375:Path Goal Grab Kill:Station Mill Building at 94,86,53
path fail: dwarf,Return Kill,70,94,56 -> 54,96,54: Id 0005377:Path Goal Grab Kill:Station Mill Building at 103,92,53
loop path fail: <same square> dog,77,93,56 -> 80,94,56: Id 0005418:Path Goal Seek Station:Station Owner at 37,96,56
loop path fail: <same square> alpaca,89,103,57 -> 87,105,57: Id 0005994:Path Goal Seek Station:Station Owner at 81,102,57
loop path fail: <same square> cat,99,90,51 -> 92,94,45: Id 0003914:Path Goal Seek Station:Station Owner at 76,95,45
loop path fail: <same square> cat,81,91,56 -> 94,91,53: Id 0005464:Path Goal Seek Station:Station Mill Building at 95,91,53
loop path fail: <same square> dog,82,89,56 -> 94,86,53: Id 0005234:Path Goal Seek Station:Station Owner at 64,117,55
loop path fail: <same square> dwarf,Store Item in Bin,78,92,56 -> 84,101,57: Id 0005730:Path Goal Store Item:Station Mill Building at 79,119,53

 $ ldd Dwarf_Fortress
    linux-gate.so.1 => (0xffffe000)
    libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf765f000)
    libgraphics.so => /usr/share/games/df_linux/libs/libgraphics.so (0xf7250000)
    libstdc++.so.6 => /usr/share/games/df_linux/libs/libstdc++.so.6 (0xf7173000)
    libm.so.6 => /lib32/libm.so.6 (0xf714c000)
    libgcc_s.so.1 => /usr/share/games/df_linux/libs/libgcc_s.so.1 (0xf7131000)
    libc.so.6 => /lib32/libc.so.6 (0xf6fd2000)
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf6fb8000)
    libasound.so.2 => /usr/lib32/libasound.so.2 (0xf6efb000)
    libdl.so.2 => /lib32/libdl.so.2 (0xf6ef6000)
    libpulse-simple.so.0 => /usr/lib32/libpulse-simple.so.0 (0xf6ef1000)
    libpulse.so.0 => /usr/lib32/libpulse.so.0 (0xf6eb0000)
    libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf6ae3000)
    libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf6a9d000)
    libSDL_image-1.2.so.0 => /usr/lib32/libSDL_image-1.2.so.0 (0xf6a80000)
    libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf6a13000)
    libSDL_ttf-2.0.so.0 => /usr/lib32/libSDL_ttf-2.0.so.0 (0xf6a0c000)
    /lib/ld-linux.so.2 (0xf76f8000)
    librt.so.1 => /lib32/librt.so.1 (0xf6a03000)
    libpulsecommon-0.9.22.so => /usr/lib32/libpulsecommon-0.9.22.so (0xf69bb000)
    libX11-xcb.so.1 => /usr/lib32/libX11-xcb.so.1 (0xf69b8000)
    libX11.so.6 => /usr/lib32/libX11.so.6 (0xf689a000)
    libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf6880000)
    libSM.so.6 => /usr/lib32/libSM.so.6 (0xf6878000)
    libICE.so.6 => /usr/lib32/libICE.so.6 (0xf6860000)
    libXtst.so.6 => /usr/lib32/libXtst.so.6 (0xf685a000)
    libsndfile.so.1 => /usr/lib32/libsndfile.so.1 (0xf67f2000)
    libFLAC.so.8 => /usr/lib32/libFLAC.so.8 (0xf67ba000)
    libvorbisenc.so.2 => /usr/lib32/libvorbisenc.so.2 (0xf6643000)
    libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf661b000)
    libogg.so.0 => /usr/lib32/libogg.so.0 (0xf6614000)
    libgdbm.so.3 => /usr/lib32/libgdbm.so.3 (0xf660d000)
    libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf6573000)
    libXext.so.6 => /usr/lib32/libXext.so.6 (0xf6563000)
    libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf6559000)
    libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf6555000)
    libXi.so.6 => /usr/lib32/libXi.so.6 (0xf6547000)
    libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf653e000)
    libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf6534000)
    libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf6528000)
    libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf6524000)
    libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf6520000)
    libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf651a000)
    libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf64fd000)
    libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf640e000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf63f3000)
    libpng15.so.15 => /usr/lib32/libpng15.so.15 (0xf63c7000)
    libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf62c8000)
    libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf629f000)
    libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf625e000)
    libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf622f000)
    libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf61a6000)
    libz.so.1 => /lib32/libz.so.1 (0xf6191000)
    libbz2.so.1 => /lib32/libbz2.so.1 (0xf617f000)
    libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf6155000)
    libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf6151000)
    libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf614c000)
    libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf604b000)
    libtiff.so.3 => /usr/lib32/libtiff.so.3 (0xf5fee000)
    libjpeg.so.8 => /usr/lib32/libjpeg.so.8 (0xf5f9e000)
    libGL.so.1 => /usr/lib32/opengl/nvidia/lib/libGL.so.1 (0xf5ecb000)
    libXau.so.6 => /usr/lib32/libXau.so.6 (0xf5ec7000)
    libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf5ec1000)
    libuuid.so.1 => /lib32/libuuid.so.1 (0xf5ebb000)
    libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf5e48000)
    libEGL.so.1 => /usr/lib32/libEGL.so.1 (0xf5e31000)
    libresolv.so.2 => /lib32/libresolv.so.2 (0xf5e1b000)
    libnvidia-tls.so.285.05.09 => /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.285.05.09 (0xf5e17000)
    libnvidia-glcore.so.285.05.09 => /usr/lib32/libnvidia-glcore.so.285.05.09 (0xf42d3000)
    libxcb-dri2.so.0 => /usr/lib32/libxcb-dri2.so.0 (0xf42cf000)
    libxcb-xfixes.so.0 => /usr/lib32/libxcb-xfixes.so.0 (0xf42c8000)
    libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf42bd000)
TagsSave Included
Attached Files

- Relationships
duplicate of 0002017acknowledgedLoci Using COMPRESSED_SAVES causes save corruption on some systems 

-  Notes
(0019161)
Dwarfu (manager)
2011-12-13 08:17

Reminder sent to: Phazorx

Can you verify if you were using compressed saves?
(0019175)
Phazorx (reporter)
2011-12-14 22:24

$ grep COMPR data/init/init.txt
[COMPRESSED_SAVES:YES]
(0019177)
Dwarfu (manager)
2011-12-15 07:26

You can turn off compressed saves for now to try and resolve your crash. If you have anything else to add that isn't already discussed in 0002017, please continue discussion there. I've moved your save there as well. In the future, please use a service like Pastbin.com for text dumps (crash reports, etc.).

- Issue History
Date Modified Username Field Change
2011-10-20 23:46 Phazorx New Issue
2011-12-13 08:16 Dwarfu Tag Attached: Save Included
2011-12-13 08:17 Dwarfu Note Added: 0019161
2011-12-13 08:31 Dwarfu Tag Attached: AWAITING UPDATE
2011-12-14 22:24 Phazorx Note Added: 0019175
2011-12-15 07:26 Dwarfu Note Added: 0019177
2011-12-15 07:26 Dwarfu Relationship added duplicate of 0002017
2011-12-15 07:26 Dwarfu Status new => resolved
2011-12-15 07:26 Dwarfu Resolution open => duplicate
2011-12-15 07:26 Dwarfu Assigned To => Dwarfu
2012-01-18 12:41 Dwarfu Tag Detached: AWAITING UPDATE
2015-07-06 17:29 lethosor Additional Information Updated View Revisions


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker