Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006187Dwarf FortressTechnical -- Saving/Loadingpublic2012-09-02 17:502012-09-11 20:48
arclance 
 
normalcrashalways
newopen 
LinuxDebian x86_64Sid
0.34.11 
 
0006187: Linux version fails to read raw files with uppercase characters in filename
The following three saves load fine in the Windows version of Dwarf Fortress.
When trying to load them in the Linux version they crash with

FATAL ERROR
Missing Shape Definition

http://dffd.wimbli.com/file.php?id=6838 [^]
http://dffd.wimbli.com/file.php?id=6841 [^]
http://dffd.wimbli.com/file.php?id=6869 [^]

Other saves load fine in both the Windows and Linux version.
No tags attached.
Issue History
2012-09-02 17:50arclanceNew Issue
2012-09-02 17:50arclanceIssue Monitored: arclance
2012-09-05 19:21arclanceNote Added: 0023531
2012-09-07 14:16arclanceNote Added: 0023541
2012-09-07 14:17arclanceNote Edited: 0023541bug_revision_view_page.php?bugnote_id=0023541#r8783
2012-09-07 16:42DeathswordIssue Monitored: Deathsword
2012-09-07 16:42DeathswordIssue End Monitor: Deathsword
2012-09-11 13:06arclanceNote Added: 0023554
2012-09-11 20:48FootkerchiefSummarySave loads in Windows version but crashes in Linux => Linux version fails to read raw files with uppercase characters in filename

Notes
(0023531)
arclance   
2012-09-05 19:21   
I just tested this on a 32-bit Linux OS and the same thing happens.
(0023541)
arclance   
2012-09-07 14:16   
(edited on: 2012-09-07 14:17)
Here is a link to what I have been told is the same fortress as the original save before embark.
http://dffd.wimbli.com/file.php?id=6755 [^]
It also crashes for me when I pick fortress mode from the menu using the Linux version.

(0023554)
arclance   
2012-09-11 13:06   
It turns out this was due to Windows using the case insensitive NTFS file system.
There were some raw files with upper case characters in their filenames in the save.

When opened from a case insensitive file system like NTFS this does not cause a problem.

When opened from a case sensitive file system like EXT4 Dwarf Fortress tries to open the raw files with all lower case filenames and fails since the filename is wrong.

This was discovered by NCommander, you can find his post here.
http://www.bay12forums.com/smf/index.php?topic=114971.msg3601407#msg3601407 [^]