[OSM-dev] renderd segfaulting

Jon Burgess jburgess777 at googlemail.com
Tue Aug 5 19:31:07 BST 2008

On Tue, 2008-08-05 at 08:43 -0700, Mikel Maron wrote:
> MIME-Version: 1.0
> Content-Type: multipart/alternative; boundary="0-1650659223-1217951008=:5107"
> --0-1650659223-1217951008=:5107
> Content-Type: text/plain; charset=us-ascii
> Hi
> I've set up mod_tile and renderd. Compiled against mapnik 0.5.1.
> renderd works for a bit, but then segfaults. It seems to be a problem with fielding a burst concurrent requrests, but not certain.
> Any suggestions on problems to look for?

What compile options did you use for compiling Mapnik? If you set
THREADING=single then that could be the problem. It might be worth
switching renderd to be single threaded by editing render_config.h to
NUM_THREADS to 1 and recompile.

The code operates fine in multi-threaded mode on the main OSM server
which uses the latest SVN mapnik code.

If you still run into problems then it would be good to recompile
renderd with debug info by adding -g to the CFLAGS/CXXFLAGS and get a
backtrace from gdb.


More information about the dev mailing list