From: SourceForge.net <no...@so...> - 2012-05-28 06:06:58
|
Bugs item #3530055, was opened at 2012-05-27 02:27 Message generated for change (Comment added) made by wsfulton You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3530055&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: code generation (general) Group: None Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Klaus Kämpf (kkaempf) Assigned to: Nobody/Anonymous (nobody) Summary: swig 2.0.7 segfaults (generating ruby or python code) Initial Comment: Swig 2.0.7 segfaults at #1 0x00000000004f86ee in Swig_scopename_last (s=0x0) at Swig/misc.c:872 872 if (!strstr(c, "::")) with c being NULL ---------------------------------------------------------------------- >Comment By: William Fulton (wsfulton) Date: 2012-05-27 23:06 Message: This is a swig bug - see duplicate 3530055. BTW, swig debugging is a whole lot easier if using the gdb macros in Tools/swig.gdb. This this file for details as well as http://swig.svn.sourceforge.net/viewvc/swig/trunk/Doc/Devel/internals.html#7. ---------------------------------------------------------------------- Comment By: Klaus Kämpf (kkaempf) Date: 2012-05-27 03:32 Message: Hmm, seems to be a gcc 4.7 issue and not related to swig. ---------------------------------------------------------------------- Comment By: Klaus Kämpf (kkaempf) Date: 2012-05-27 02:30 Message: Called from #2 0x00000000004fc8a8 in Swig_name_str (n=0x7f5816b39930) at Swig/naming.c:1667 1667 String *name = Swig_scopename_last(Getattr(n, "name")); but gdb cannot resolve n: (gdb) print n $2 = (Node *) 0x7f5816b39930 (gdb) print *n Attempt to dereference a generic pointer. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3530055&group_id=1645 |