View Single Post
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#82
Originally Posted by aflegg View Post
Is there any way to enable debugging of Maemo Mapper?
Debug messages is completely disabled in the distribution .deb. Only critical errors are reported on the command line. You can rebuild maemo-mapper with the DEBUG macro defined to get a lot of debug (most function entry points, plus some other debug), and you can enable the vprintf macro to get even more debug.

Originally Posted by aflegg View Post
I tried to use it this weekend with a Bluetooth GPS for trip from Rugby to York (both in the UK) and it crashed so frequently on my N800 to be useless.

Having seen the same sort of thing when run from the command line (difficult to do at <cough> mph on the motorway) it seems to be a combination of seg faults and random quits.

I've not yet plowed through the source (mmm, one big shiny file) but anyone (gnuite <hint> ;-)) know how good it is with buffer overflows etc.? e.g. if it gets dodgy data from the GPS?
The NMEA reading is done with g_io_channel_read_chars(), and a "max # of chars" parameter is passed to the method, so it's unlikely that the char buffer is being overrun. But I could be wrong...

Originally Posted by aflegg View Post
If I had a debug log, I'd raise a bug and try and fix it, but there seems to be no rhyme or reason to the crashes, except they seem to occur when I've got the GPS enabled (and "Show info" on).
Which GPS receiver are you using?

Has anyone else had problems with that receiver?