From: William S F. <ws...@fu...> - 2010-04-22 05:57:54
|
Arto Vuori wrote: >> Is this the same issue: >> https://sourceforge.net/tracker/index.php?func=detail&aid=2818499&group_id=1645&atid=301645 > > > It might be. Symptomps are same (segfault) when using threads and > exceptions. I have not tried his typemap workaround, as the code with > -threads enabled is obviously wrong. > >> >> >> If so, Kris or Arto, can you provide the missing testcase, then we can >> commit the fix? We'd be looking for a simple interface file and >> associated python script which demonstrates the problem. >> >> William > > Issue can be easily demonstrated with existing Examples/python/exception > test case - you just need to enable -threads option to swig. As an > attachment is updated version of the patch with modified exception test > case included that would segfault without rest of the the patch. > Thanks for the testcase Arto. I've used this as a regression test - Examples/test-suite/threads_exception.i and committed the fix earlier this month based on your patch. William |