[vtkusers] inexplicable behavior in release builds
Steven Chall
stevec at renci.org
Wed Nov 16 13:16:38 EST 2011
Hong Yi recently reported problems in release build that didn't appear in debug. She appears to have successfully resolved her specific issues - they seem to have been caused by using VTK 5.6 built using Visual Studio 2008 in an application built with Visual Studio 2010. However, I also had something that appeared only in release build as well, and I'm working with everything - VTK 5.8.0, Qt 4.7.1, and my C++ app calling on those libraries - all built in VS 2010, so that's not the problem for me. I should say that I'm not currently having this problem anymore, and I don't know how to reproduce it, especially since the class in which it occurred was fairly complex at this point, so even when it was happening I wasn't able to isolate it in a test case of manageable size. I guess I'm bringing it up in order to get everyone's (anyone's) ideas about why it should occur only in release but not debug.
What I have is a class that inherits from QDialog with a number (6) of QvtkWidgets, each of which has an associated vtkRenderWindow and all the usual appurtenances. In only one (and always the same one) of those 6, for some builds and only some of the time (usually at the window's first appearance), none of a set of vtkPolyData structures would show up. Just to complicate matters, the vtkPolyData objects actually are members of another class that belongs to the QDialog descendent, so I'm not going to even try to submit a code snippet. But more generally, why might this occur in a release build only, and then only sporadically?
-Steve Chall
Senior Research Software Developer
Renaissance Computing Institute (RENCI)
Phone: 919-681-9639
Email: stevec at renci.org<mailto:stevec at renci.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111116/9ed4f480/attachment.htm>
More information about the vtkusers
mailing list