View Issue Details

IDProjectCategoryView StatusLast Update
0002050Dwarf FortressDwarf Mode -- Interface, Military Screenpublic2010-06-09 06:45
ReporterDgnBiscuit Assigned ToLogical2u  
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
PlatformCore 2 Duo CentrinoOSLinux MintOS VersionDaryna
Product Version0.31.04 
Summary0002050: Creating a new squad crashes the military screen
DescriptionAfter assigning a new military commander, if you try to create a squad the game crashes when selecting uniform.
Steps To ReproduceStart a new game.
Pause the game.
Assign a new military commander through the nobles screen.
Open the military screen.
Create a new squad.
Select metal armor.
*crash*
Additional InformationHere's a terminal dump of the game to that point:

reverend@xerxes:~/df_linux$ ./df
Loading bindings from data/init/interface.txt
*** buffer overflow detected ***: ./dwarfort.exe terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb79e36d8]
/lib/tls/i686/cmov/libc.so.6[0xb79e1800]
./dwarfort.exe[0x8446944]
[0x1]
======= Memory map: ========
08048000-08b16000 r-xp 00000000 08:02 83670 /home/reverend/df_linux/dwarfort.exe
08b16000-08b17000 r--p 00acd000 08:02 83670 /home/reverend/df_linux/dwarfort.exe
08b17000-08b18000 rw-p 00ace000 08:02 83670 /home/reverend/df_linux/dwarfort.exe
08b18000-09555000 rw-p 08b18000 00:00 0
09c5b000-1f1e9000 rw-p 09c5b000 00:00 0 [heap]
b33f1000-b35f2000 rw-p b33f1000 00:00 0
b36f3000-b38f3000 rw-s 35ab4000 00:0e 16139 /dev/nvidia0
b38f3000-b39ef000 rw-p b38f3000 00:00 0
b3a1e000-b3aab000 rw-p b3a1e000 00:00 0
b3b09000-b3b96000 rw-p b3b09000 00:00 0
b3ce8000-b3d2f000 rw-p b3ce8000 00:00 0
b3d5f000-b3d60000 rw-s 00000000 00:09 22806608 /SYSV00000000 (deleted)
b3d60000-b3d61000 rw-s 00000000 00:09 294916 /SYSV00000000 (deleted)
b3d61000-b3d62000 rw-s 00000000 00:09 557068 /SYSV00000000 (deleted)
b3d62000-b3d63000 rw-s 00000000 00:09 16449587 /SYSV00000000 (deleted)
b3d63000-b3d64000 rw-s 00000000 00:09 16908347 /SYSV00000000 (deleted)
b3d64000-b3d65000 rw-s 00000000 00:09 17760324 /SYSV00000000 (deleted)
b3d65000-b3da5000 rw-s cff7d000 00:0e 16139 /dev/nvidia0
b3da5000-b3ea5000 rw-s 34397000 00:0e 16139 /dev/nvidia0
b3ea5000-b3fa5000 rw-s 30920000 00:0e 16139 /dev/nvidia0
b3fa5000-b403f000 rw-p b3fa5000 00:00 0
b403f000-b476d000 rw-s c0000000 00:0e 16139 /dev/nvidia0
b476d000-b47a7000 rw-p b476d000 00:00 0
b47b9000-b47e9000 rw-p 00000000 00:0e 722 /dev/zero
b47e9000-b481f000 rw-p b47e9000 00:00 0
b481f000-b4841000 rw-s 00000000 00:09 0 /SYSV00000000 (deleted)
b4841000-b4946000 rw-p b4841000 00:00 0
b4946000-b4947000 ---p b4946000 00:00 0
b4947000-b5147000 rwxp b4947000 00:00 0
b5147000-b5148000 ---p b5147000 00:00 0
b5148000-b5948000 rwxp b5148000 00:00 0
b5948000-b5952000 r-xp 00000000 08:02 4456537 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b5952000-b5953000 r--p 00009000 08:02 4456537 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b5953000-b5954000 rw-p 0000a000 08:02 4456537 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b5954000-b595d000 r-xp 00000000 08:02 4456547 /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b595d000-b595e000 r--p 00008000 08:02 4456547 /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b595e000-b595f000 rw-p 00009000 08:02 4456547 /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b595f000-b5974000 r-xp 00000000 08:02 4456531 /lib/tls/i686/cmov/libnsl-2.8.90.so
b5974000-b5975000 r--p 00014000 08:02 4456531 /lib/tls/i686/cmov/libnsl-2.8.90.so
b5975000-b5976000 rw-p 00015000 08:02 4456531 /lib/tls/i686/cmov/libnsl-2.8.90.so
b5976000-b5978000 rw-p b5976000 00:00 0
b5978000-b597f000 r-xp 00000000 08:02 4456533 /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b597f000-b5980000 r--p 00006000 08:02 4456533 /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b5980000-b5981000 rw-p 00007000 08:02 4456533 /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b5983000-b5984000 rw-s 00000000 00:09 22904915 /SYSV00000000 (deleted)
b5984000-b5988000 rw-s 3533a000 00:0e 16139 /dev/nvidia0
b5988000-b5989000 rw-s cffbd000 00:0e 16139 /dev/nvidia0
b5989000-b598a000 rw-s 352b8000 00:0e 16139 /dev/nvidia0
b598a000-b598b000 rw-s 309b3000 00:0e 16139 /dev/nvidia0
b598b000-b598c000 rw-s fdc03000 00:0e 16139 /dev/nvidia0
b598c000-b598d000 rw-s 00000000 00:09 17694786 /SYSV00000000 (deleted)
b598d000-b598e000 rw-s fd001000 00:0e 16139 /dev/nvidia0
b598e000-b5991000 r--p 00000000 08:02 1412802 /usr/share/locale-langpack/en_CA/LC_MESSAGES/gtk20-properties.mo
b5991000-b5996000 r--p 00000000 08:02 1412983 /usr/share/locale-langpack/en_CA/LC_MESSAGES/gtk20.mo
b5996000-b59d5000 r--p 00000000 08:02 1149587 /usr/lib/locale/en_CA.utf8/LC_CTYPE
b59d5000-b59d6000 r--p 00000000 08:02 1149592 /usr/lib/locale/en_CA.utf8/LC_NUMERIC
b59d6000-b59d7000 r--p 00000000 08:02 1149035 /usr/lib/locale/en_CA.utf8/LC_TIME
b59d7000-b5ab8000 r--p 00000000 08:02 1149036 /usr/lib/locale/en_CA.utf8/LC_COLLATE
b5ab8000-b5ab9000 r--p 00000000 08:02 1149038 /usr/lib/locale/en_CA.utf8/LC_MONETARY
b5ab9000-b5abc000 rw-p b5ab9000 00:00 0
b5abc000-b5ac0000 r-xp 00000000 08:02 1051518 /usr/lib/libXdmcp.so.6.0.0
b5ac0000-b5ac1000 rw-p 00003000 08:02 1051518 /usr/lib/libXdmcp.so.6.0.0
b5ac1000-b5ac2000 rw-p b5ac1000 00:00 0
b5ac2000-b5ac4000 r-xp 00000000 08:02 1051507 /usr/lib/libXau.so.6.0.0
b5ac4000-b5ac5000 rw-p 00001000 08:02 1051507 /usr/lib/libXau.so.6.0.0
b5ac5000-b5ac6000 r-xp 00000000 08:02 1508400 /usr/lib/tls/libnvidia-tls.so.177.82
b5ac6000-b5ac7000 rw-p 00000000 08:02 1508400 /usr/lib/tls/libnvidia-tls.so.177.82
b5ac7000-b668f000 r-xp 00000000 08:02 1589253 /usr/lib/libGLcore.so.177.82
b668f000-b6833000 rwxp 00bc8000 08:02 1589253 /usr/lib/libGLcore.so.177.82
b6833000-b683e000 rwxp b6833000 00:00 0
b683e000-b6842000 r-xp 00000000 08:02 1052307 /usr/lib/libogg.so.0.5.3
b6842000-b6843000 r--p 00003000 08:02 1052307 /usr/lib/libogg.so.0.5.3
b6843000-b6844000 rw-p 00004000 08:02 1052307 /usr/lib/libogg.so.0.5.3
b6844000-b686c000 r-xp 00000000 08:02 4456561 /lib/libpcre.so.3.12.1
b686c000-b686d000 r--p 00027000 08:02 4456561 /lib/libpcre.so.3.12.1
b686d000-b686e000 rw-p 00028000 08:02 4456561 /lib/libpcre.so.3.12.1
b686e000-b686f000 rw-p b686e000 00:00 0
b686f000-b6893000 r-xp 00000000 08:02 1048620 /usr/lib/libexpat.so.1.5.2
b6893000-b6895000 r--p 00023000 08:02 1048620 /usr/lib/libexpat.so.1.5.2
b6895000-b6896000 rw-p 00025000 08:02 1048620 /usr/lib/libexpat.so.1.5.2
b6896000-b68ae000 r-xp 00000000 08:02 4456573 /lib/libselinux.so.1
b68ae000-b68af000 r--p 00017000 08:02 4456573 /lib/libselinux.so.1
b68af000-b68b0000 rw-p 00018000 08:02 4456573 /lib/libselinux.so.1
b68b0000-b68b6000 r-xp 00000000 08:02 1052584 /usr/lib/libxcb-render.so.0.0.0
b68b6000-b68b7000 r--p 00005000 08:02 1052584 /usr/lib/libxcb-render.so.0.0.0
b68b7000-b68b8000 rw-p 00006000 08:02 1052584 /usr/lib/libxcb-render.so.0.0.0
b68b8000-b68bb000 r-xp 00000000 08:02 1052582 /usr/lib/libxcb-render-util.so.0.0.0
b68bb000-b68bc000 r--p 00002000 08:02 1052582 /usr/lib/libxcb-render-util.so.0.0.0
b68bc000-b68bd000 rw-p 00003000 08:02 1052582 /usr/lib/libxcb-render-util.so.0.0.0
b68bd000-b68fc000 r-xp 00000000 08:02 1052360 /usr/lib/libpixman-1.so.0.12.0
b68fc000-b68fe000 r--p 0003e000 08:02 1052360 /usr/lib/libpixman-1.so.0.12.0
b68fe000-b68ff000 rw-p 00040000 08:02 1052360 /usr/lib/libpixman-1.so.0.12.0
b68ff000-b6900000 rw-p b68ff000 00:00 0
b6900000-b6917000 r-xp 00000000 08:02 1052594 /usr/lib/libxcb.so.1.0.0
b6917000-b6918000 r--p 00016000 08:02 1052594 /usr/lib/libxcb.so.1.0.0
b6918000-b6919000 rw-p 00017000 08:02 1052594 /usr/lib/libxcb.so.1.0.0
b6919000-b691a000 r-xp 00000000 08:02 1052590 /usr/lib/libxcb-xlib.so.0.0.0
b691a000-b691b000 r--p 00000000 08:02 1052590 /usr/lib/libxcb-xlib.so.0.0.0
b691b000-b691c000 rw-p 00001000 08:02 1052590 /usr/lib/libxcb-xlib.so.0.0.0
b691c000-b6924000 r-xp 00000000 08:02 1051514 /usr/lib/libXcursor.so.1.0.2
b6924000-b6925000 rw-p 00007000 08:02 1051514 /usr/lib/libXcursor.so.1.0.2
b6925000-b692a000 r-xp 00000000 08:02 1051542 /usr/lib/libXrandr.so.2.1.0
b692a000-b692b000 r--p 00005000 08:02 1051542 /usr/lib/libXrandr.so.2.1.0
b692b000-b692c000 rw-p 00006000 08:02 1051542 /usr/lib/libXrandr.so.2.1.0
b692c000-b6934000 r-xp 00000000 08:02 1051530 /usr/lib/libXi.so.6.0.0
b6934000-b6935000 r--p 00007000 08:02 1051530 /usr/lib/libXi.so.6.0.0
b6935000-b6936000 rw-p 00008000 08:02 1051530 /usr/lib/libXi.so.6.0.0
b6936000-b6937000 rw-p b6936000 00:00 0
b6937000-b6939000 r-xp 00000000 08:02 1051532 /usr/lib/libXinerama.so.1.0.0
b6939000-b693a000 rw-p 00001000 08:02 1051532 /usr/lib/libXinerama.so.1.0.0
b693a000-b6942000 r-xp 00000000 08:02 1051544 /usr/lib/libXrender.so.1.3.0
b6942000-b6943000 r--p 00007000 08:02 1051544 /usr/lib/libXrender.so.1.3.0
b6943000-b6944000 rw-p 00008000 08:02 1051544 /usr/lib/libXrender.so.1.3.0
b6944000-b6951000 r-xp 00000000 08:02 1051522 /usr/lib/libXext.so.6.4.0
b6951000-b6953000 rw-p 0000c000 08:02 1051522 /usr/lib/libXext.soAborted
reverend@xerxes:~/df_linux$
TagsNo tags attached.

Relationships

duplicate of 0001925 closedToady One Crash when creating a squad - uniform selection, Linux only 

Activities

Logical2u

2010-05-23 19:18

manager   ~0007237

I'm going to mark this as another instance of the Linux-specific uniform selection crash, based on your provided terminal dump and comparison to those provided on 0001925, as well as comparing the reproduction steps you provided.

Issue History

Date Modified Username Field Change
2010-05-23 19:09 DgnBiscuit New Issue
2010-05-23 19:18 Logical2u Note Added: 0007237
2010-05-23 19:18 Logical2u Relationship added duplicate of 0001925
2010-05-23 19:18 Logical2u Status new => resolved
2010-05-23 19:18 Logical2u Resolution open => duplicate
2010-05-23 19:18 Logical2u Assigned To => Logical2u
2010-06-09 06:45 Toady One Status resolved => closed