[vtk-developers] Looking at failures of vtkFiltersHybridPython-largeImageOffset

Kevin H. Hobbs hobbsk at ohio.edu
Wed Aug 7 16:55:23 EDT 2013


On 08/07/2013 03:54 PM, Kevin H. Hobbs wrote:
> On 08/07/2013 02:01 PM, burlen wrote:
>> 3ds importer errors. 
> 
> It looks like all tests and examples that use the vtk3DSImporter on the
> _one_ 3ds file that we have, have the same errors...
> 
> 

All it takes to get the 3ds error is this tiny C++ file:

#include "vtk3DSImporter.h"

int main ( int argc, char ** argv )
{

  char file_name[] =
"/home/kevin/kitware/ExternalData/MD5/e619e8b713ba78500d4a84c6987da911";

  vtk3DSImporter * importer = vtk3DSImporter::New();
  importer->SetFileName( file_name );
  importer->Read();

  return 0;
}

I compiled the program and ran it in gdb after I set a breakpoint at
vtk3DSImporter.cxx:1079 where we print the warning.

The backtrace from there is :

#0  read_word (importer=0x628d20) at
/home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:1079
#1  0x00007fffe43ec2b3 in start_chunk (importer=0x628d20,
chunk=0x7fffffffd700)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:1046
#2  0x00007fffe43eb7bd in parse_face_array (importer=0x628d20,
mesh=0x67c660, mainchunk=0x7fffffffd750)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:780
#3  0x00007fffe43eb555 in parse_n_tri_object (importer=0x628d20,
mainchunk=0x7fffffffd790)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:733
#4  0x00007fffe43eb435 in parse_named_object (importer=0x628d20,
mainchunk=0x7fffffffd7e0)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:692
#5  0x00007fffe43eaed1 in parse_mdata (importer=0x628d20,
mainchunk=0x7fffffffd810)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:543
#6  0x00007fffe43eadb5 in parse_3ds (importer=0x628d20,
mainchunk=0x7fffffffd870)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:511
#7  0x00007fffe43eac68 in parse_3ds_file (importer=0x628d20)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:487
#8  0x00007fffe43e93b5 in vtk3DSImporter::Read3DS (this=0x628d20)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:143
#9  0x00007fffe43e91e8 in vtk3DSImporter::ImportBegin (this=0x628d20)
    at /home/kevin/kitware/VTK/IO/Import/vtk3DSImporter.cxx:126
#10 0x00007fffe43ee5f9 in vtkImporter::Read (this=0x628d20)
    at /home/kevin/kitware/VTK/IO/Import/vtkImporter.cxx:79
#11 0x000000000040203d in main (argc=1, argv=0x7fffffffdb08) at
/tmp/test3ds/test3ds.cpp:10



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 255 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130807/c3eb2512/attachment.sig>


More information about the vtk-developers mailing list