Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003079 [DCSS] Bug Report minor always 2010-12-28 13:41 2011-01-26 10:13
Reporter galehar View Status public  
Assigned To
Priority normal Resolution done  
Status closed   Product Branch 0.8 ancient branch
Summary 0003079: Cannot load a windows save file under linux
Description When I tried to load the save file of 0003069, I get the following error:

lua_marker::read error: dlua_chunk: bad header in precompiled chunk

I had to boot windows to load it.
Aren't save file supposed to be compatible accross plateforms?
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
KiloByte (manager)
2010-12-28 14:03

The version of Lua in contrib includes a patch by neunon that makes it incompatible with other luas. It provides compatibility across different endianness but not different word width.

On about any platform other than Windows we use system Lua -- less disk waste, and security teams in most Linux/BSD distributions veto packages using "convenience copies" of libraries, for a number of reasons. Sadly, this means it'd be hard to make changes to Lua. The patch we use has hardly any purpose, too, since big-endian platforms are practically dead.

Greensnark said something about a way to save lua markers without writing precompiled code. That would avoid the whole issue altogether.
galehar (administrator)
2010-12-28 15:36
edited on: 2011-01-02 15:32

So, I guess that means I can work around the problem by setting BUILD_LUA. Also, shouldn't we reverse the endianness patch? I think platform compatibility is worth more than supporting obsolete platforms.

- Issue History
Date Modified Username Field Change
2010-12-28 13:41 galehar New Issue
2010-12-28 14:03 KiloByte Note Added: 0009979
2010-12-28 15:36 galehar Note Added: 0009983
2011-01-02 15:32 galehar Note Edited: 0009983
2011-01-26 10:13 galehar Status new => closed
2011-01-26 10:13 galehar Resolution open => done
2011-01-26 10:13 galehar Fixed in Branch => 0.8 development branch

Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker