[vtkusers] bad permissions for mapped region when creating vtkBoxRepresentation

Arnaud Gelas arnaudgelas at gmail.com
Mon Feb 9 05:50:28 EST 2015


Hi all,

I have just tried running my application with latest version from master, and it crashes when trying to create one vtkBoxRepresentation.

Here is the call stack and the error as it appears with valgrind

==30257== Process terminating with default action of signal 11 (SIGSEGV)
==30257==  Bad permissions for mapped region at address 0xB4E9B74
==30257==    at 0xB3A6A10: vtkIdList::Reset() (vtkIdList.h:88)
==30257==    by 0xB616DA7: vtkDataArrayTemplate<long long>::LookupValue(long long, vtkIdList*) (vtkDataArrayTemplate.txx:1172)
==30257==    by 0xB4E9B6E: vtkDataArrayTemplate<long long>::LookupTypedValue(long long, vtkIdList*) (vtkDataArrayTemplate.h:312)
==30257==    by 0x78B58B0: vtkCellArray::GetNextCell(long long&, long long*&) (vtkCellArray.h:313)
==30257==    by 0xAB22A3E: vtkPolyData::BuildCells() (vtkPolyData.cxx:994)
==30257==    by 0x15DAB18E: vtkBoxRepresentation::vtkBoxRepresentation() (vtkBoxRepresentation.cxx:95)
==30257==    by 0x15DAADFF: vtkBoxRepresentation::New() (vtkBoxRepresentation.cxx:43)
==30257==    by 0x7031554: vtkSmartPointer<vtkBoxRepresentation>::New() (vtkSmartPointer.h:117)
==30257==    by 0x702EC23: sbo::ws::ortho::ui::QVTKResliceWidget3D::QVTKResliceWidget3D(QWidget*) (QVTKResliceWidget3D.cpp:86)
...


The application works fine with VTK 6.1, but it crashes with more recent vtk version…

I have tried running BoxWidget2 wiki example and it works fine...


Any idea on what could be the problem?

---

I have been looking for a release branch where there would be bug fixes since the last release, but it seems that there is not such a thing? I also even wonder the purpose of the present release branch on the git repository?


Thanks in advance,
Arnaud



More information about the vtkusers mailing list