From: SourceForge.net <no...@so...> - 2009-07-30 03:02:55
|
Bugs item #2642564, was opened at 2009-02-26 17:43 Message generated for change (Comment added) made by olly You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=2642564&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: python Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Solal Jacob (vertrex) Assigned to: Nobody/Anonymous (nobody) Summary: Thread and exception segfault Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Olly Betts (olly) Date: 2009-07-30 04:02 Message: Ah, I see you have already supplied a patch in a new ticket: https://sourceforge.net/tracker/?func=detail&aid=2818499&group_id=1645&atid=301645 Closing this as a duplicate. ---------------------------------------------------------------------- Comment By: Olly Betts (olly) Date: 2009-07-30 03:24 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=2642564&group_id=1645 |