Re: TangoGPS runs on Maemo (well... at least inside Scratchbox)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 30, 2008 at 09:47:38AM -0700, Joshua Layne wrote:
> On Mon, 30 Jun 2008 17:14:54 +0300, Marius Gedminas <marius@xxxxxx> wrote:
> > On Mon, Jun 30, 2008 at 07:08:36AM -0700, Joshua Layne wrote:
> >> Marius Gedminas wrote:
> >> > On Sat, Jun 28, 2008 at 03:51:37PM -0700, Joshua Layne wrote:
> >> >> https://garage.maemo.org/projects/roadmap/
> >> >
> >> > Interesting.  Only it crashes on startup for me.
> >> 
> >> Can you start it from a shell and tell me the output when it dies?
> > 
> > ~ $ roadmap 
> > s== roadmap_start.c, line 1460: RoadMap starting, time 17:13
> > s== roadmap_gps.c, line 882: cannot access GPS source gpsd://localhost
> 
> this is non-fatal, but it suggests you are not on an N810 - are you on a
> 770 or an 800?

N810.  Note that gpsd is started on demand, when some GPS-using
application asks for it using the libgpsmgr API.

> > s== roadmap_locator.c, line 146: Cannot open map index file.  Only
> > OpenStreetMap maps will be available.  Otherwise, the Map.Path
> preferences
> > item must point at map files and the master index file.
> 
> again, non-fatal (roadmap was originally designed to use maps built
> offline, dynamic map downloading is a fairly recent feature) -- although
> see below.
> 
> > s## roadmap_locator.c, line 310: no more memory
> 
> This is the culprit (## is fatal).  Were you running a lot of other apps at
> the time?

Not really, no.  Just evince.  Let me try it with no apps open:

~ $ free
              total         used         free       shared      buffers
  Mem:       126796        94252        32544            0            8
 Swap:       131064        25188       105876
Total:       257860       119440       138420
~ $ roadmap
s== roadmap_start.c, line 1460: RoadMap starting, time 20:50
s== roadmap_gps.c, line 882: cannot access GPS source gpsd://localhost
s== roadmap_locator.c, line 146: Cannot open map index file.  Only OpenStreetMap maps will be available.  Otherwise, the Map.Path preferences item must point at map files and the master index file.
s## roadmap_locator.c, line 310: no more memory
   Call stack:
         roadmap_screen_repaint
s== roadmap_start.c, line 1542: RoadMap exiting, time 20:51

> DO you have any virtual memory allocated?

Yes, 128 megs.

> (If on a 770, does
> the 770 have significantly less memory than the N8x0s?)

A 770 has 64 megs of RAM.  A N8x0 has 128 megs of RAM.

> I actually think the memory piece is a red herring and that there is
> probably a bug in the locator code (with a missing usdir.rdm).  Let me do a
> test or two and get back to you.

Looks like you're right about the red herring.

Marius Gedminas
-- 
When we say we want readable code, we don't mean we want to sit in a
comfortable chair and page through a Java-saga.
    --- http://www.wordaligned.org/articles/pitching-python-in-three-syllables

Attachment: signature.asc
Description: Digital signature

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux