vtkWrapPython produced a segfault while wrapping
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
vtkWrapPython produced a segfault while wrapping class vtkTriCubicHexahedron (this class is not yet an official component of vtk, it's in the wish list).
Patch:
Index: vtkWrapPython.c
RCS file: /cvsroot/VTK/VTK/Wrapping/vtkWrapPython.c,v retrieving revision 1.84 diff -u -r1.84 vtkWrapPython.c --- vtkWrapPython.c 11 Apr 2007 18:11:10 -0000 1.84 +++ vtkWrapPython.c 27 Dec 2007 13:15:45 -0000 @@ -381,7 +381,8 @@
char *get_format_string() {
- static char result[1024];
- static char result[10240];//Soeren Gebbert 27.12.2007 this field must be enlarged to process the vtkTriCubicHexahedron class
- int currPos = 0; int argtype; int i, j; @@ -501,7 +502,7 @@
void get_python_signature() {
- static char result[1024];
- static char result[10240]; //Soeren Gebbert 27.12.2007 this field must be enlarged to process the vtkTriCubicHexahedron class int currPos = 0; int argtype; int i, j;