Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0005127Dwarf FortressLegends Mode -- History Exportpublic2012-02-15 11:552012-03-08 16:09
VMWare on Core i7 x980Debian GNU/Linux
0005127: Segmentation fault when exporting map/gen info with PRINT_MODE:TEXT
DF crashes with a segmentation fault when exporting map/gen info.
1. Generate world using default basic settings
2. Play in Legends mode
3. Export map/gen info
- Game is launched from bash via ssh.
- init.txt is changed to use TEXT rendering mode.
No tags attached.
has duplicate 0005664resolved Footkerchief segfault when exporting map in text mode 
related to 0005271assigned Baughn Segmentation Fault when Embarking in PRINT_MODE:TEXT 
Issue History
2012-02-15 11:55LyceqNew Issue
2012-02-15 11:57FootkerchiefNote Added: 0019660
2012-02-15 11:57FootkerchiefTag Attached: AWAITING UPDATE
2012-02-15 12:27LyceqNote Added: 0019668
2012-02-15 13:56uggiNote Added: 0019677
2012-02-15 14:24FootkerchiefSummarySegmentation fault when exporting map/gen info => Segmentation fault when exporting map/gen info with PRINT_MODE:TEXT
2012-02-15 14:28FootkerchiefTag Detached: AWAITING UPDATE
2012-02-15 14:29FootkerchiefIssue Monitored: Baughn
2012-02-15 14:29FootkerchiefNote Added: 0019683
2012-02-15 14:29FootkerchiefStatusnew => assigned
2012-02-15 14:29FootkerchiefAssigned To => Baughn
2012-02-15 14:37uggiNote Added: 0019686
2012-02-15 16:05LyceqNote Added: 0019710
2012-02-15 16:06LyceqNote Edited: 0019710bug_revision_view_page.php?bugnote_id=0019710#r7380
2012-02-18 14:26Logical2uRelationship addedrelated to 0005271
2012-03-08 16:09BaughnNote Added: 0021279
2012-03-08 16:09BaughnStatusassigned => resolved
2012-03-08 16:09BaughnFixed in Version => Next Version
2012-03-08 16:09BaughnResolutionopen => fixed
2012-03-17 06:21FootkerchiefRelationship addedhas duplicate 0005664

2012-02-15 11:57   
Reminder sent to: Lyceq

Does this still happen if you change the PRINT_MODE?

Does this happen in every world? If it only happens in a specific world, please upload your save to http://dffd.wimbli.com/ [^]
2012-02-15 12:27   
Generated a second world with the same results. I will change render mode as soon as I return home (at work atm).
2012-02-15 13:56   
I can confirm this on Ubuntu 11.04. With PRINT_MODE set to TEXT the game crashes and nothing is exported. Works fine with other modes (except with FRAME_BUFFER, which doesn't work at all for me).
2012-02-15 14:29   
Reminder sent to: Baughn

Looks like this is unique to TEXT.
2012-02-15 14:37   
Probably related: In fortress mode, ESC > Export Local Image crashes the game too when in TEXT mode.
2012-02-15 16:05   
(edited on: 2012-02-15 16:06)
Confirmed that this bug does not reproduce when PRINT_MODE is set to 2D.

2012-03-08 16:09