I am very stumped here.
I wrote an custom driver for mapnik to read a proprietary data format.
I defined rules and have everything running fine. If I build mapnik
with debug:
python scons/scons.py DEBUG=True
python scons/scons.py DEBUG=True install
If I build without debug (removing src/*os agg/src/*o before rebuilding)
python scons/scons.py DEBUG=False
python scons/scons.py DEBUG=False install
I crash when I define my rules. Specifically, I crash the first time I
try to add a filter:
currentRule->set_filter(mapnik::create_filter(filterText.c_str()));
If I change my styles so rules are created without filters, it process
the the styles until the first filter, then a crash.
It is crashing in include/mapnik/filter_factory.hpp on line 57:
return filters.top();
and gdb tells me it is crashing in a boost function (this is mapnik
0.5.1 on Fedora 8).
So I commented out everything in the MAPNIK_DEBUG blocks thinking that
would cause the crash and I could track down what in the block is
preventing the crash. No luck. I run fine with DEBUG=True and crash
with DEBUG=False.
I know nothing about SCons, so I don't know what else DEBUG=True is
doing. There must be something I am missing. Configure boost
differently maybe?
My application does real time rendering (versus tile generation) so
every thing I can remove increase speed is important (not to mention the
extra logging that is occurring).
Any help or ideas would be greatly appreciated. I have been looking at
this for a couple of days now and don't know what else to look at.
- Brian
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users