Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005271Dwarf FortressDwarf Mode -- Embark/Setuppublic2012-02-18 12:582012-10-09 22:13
Assigned ToBaughn 
PlatformLinuxOSUbuntuOS VersionUbuntu 11.04
Product Version0.34.02 
Target VersionFixed in Version 
Summary0005271: Segmentation Fault when Embarking in PRINT_MODE:TEXT
DescriptionI play DF in text mode on my VPS. 0.31.25 worked without issue.

I can get into Adventure Mode without a problem, but no matter where I embark, I get a Segmentation Fault as soon as you initiate a proper embark from the setup screen.
Tagsprint mode text
Attached Files

- Relationships
related to 0005127resolvedBaughn Segmentation fault when exporting map/gen info with PRINT_MODE:TEXT 

-  Notes
Footkerchief (manager)
2012-02-19 02:11

Reminder sent to: Baughn

This might interest you.
Baughn (manager)
2012-02-22 14:51

I'm having trouble reproducing this. Can you run it with 'ulimit -c unlimited' and send me the core file?
Baughn (manager)
2012-03-08 16:11

May be fixed in .06; please check.
kanobe (reporter)
2012-10-09 22:13

I have experienced the same issue on Debian linux in version 0.34.11. The steps I followed are as follows:

1. Start the game. The game's maximum width and height in characters was small.
2. Once the opening animations finished I would resize my terminal,
and DF would resize to a larger size.
3. Choose "Start Playing", Choose "Dwarf Fortress"
4. Select starting location
5. Choose embark and "Play Now!"
6. Game would core

I have a core file that I can make available (I don't seem to be able to upload to issues opened by other users). Here is the backtrace:

Program terminated with signal 11, Segmentation fault.
#0 0x2065726a in ?? ()
(gdb) bt
#0 0x2065726a in ?? ()
0000001 0xb708e710 in ssignal () from /lib/i686/cmov/
0000002 0xb76e9eaa in ?? () from /usr/lib/
0000003 <signal handler called>
0000004 0xb70d6dc7 in strcat () from /lib/i686/cmov/
0000005 0x088254b6 in ?? ()
0000006 0x08825aa3 in ?? ()
0000007 0x20657265 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I also have found a workaround which will help pinpoint the issue. What seems to work is to not resize the terminal at all in step 2. Once the normal game screen appears with the wagon and dwarves, resizing the terminal works. I think on embark the game was assuming the terminal was still the smaller size or something. The core is occurring somewhere below strcat(): 0000004 0xb70d6dc7 in strcat() from /lib/i686/cmov/

- Issue History
Date Modified Username Field Change
2012-02-18 12:58 vinic New Issue
2012-02-18 12:58 vinic Tag Attached: print mode text
2012-02-18 14:26 Logical2u Relationship added related to 0005127
2012-02-19 02:11 Footkerchief Issue Monitored: Baughn
2012-02-19 02:11 Footkerchief Note Added: 0020108
2012-02-22 14:51 Baughn Note Added: 0020497
2012-02-22 15:04 Footkerchief Status new => assigned
2012-02-22 15:04 Footkerchief Assigned To => Baughn
2012-03-08 16:11 Baughn Note Added: 0021280
2012-10-09 22:09 kanobe Issue Monitored: kanobe
2012-10-09 22:13 kanobe Note Added: 0023648

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker