qt-interest@trolltech.com
[Top] [All Lists]

Re: Debug Assertio Failed

Subject: Re: Debug Assertio Failed
From: Peter-Josef Meisch
Date: Wed, 12 Jan 2005 17:53:58 +0100
Venkata Kalluru wrote:

> Hi,
>  
> I'm getting the following error when I'm trying to execute the Qt
> application.
>  
>  Debug Assertion Failed!
>  Program : C:\case\source\Debug\source.exe
>  File: dbgheap.c
>  Line: 1011
>  Expression: _CrtIsValidHeapPointer(pUserData)

You are probably linking against the debug and the release versions of
msvcrt. More specific, you link against the debug version and some lib
you use is linked against the release version and you are
deleting/freeing some object/pointer with the debug version of
delete/free that was allocated with the release version of
new/[m]alloc.

P.J.

-- 
Peter-Josef Meisch

--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>