artemp/mapnik — Issue #660: segfault in shape.input
Author: artemp
Created: 2011-10-11 16:31:14+00:00
State: open
Labels: Core_Library

this is when hammering mapnik trunk via tilelite's 'liteserv.py' single threaded development server on an ubuntu lucid machine with 16 cores, 32 GB mem, reading the osm.xml

applying load with: `ab -n 200 -c 50 "http://127.0.0.1:8000/1/0/0.png"`

{{{
>>> mapnik2.mapnik_svn_revision()
2289
}}}

{{{

localhost - - [08/Nov/2010 17:07:30] "GET /1/0/0.png HTTP/1.0" 200 334
localhost - - [08/Nov/2010 17:07:30] "GET /1/0/0.png HTTP/1.0" 200 334
localhost - - [08/Nov/2010 17:07:30] "GET /1/0/0.png HTTP/1.0" 200 334

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbf7fe710 (LWP 10295)]
0x00007ffff1d77bc8 in shape_io::read_polyline() () from /usr/local/lib/mapnik2/input/shape.input
(gdb) bt
#0 0x00007ffff1d77bc8 in shape_io::read_polyline() () from /usr/local/lib/mapnik2/input/shape.input
#1 0x00007ffff1d74ae9 in shape_index_featureset::next() ()
from /usr/local/lib/mapnik2/input/shape.input
#2 0x00007ffff6254ea2 in mapnik::feature_style_processor >::apply_to_layer(mapnik::layer const&, mapnik::agg_renderer&, mapnik::projection const&, double) ()
from /usr/lib/python2.6/dist-packages/mapnik2/_mapnik2.so
#3 0x00007ffff62297e7 in render(mapnik::Map const&, mapnik::image_32&, double, unsigned int, unsigned int) ()
from /usr/lib/python2.6/dist-packages/mapnik2/_mapnik2.so
#4 0x00007ffff622e7b6 in boost::python::detail::caller_arity<2u>::impl >::operator()(_object*, _object*) () from /usr/lib/python2.6/dist-packages/mapnik2/_mapnik2.so
#5 0x00007ffff54fcd5e in boost::python::objects::function::call(_object*, _object*) const ()
from /usr/local/lib/libboost_python.so.1.42.0
#6 0x00007ffff54fd008 in ?? () from /usr/local/lib/libboost_python.so.1.42.0
#7 0x00007ffff5504883 in boost::python::detail::exception_handler::operator()(boost::function0 const&) const
() from /usr/local/lib/libboost_python.so.1.42.0
#8 0x00007ffff622b087 in boost::detail::function::function_obj_invoker2, boost::_bi::list3, boost::arg<2>, boost::_bi::value > >, bool, boost::python::detail::exception_handler const&, boost::function0 const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0 const&) ()
from /usr/lib/python2.6/dist-packages/mapnik2/_mapnik2.so
#9 0x00007ffff5504653 in boost::python::handle_exception_impl(boost::function0) ()
from /usr/local/lib/libboost_python.so.1.42.0
#10 0x00007ffff54f9908 in ?? () from /usr/local/lib/libboost_python.so.1.42.0
#11 0x000000000041f0c7 in PyObject_Call ()
#12 0x00000000004a7378 in PyEval_EvalFrameEx ()
#13 0x0000000000534fde in ?? ()
#14 0x00000000004a35ae in PyEval_EvalFrameEx ()
#15 0x00000000004a8550 in PyEval_EvalFrameEx ()
#16 0x00000000004a8550 in PyEval_EvalFrameEx ()
#17 0x00000000004a8550 in PyEval_EvalFrameEx ()
#18 0x00000000004a9671 in PyEval_EvalCodeEx ()
#19 0x0000000000537620 in ?? ()
#20 0x000000000041f0c7 in PyObject_Call ()
#21 0x0000000000427dff in ?? ()
}}}