Segfault sometime happen in exceptions when I use swig with python c++ and -threads.
I fix this enclosing %typemap(throws,noblock=1) SWIGTYPE with SWIG_PYTHON_THREAD_BEGIN_BLOCK/END_BLOCK in typemaps.swg exception handling.
I don't see any such typemap in Lib/typemaps/typemaps.swg (the only typemaps.swg) or even in Lib/python/typemaps.i.
Perhaps the code has changed, but you don't say what version you were using so I can't check that version to see.
Can you supply a patch (generate it with diff -u or svn diff) showing the proposed change?
If possible, a testcase which demonstrates the problem is very useful too.
Ah, I see you have already supplied a patch in a new ticket:
Closing this as a duplicate.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.