View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0006204 | VTK | (No Category) | public | 2007-12-27 08:29 | 2012-12-12 11:56 | ||||
Reporter | Sören Gebbert | ||||||||
Assigned To | David Gobbi | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Intel 32Bit | OS | SuSE Linux | OS Version | 9.2 | ||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006204: vtkWrapPython produced a segfault while wrapping | ||||||||
Description | 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; | ||||||||
Steps To Reproduce | In the build directory VTK_build_shared: valgrind --tool=memcheck bin/vtkWrapPython /1/gebbert/VTK/Filtering/vtkTriCubicHexahedron.h /1/gebbert/VTK/Wrapping/hints 1 /1/gebbert/VTK_build_shared/Filtering/vtkTriCubicHexahedronPython.cxx | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | vtkWrapPython.patch [^] (809 bytes) 2007-12-27 08:31 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0029873) David Gobbi (developer) 2012-12-12 11:56 |
The format string array size has been doubled from 1024 to 2048. Eventually all static string storage in vtkWrapPython should be replaced by dynamic string storage. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2007-12-27 08:29 | Sören Gebbert | New Issue | |
2007-12-27 08:31 | Sören Gebbert | File Added: vtkWrapPython.patch | |
2008-08-29 16:31 | David Cole | Status | backlog => tabled |
2008-08-29 16:31 | David Cole | Assigned To | => David Cole |
2011-01-19 09:45 | David Cole | Assigned To | David Cole => David Partyka |
2011-02-16 15:47 | David Gobbi | Assigned To | David Partyka => David Gobbi |
2011-02-26 09:42 | David Gobbi | Status | tabled => @80@ |
2011-02-26 09:42 | David Gobbi | Resolution | open => fixed |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2012-12-12 11:56 | David Gobbi | Note Added: 0029873 | |
2012-12-12 11:56 | David Gobbi | Status | customer review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |