artemp/trac2github — Issue #491: memory error in python2.5 (system) osx binary when running tests
Author: artemp
Created: 2011-10-09 20:37:14+00:00
State: open
Labels: Mac_OS_X_Binaries

I'm seeing this in the binaries built with xcode and not source compiled Mapnik using Scons, so must be something odd in the build process. Only seen on python25...

{{{
python_tests.load_map_test.test_broken_files('../data/broken_maps/point_symbolizer_broken.xml',) ... Exception caught while loading image:/Users/spring/projects/mapnik-dev/seven/tests/data/broken_maps/foo.png
Python(11272) malloc: *** mmap(size=3105107968) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
ERROR
python_tests.load_map_test.test_broken_files('../data/broken_maps/polygon_pattern_symbolizer_broken.xml',) ... ok
python_tests.load_map_test.test_broken_files('../data/broken_maps/shield_symbolizer_broken.xml',) ... Exception caught while loading image:/Users/spring/projects/mapnik-dev/seven/tests/data/broken_maps/data/images/dummy.png
ok
}}}