From: SourceForge.net <no...@so...> - 2007-03-09 18:47:08
|
Bugs item #1677498, was opened at 2007-03-09 19:05 Message generated for change (Comment added) made by argus225 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1677498&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: perl Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Argus (argus225) Assigned to: Nobody/Anonymous (nobody) Summary: never ending loop (regression?) Initial Comment: Hello, I have a C++ code which loads a Perl code which is using some C++ code wrapped with SWIG. For each perl module I create a PerlInterpreter using perl_alloc. When two PerlInterpreter are loading the same .so swig created library, the second falls in never ending loop. The problem arrives in SWIG_TypeClientData, because the line if (ti->clientdata == clientdata) return; was commented. If the line is not commented the code works correctly. Regards ---------------------------------------------------------------------- >Comment By: Argus (argus225) Date: 2007-03-09 19:47 Message: Logged In: YES user_id=1159384 Originator: YES I forgot to mention that the same code just worked in version 1.3.21 The file I have changed to fix this problem is: swigrun.swg line 369 /* if (ti->clientdata == clientdata) return; */ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1677498&group_id=1645 |