3.0.2

Sergey Starosek sergey.starosek at gmail.com
Mon Mar 4 05:32:34 PST 2013


On Mon, Mar 04, 2013 at 02:55:36PM +0200, Sergey Starosek wrote:
> 
> My guess is that it first happens in parse-xml.c since there're no notes
> after load (and no divecomputer name on the profile).
> 
> After adding a second plan and saving it, the XML file get corrupted.
> But XML still holds notes and DC name for both dives. For the first dive
> I observe broken UTF strings.

To narrow down the problem... I can reproduce this with just one dive:

1. Start with empty XML
2. Enter plan 10m 10'
3. Save it, Restart subsurface - no notes, no DC name on profile
4. Edit dive, just press OK. Save dive - file is broken.

Sergey


More information about the subsurface mailing list