[vtkusers] vtk application ends with error

REGAT-BARREL Aurélien arbvtk at yahoo.fr
Wed Aug 25 11:20:10 EDT 2004


Hi,
vtk classes don't call exit, it is the C++ runtime lib linked in the VTK dlls which does it in response of the Access violation reading. It is certainly due to incorrect use of some VTK classes, in particular vtk arrays.
You should compile VTK in debug mode, and run your app from the debugger. It will directly go to the line of VTK code which crashes.
 

Petru Pau <ppau at risc.uni-linz.ac.at> wrote:
After succesfully computing all it has to compute, when it's time for it
to end, my application (which uses vtk heavily) issues a message:
"Unhandled exception at 0x.... in streamlines.exe: 0XC000...05.
Access violation reading location 0X00..0018."

I am posting this problem here because it seems that some vtk classes are
involved, as you can see from the call stack, in the second attached image.

My application (streamlines.exe) is a windows application, debug version,
built with runtime libraries "multithreaded debug dll".

I would be very grateful for any help, hint or advice.

Petru


> ATTACHMENT part 2 image/jpeg name=stak_err.jpg
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: 
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers


Aurélien REGAT-BARREL 
My VTK blog : http://aurelien_regat-barrel.blogspot.com


		
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040825/d36f0e73/attachment.htm>


More information about the vtkusers mailing list