Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001925Dwarf FortressDwarf Mode -- Interface, Military Screenpublic2010-05-17 12:542010-06-09 06:45
Reporterdragoonak 
Assigned ToToady One 
PriorityhighSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
Platform32-bit LinuxOSUbuntuOS Version10.04
Product Version0.31.04 
Target VersionFixed in Version0.31.05 
Summary0001925: Crash when creating a squad - uniform selection, Linux only
DescriptionEvery time I create a squad, the game crashes. No large knives present.
Steps To Reproduce1. Start a fortress.
2. Assign a militia commander.
3. Assign a militia captain.
4. Press c to create a squad
5. Choose a uniform
6. Game crashes
Additional InformationThis has been reported by a number of Linux users in the 0.31.04 thread - http://www.bay12forums.com/smf/index.php?topic=57492.45 [^]

Loading bindings from data/init/interface.txt
*** buffer overflow detected ***: ./dwarfort.exe terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x227350]
/lib/tls/i686/cmov/libc.so.6(+0xe128a)[0x22628a]
./dwarfort.exe[0x8446944]
[0x1]
======= Memory map: ========
00110000-00134000 r-xp 00000000 08:01 1839437 /lib/tls/i686/cmov/libm-2.11.1.so
[blablabla]

Entire trace available at
http://dl.dropbox.com/u/163071/dwarf.crash [^]

Core file available at
http://dl.dropbox.com/u/163071/dwarf.core.7z [^]
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0001948closedFootkerchief Crash when trying to create squad 
has duplicate 0002002closedFootkerchief Game crashes when making a squad 
has duplicate 0002050closedLogical2u Creating a new squad crashes the military screen 
has duplicate 0002053closedFootkerchief Game crashes when trying to create a squad 
has duplicate 0002058closedFootkerchief Game crashes when trying to form squads 
has duplicate 0002087closedFootkerchief Crashes when I attempt to create a squad. 
has duplicate 0002202closedLogical2u crash when specifying uniform when creating a squad from military screen 

-  Notes
(0006894)
snaipperi (reporter)
2010-05-17 13:05

Mine crashed after choosing the uniform while creating a new squad. Same error.

*** buffer overflow detected ***: ./dwarfort.exe terminated
======= Backtrace: =========
/opt/lib32/lib/libc.so.6(__fortify_fail+0x50)[0xf7129790]
/opt/lib32/lib/libc.so.6(+0xe375a)[0xf712775a]
./dwarfort.exe[0x8446944]
[0x1]
(0006895)
dragoonak (reporter)
2010-05-17 13:14

Yeah, I forgot 4.5 - Choose a uniform.
(0006899)
snus-mumrik (reporter)
2010-05-17 14:21
edited on: 2010-05-17 14:22

Same: crash on choosing uniform ("metal" in my case). Under 64bit Linux (Gentoo).

(0006911)
calcipher (reporter)
2010-05-17 18:57

I'd like to confirm this, I can't chose any of the uniforms. Ubuntux64
(0006912)
Logical2u (manager)
2010-05-17 19:01

I added your "note 4.5" and modified the title to reflect the common thread.
It seems like this issue might be linux specific. Since I haven't had time to migrate my saves to 31.04 yet, I can't confirm or deny that thought at this time.
(0007018)
kaosdrachen (reporter)
2010-05-19 10:17

It crashed for me the moment I hit (c)reate squad.

Crash report and safe at http://tenchi.systemec.nl/~shadur/DF/ [^]
(0007019)
Footkerchief (manager)
2010-05-19 10:30

All indications are that it's Linux-specific, yeah.
(0007022)
RiceMunk (reporter)
2010-05-19 13:29

Confirming as well in Ubuntu Linux. Got the buffer overflow thing when choosing a metal armor for my squad during creation.
(0007176)
ridcully (reporter)
2010-05-22 06:28

Same on gentoo
(0007177)
stoo (reporter)
2010-05-22 06:52

