Openmoko Bug #1878: infinite recursion in om-locations-map-pack.c

Openmoko Public Trac bugs at
Wed Aug 27 20:12:12 CEST 2008

#1878: infinite recursion in om-locations-map-pack.c
 Reporter:  xbaldauf   |          Owner:  marek   
     Type:  defect     |         Status:  new     
 Priority:  normal     |      Milestone:  Om2008.8
Component:  Locations  |        Version:  Om2008.8
 Severity:  normal     |       Keywords:          
Blockedby:             |   Reproducible:          
 Blocking:             |  

 function fetch_sched() may call fetch_completion() (in line 351), while
 function fetch_completion() may call fetch_sched() (in line 312).

 This leads to infinite recursion if the "circumstances" are right.

 One of these circumstances is if om-locations-map-pack is run over a
 sufficiently large cache directory (with more than 2000 tiles).

 Thus, this bug prevents incremental downloading of reasonably sized tile
 sets (e.g. a tile set of a larger city).

Ticket URL: <> <>
openmoko trac

More information about the buglog mailing list