[OSM-dev] mod_tile stable version ?

Bernard Fouché bernard.fouche at kuantic.com
Tue Mar 26 10:52:19 UTC 2013

Hi All,

I'm new to openstreetmap and I've nearly succeeded in having a working 
tile server on a Fedora 18 box.

However I experience problems with mod_tile/renderd:

- all wiki pages I find simply state for instance:

Get and install mod_tile itself:
cd ~/src
svn co http://svn.openstreetmap.org/applications/utils/mod_tile
cd mod_tile

- but I have crashes with renderd with what's currently available on the 
SVN repo:

*** glibc detected *** /data/mod_tile/.libs/lt-renderd: free(): invalid 
next size (fast): 0x00007f602c36af00 ***
======= Backtrace: =========

- Revision 29404, the current revision also has a bug in store_file.c:

     tmp = malloc(sizeof(char) * strlen(meta_path) + 12);
     sprintf(tmp, "%s.%lu", meta_path, pthread_self());

     if (mkdirp(tmp))
         return -1;

     fd = open(tmp, O_WRONLY | O_TRUNC | O_CREAT, 0666);

'{}' are missing around the free/return following a failed call to 
https://github.com/openstreetmap/mod_tile/blob/master/store_file.c shows 
the same problem.

shows that the file was initially added with the bug.

Such a bug makes me think that the current revision isn't a stable one 
since it breaks to whole functioning of renderd and not a single tile 
can be generated.

So I'm looking for a SVN revision known to be stable (or a repo that 
holds stable revisions) and wasn't able to locate one yet.

Any hint welcome!



More information about the dev mailing list