I am not explicitely allocating any memory for the structures. Swig is generating a wrapper code which in turn allocates memory for my structures. And the code generated by swig is resulting in a segfault(At the position #2 of the stack trace in the file generated by the swig as shown in #3 of the stack trace)
Last edited by Kumar; 02-16-2004 at 10:52 PM.
|