[vtkusers] Re: example using vtkXMLWriterC.h still core dumps with VTK CVS

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Feb 15 11:42:39 EST 2007


fred wrote:
> Mathieu Malaterre wrote:
>> Still alive ;)
>>
> Glad to hear you :-))
> 
>> Anyway sorry to get back to you so late. I did run your example and I 
>> am sorry to say that, but it working fine for me. See fred.cxx (I 
>> fixed some compilation errors), it produces foo.vtu and I included a 
>> screenshot in paraview.
>>
> Ok. It works fine for me too.
> But that was not the problem !!! :-))
> 
> Can you test it with dim_x = dim_y = dim_z = 2, for example ?
> 
>> You need to tell us :
>> 1. Your compiler
>> 2. You OS
>> 3. Your version of VTK
>>
> Anyway, I can tell you, of course.
> 
> 1. gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> 2. Debian etch i386 and x86_64
> 3. VTK CVS (VTK 5.1)
> 

Fixed. Please try again, after updating your copy of VTK

$ cvs ci -m"BUG: Fix XML C API when writing more than just one cell" 
vtkXMLWriterC.cxx 

/cvsroot/VTK/VTK/IO/vtkXMLWriterC.cxx,v  <--  vtkXMLWriterC.cxx
new revision: 1.4; previous revision: 1.3

-Mathieu



More information about the vtkusers mailing list