[Qt-interest] really weird Running Problem.....

Malyushytsky, Alex alex at wai.com
Wed Mar 25 06:34:09 CET 2009


Check that your all components of your application: executable and dlls, including VTK and QT are built with the same C runtime libraries.
This includes usage debug and release versions.

Use only one type always.
If you mix them under Windows you get heap corruption.

Regards,
     Alex


________________________________________
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Giancarlo Amati
Sent: Tuesday, March 24, 2009 1:43 PM
Cc: vtkusers at vtk.org; qt-interest at trolltech.com
Subject: [Qt-interest] really weird Running Problem.....

Hello everybody,

sorry guys I'm bothering you with a question which is more on the architecture of Visual studio 2008 I think than more over VTK and/or QT...but I don't really know what is this problem about.
I'm developing a software which uses QT 4.5 as GUI, and VTK 5.2 as visualization library. All under Visual Studio 2008. Now, compilation and linking are fine both in Debug and Release version, when I run in Debug version (haven't tryed in release yet), the program runs normally. I load up a .vtk dataset using vtkPolyDataReader and I got this message from the compiler.  It asks me to "break" or to "continue" giving me the following message. Now, I click twice on Continue and everything is fine....but it keeps warning me up!. Has any of you ever seen this message before? Any help!?
"
This may be due to a corruption of the heap, which indicates a bug in QTVTK_Diorama.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while QTVTK_Diorama.exe has focus.

The output window may have more diagnostic information.
HEAP[QTVTK_Diorama.exe]: Invalid Address specified to RtlFreeHeap( 01110000, 0165C2D0 )
Windows has triggered a breakpoint in QTVTK_Diorama.exe.



Many Thanks
________________________________________
Chiavette USB. addio! Attiva SkyDrive!


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."




More information about the Qt-interest-old mailing list