[vtkusers] Program crashes with 5.8.0, but works with 5.6.1

Dženan Zukić dzenanz at gmail.com
Wed Sep 14 09:30:40 EDT 2011


In the meanwhile I realized that ITK has to be linked with the new version
of VTK (because of itkVtkGlue). Now, however, I get different errors.:

UpdateInformationCallbackFunction in
ITK4\Modules\Bridge\VTK\src\itkVTKImageExportBase.cxx crashes, exceptions
about grafting null pointers etc.

2011/9/14 rakesh patil <prakeshofficial at gmail.com>

> Hi,
>
> Yesterday even I compiled vtk 5.8.0 but for 32-bit machine in release mode.
> My application, when built in debug mode works fine. But when built in
> release mode crashes. The same code was working fine with 5.6 as you said.
> Today I've got to check where exactly the problem is coming.
>
> Thanks
>
> 2011/9/13 Dženan Zukić <dzenanz at gmail.com>
>
>>  Hi guys,
>>
>> I am trying to switch to VTK 5.8.0, but my program crashes with it. I also
>> tried using this example<http://www.itk.org/Wiki/ITK/Examples/IO/itkVtkImageConvertDICOM>with 5.8.0, but it also crashes whereas it works normally with 5.6.1.
>>
>> The example crashes on line 72:
>> mat->SetElement(i,k, d(i,k));
>> with "Access violation reading location 0xffffffffffffffff."
>>
>> Am I the only one with such experiences? Has anyone else tried 5.8.0? Is
>> it maybe somehow tied to my environment and other settings?
>>
>> Box: Win7, VS2010, ITK4 (git version), both ITK and VTK compiled
>> statically for x64 target using Qt 4.7.4, nVidia drivers 270.81 on GTX280
>> card.
>>
>> Regards,
>> Dženan
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110914/475b127a/attachment.htm>


More information about the vtkusers mailing list