Getting buffer overflow for any uniform on my Ubuntu systems - seems to work fine if I copy the save to a windows version and run through wine. Can even pull the save back over and keep playing after the squads are set up.
(0007376)
kaosdrachen (reporter)
2010-05-27 04:40

Not sure how relevant this is but here goes: If you create several squads in the windows version, then save and load the save into the linux version, you can manipulate the individual squads as much as you like. It's just creating a new squad that trips the crash.
(0007439)
Leperous (reporter)
2010-05-28 14:36
edited on: 2010-05-29 02:36

This is happening for me even on fresh embarks, and makes this version practically unplayable.

Seems to be a bug that's hit other programs relatively often, e.g.:
https://bugs.launchpad.net/ubuntu/+source/isomaster/+bug/500151 [^]
http://ubuntuforums.org/showthread.php?t=978025 [^]

(0007520)
burlingk (reporter)
2010-05-31 18:32

Ubuntu x64, Any option causes crash.

I will have to give the workaround suggested by kaosdrachen a try. The speed/FPS is much better under Linux than under windows. Windows drags.
(0007573)
Cel (reporter)
2010-06-02 08:24
edited on: 2010-06-02 09:03

Crash! can't choose uniform

http://pastebin.com/Sc0LUsZf [^]

(0007592)
Omniwoof (reporter)
2010-06-03 02:39

Just confirming bug on Ubuntu 32 bit 10.4 LTS.

Occurs when any uniform option is chosen during squad creation.
(0007595)
Letharion (reporter)
2010-06-03 04:07

Same problem, upon choosing any of the four uniforms I get an immediate crash.
Gentoo, amd64.

I'm not sure exactly how it is appropriate to attach this, so I do it in plain-text. Depening on an external site (pastebin) seems like a bad idea.
#0 0xb7fe1424 in __kernel_vsyscall ()
0000001 0xb78b56e0 in raise () from /lib/libc.so.6
0000002 0xb78b6f15 in abort () from /lib/libc.so.6
0000003 0xb78f1175 in ?? () from /lib/libc.so.6
0000004 0x0000000b in ?? ()
0000005 0xb4b8db98 in ?? ()
0000006 0x00000400 in ?? ()
0000007 0xb78f1f75 in _IO_file_seek () from /lib/libc.so.6
0000008 0xb79721b8 in __fortify_fail () from /lib/libc.so.6
0000009 0xb7970200 in __chk_fail () from /lib/libc.so.6
0000010 0x08446944 in ?? ()
0000011 0xb7b4ead6 in interfacest::loop() () from /home/letharion/Downloads/df_linux/libs/libgraphics.so
0000012 0x083c81ff in mainloop() ()
0000013 0xb7b3054e in enablerst::async_loop() () from /home/letharion/Downloads/df_linux/libs/libgraphics.so
0000014 0xb7b3084d in call_loop(void*) () from /home/letharion/Downloads/df_linux/libs/libgraphics.so
0000015 0xb7f72d9c in SDL_RunThread (data=0x959ae60) at ./src/thread/SDL_thread.c:202
0000016 0xb7fab404 in RunThread (data=0x959ae60) at ./src/thread/pthread/SDL_systhread.c:47
0000017 0xb787842f in start_thread () from /lib/libpthread.so.0
0000018 0xb795bb9e in clone () from /lib/libc.so.6
(0007608)
Footkerchief (manager)
2010-06-03 09:07
edited on: 2010-06-03 09:07

Crash logs aren't needed for this bug. This crash is 100% reproducible so they don't really help.


