On Fri, Jun 26, 2015 at 05:09:06PM +0800, Miika Turkia wrote: > >> > >> I can stare at the code a bit to see if I see a problem, or I can add some > >> verbose debugging option that allows us to see which fixes it picks and > >> why. > > > > I did stare at the code and the more I did so the less the code made > > sense. So I did the obvious thing and rewrote it :-) ... and added a TON > > of debugging statements. This was pushed to master and daily builds have > > been triggered. > > Well, I just got a segmentation fault, but when running under gdb, all > went fine.
Always a sign of quality software... > ---8<--- > processing gpsfix @ "Fri Jun 26, 2015 2:05 PM" which is withing six > hours of dive from "Fri Jun 26, 2015 2:14 PM" until "Fri Jun 26, 2015 > 3:31 PM" > look at the next gps fix @ "Fri Jun 26, 2015 2:08 PM" > which is closer to the start of the dive, do continue with that > processing gpsfix @ "Fri Jun 26, 2015 2:08 PM" which is withing six > hours of dive from "Fri Jun 26, 2015 2:14 PM" until "Fri Jun 26, 2015 > 3:31 PM" > look at the next gps fix @ "Fri Jun 26, 2015 3:38 PM" > pick the one before as it's closer to the start > Segmentation fault Very promising. I'll look into this. Most likely running under valgrind would point at my errors pretty quickly. > > Miika, I would love it if you could try this (but I understand if you > > don't have the time or network bandwidth to do so). I think the debug > > messages are verbose enough to make it easy to track down what happened > > and why the fixes are chosen. > > I think I got correct locations today. I'll try to test this a bit > more, purely for the benefit of all :D Your sacrifice is noted. > It feels like Subsurface is quite slow to start up nowadays. I wonder > if this is related to my lightening fast (read incredibly slow) > Internet connection. If you use the cloud storage, then yes, it tries to pull from the remote repo. Eventually the goal is to have a progress bar (or to simply do this in the background and simply disable anything that would modify the local dive list while that's happening). On my infinitely long todo list. > Also the IOS companion app is very slow to realize there is no > Internet connectivity when I am attempting to start logging. > (Workaround: quit and open up the app to trick it to notice syncing is > not going to happen.) That app was written in last year's GSoC. It hasn't really been maintained, since. You could contact the student (who now has a full time job that keeps him very busy) directly with feedback... /D _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
