It seems boost::python and boost::thread don't really like each other for what I can tell.
Please refer to http://pastebin.com/Cy123mJK
This is a simplification of the problems I am having with my boost::python and boost::thread-based application.
If anyone can tell me why these problems are occurring; I have no clue, since I strictly make sure python interaction is done with one thread at once.
At some point, the program crashes with a segfault for no obvious reason. Also, it's impossible to catch this crash it seems...
Help much appreciated!