- Issue History
Date Modified Username Field Change
2010-05-17 12:54 dragoonak New Issue
2010-05-17 13:05 snaipperi Note Added: 0006894
2010-05-17 13:14 dragoonak Note Added: 0006895
2010-05-17 14:21 snus-mumrik Note Added: 0006899
2010-05-17 14:22 snus-mumrik Note Edited: 0006899 View Revisions
2010-05-17 18:39 trousermonkey1 Issue Monitored: trousermonkey1
2010-05-17 18:57 calcipher Note Added: 0006911
2010-05-17 19:01 Logical2u Note Added: 0006912
2010-05-17 19:01 Logical2u Summary Crash when creating a squad => Crash when creating a squad - uniform selection
2010-05-17 19:01 Logical2u Steps to Reproduce Updated View Revisions
2010-05-17 23:00 caranha Issue Monitored: caranha
2010-05-17 23:52 dragoonak Issue Monitored: dragoonak
2010-05-18 11:55 Footkerchief Relationship added has duplicate 0001948
2010-05-19 10:17 kaosdrachen Note Added: 0007018
2010-05-19 10:30 Footkerchief Note Added: 0007019
2010-05-19 13:29 RiceMunk Note Added: 0007022
2010-05-19 14:40 damonhawkins Issue Monitored: damonhawkins
2010-05-20 20:56 Footkerchief Relationship added has duplicate 0002002
2010-05-21 20:31 Klox Issue Monitored: Klox
2010-05-22 06:28 ridcully Note Added: 0007176
2010-05-22 06:52 stoo Note Added: 0007177
2010-05-23 09:51 binder Issue Monitored: binder
2010-05-23 19:18 Logical2u Relationship added has duplicate 0002050
2010-05-24 00:12 Footkerchief Relationship added has duplicate 0002053
2010-05-25 21:14 Footkerchief Relationship added has duplicate 0002058
2010-05-25 21:14 Footkerchief Issue Monitored: Darkwind
2010-05-26 06:58 kaosdrachen Issue Monitored: kaosdrachen
2010-05-27 04:40 kaosdrachen Note Added: 0007376
2010-05-28 02:43 Footkerchief Relationship added has duplicate 0002087
2010-05-28 12:17 steinarh Issue Monitored: steinarh
2010-05-28 14:36 Leperous Note Added: 0007439
2010-05-29 02:33 Leperous Note Edited: 0007439 View Revisions
2010-05-29 02:36 Leperous Note Edited: 0007439 View Revisions
2010-05-31 18:32 burlingk Note Added: 0007520
2010-06-02 08:24 Cel Note Added: 0007573
2010-06-02 09:03 Footkerchief Note Edited: 0007573 View Revisions
2010-06-02 21:51 Taranli Maren Issue Monitored: Taranli Maren
2010-06-03 01:29 Footkerchief Summary Crash when creating a squad - uniform selection => Crash when creating a squad - uniform selection, Linux only
2010-06-03 02:39 Omniwoof Note Added: 0007592
2010-06-03 04:07 Letharion Note Added: 0007595
2010-06-03 06:16 ethanb Issue Monitored: ethanb
2010-06-03 08:50 Cel Issue Monitored: Cel
2010-06-03 09:07 Footkerchief Note Added: 0007608
2010-06-03 09:07 Footkerchief Note Edited: 0007608 View Revisions
2010-06-03 13:15 Footkerchief Sticky Issue No => Yes
2010-06-03 16:50 KoFish Issue Monitored: KoFish
2010-06-04 10:08 Footkerchief Tag Attached: Fixed in 31.05?
2010-06-04 10:15 Footkerchief Status new => assigned
2010-06-04 10:15 Footkerchief Assigned To => Toady One
2010-06-04 10:15 Footkerchief Status assigned => resolved
2010-06-04 10:15 Footkerchief Fixed in Version => 0.31.05
2010-06-04 10:15 Footkerchief Resolution open => fixed
2010-06-04 10:24 Cel Issue End Monitor: Cel
2010-06-04 10:37 Footkerchief Tag Detached: Fixed in 31.05?
2010-06-04 11:06 Klox Issue End Monitor: Klox
2010-06-05 06:09 shimgray Issue Monitored: shimgray
2010-06-05 06:10 shimgray Issue End Monitor: shimgray
2010-06-06 09:37 Footkerchief Sticky Issue Yes => No
2010-06-07 07:31 Logical2u Relationship added has duplicate 0002202
2010-06-09 06:45 Toady One Status resolved => closed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker