Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
segfault in shape.input in release mode only #1401
I can trigger segfaults in mapnik 2.1-stable (commit 2375fcd ), but annoyingly only in release mode. Building with ./configure DEBUG=True and testing in the same place doesn't trigger the segfault.
I doubt these lines from kern.log are of much use, but here goes:
I'm afraid the data and stylesheets aren't available to share. Is there anything else that I could do to help debug?
I'm using renderd, on ubuntu 12.04 with boost 1.48 , and recompiling renderd after each mapnik recompile.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I'd guess it is some geometry which is being parsed wrong, or is corrupt.
First thing I would try would be to isolate the shapefile causing the crash and then make a copy of it with
If that does not fix it, then next thing is we need to get a gdb backtrace.