Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception Propagation #6

Open
rundel opened this issue Jul 20, 2011 · 2 comments
Open

Exception Propagation #6

rundel opened this issue Jul 20, 2011 · 2 comments

Comments

@rundel
Copy link
Owner

rundel commented Jul 20, 2011

Seems like some peculiarity to my particular set up but exceptions are failing to propagate from mapnik into the generator. Both catch(std::exception) and catch(...) fail to capture the exceptions resulting in an abort trap.

Seems like someone else had similar issues on osx (http://lists.apple.com/archives/unix-porting/2007/Aug/msg00013.html) but I haven't been able to track down any additional details or solutions.

@springmeyer
Copy link
Contributor

We talked about this may have to do with compiling things with an older clang++ version. Are you still seeing it after upgrading to clang trunk? (or alternatively you could recompile anything previously compiled with clang with g++)

The only two times I've seen this on OSX were with older clang < 3.x and when I had duplicate gcc versions installed (like from macports or something non-apple provided). So are the gcc versions on your machine all apple provided (eg. in /usr/bin or /Developer/usr/bin)?

@rundel
Copy link
Owner Author

rundel commented Jul 20, 2011

Yeah, I've tried everything we've discussed. Updated clang to the newest version of trunk and rebuild mapnik2 as well as trying to build everything with g++ exclusively.

clang++ --version
clang version 3.0 (trunk 135178)
Target: x86_64-apple-darwin10.8.0
Thread model: posix

g++ --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

which g++
/usr/bin/g++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants