Jon Burgess-3 wrote:
> 
> The first thing which helps is to try to figure out how to reproduce the
> problem quickly.
> 

Easily done, I have a map location that reliably produces the problem - even
after several DB updates.


Jon Burgess-3 wrote:
> 
> Alternatively, if you already have mapnik running and it has stuck in a
> loop then you can attach gdb by specifying the process ID:
> Then again run the "thread apply all bt" command once gdb starts.
> 
> 

Thank you for your extensive instructions. Following that guideline, I was
able to get the required info out of the hanging mapnik. At least I hope I
got the right application. :-)

This is what it says:

(gdb) thread apply all bt

Thread 1 (Thread 0x7f93366f0720 (LWP 16030)):
#0  0x00007f9335f9302d in
agg::renderer_outline_image<agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8,
agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >,
agg::line_image_pattern<agg::pattern_filter_bilinear_rgba<agg::rgba8> >
>::line3(agg::line_parameters const&, int, int, int, int) () from
/usr/lib/libmapnik.so.0.7
#1  0x00007f9335f9297d in
agg::rasterizer_outline_aa<agg::renderer_outline_image<agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8,
agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >,
agg::line_image_pattern<agg::pattern_filter_bilinear_rgba<agg::rgba8> > >,
agg::line_coord>::draw(agg::rasterizer_outline_aa<agg::renderer_outline_image<agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8,
agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >,
agg::line_image_pattern<agg::pattern_filter_bilinear_rgba<agg::rgba8> > >,
agg::line_coord>::draw_vars&, unsigned int, unsigned int) () from
/usr/lib/libmapnik.so.0.7
#2  0x00007f9335f8e12d in
agg::rasterizer_outline_aa<agg::renderer_outline_image<agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8,
agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >,
agg::line_image_pattern<agg::pattern_filter_bilinear_rgba<agg::rgba8> > >,
agg::line_coord>::render(bool) () from /usr/lib/libmapnik.so.0.7
#3  0x00007f9335f86081 in void
agg::rasterizer_outline_aa<agg::renderer_outline_image<agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8,
agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >,
agg::line_image_pattern<agg::pattern_filter_bilinear_rgba<agg::rgba8> > >,
agg::line_coord>::add_path<mapnik::coord_transform2<mapnik::CoordTransform,
mapnik::geometry<mapnik::vertex<double, 2> > >
>(mapnik::coord_transform2<mapnik::CoordTransform,
mapnik::geometry<mapnik::vertex<double, 2> > >&, unsigned int) () from
/usr/lib/libmapnik.so.0.7
#4  0x00007f9335f7fe16 in
mapnik::agg_renderer<mapnik::Image32>::process(mapnik::line_pattern_symbolizer
const&, mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >,
boost::shared_ptr<mapnik::raster> > const&, mapnik::proj_transform const&)
() from /usr/lib/libmapnik.so.0.7
#5  0x000000000041230f in ?? ()
#6  0x000000000040f312 in ?? ()
#7  0x000000000040fce1 in ?? ()
#8  0x0000000000413271 in ?? ()
#9  0x0000000000409e0c in ?? ()
#10 0x000000000040ae5f in ?? ()
#11 0x00007f93350c9c4d in __libc_start_main () from /lib/libc.so.6
#12 0x0000000000409ca9 in ?? ()
#13 0x00007fff125e6e78 in ?? ()
#14 0x000000000000001c in ?? ()
#15 0x0000000000000001 in ?? ()
#16 0x00007fff125e88b6 in ?? ()
#17 0x0000000000000000 in ?? ()


Anything suspicious there?

bye
             Nop

-- 
View this message in context: 
http://gis.638310.n2.nabble.com/Debugging-mapnik-hangs-tp5557749p5572776.html
Sent from the Mapnik Users mailing list archive at Nabble.com.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to