Hello Martin,

I tried your example using Qt5 x64 in MS VS 2012. It compiles and works nicely, 
but when the application is closed I get an Debug Assertion error (see attached 
Pic) in dbgdel.cpp, Line 51 
Expression: _BLOCK_TYPE_IS_VALID( pHead->nBlockUse ) 

This is the Call Stack when the error is thrown:


> 
>       ntdll.dll!000000007793f0b1()    Unknown
>       ntdll.dll!0000000077929351()    Unknown
>       ntdll.dll!00000000778afae1()    Unknown
>       KernelBase.dll!000007fefda53aca()       Unknown
> >     msvcr110d.dll!_CrtIsValidHeapPointer(const void * pUserData) Line 2036  
> > C++
>       msvcr110d.dll!_free_dbg_nolock(void * pUserData, int nBlockUse) Line 
> 1322       C++
>       msvcr110d.dll!_free_dbg(void * pUserData, int nBlockUse) Line 1265      
> C++
>       msvcr110d.dll!operator delete(void * pUserData) Line 54 C++
>       qtOSGdefault.exe!Window::`scalar deleting destructor'(unsigned int)     
> C++
>       Qt5Cored.dll!000000005729ff96() Unknown
>       Qt5Cored.dll!000000005729a165() Unknown
>       Qt5Guid.dll!000007fee829fe5b()  Unknown
>       Qt5Widgetsd.dll!000000005651ad66()      Unknown
>       Qt5Widgetsd.dll!000000005651aed7()      Unknown
>       Qt5Widgetsd.dll!0000000056513151()      Unknown
>       Qt5Widgetsd.dll!00000000565128fb()      Unknown
>       Qt5Widgetsd.dll!00000000564c06a6()      Unknown
>       qtOSGdefault.exe!WindowHolderWidget::~WindowHolderWidget() Line 15      
> C++
>       qtOSGdefault.exe!WindowHolderWidget::`scalar deleting 
> destructor'(unsigned int) C++
>       Qt5Cored.dll!000000005729ff96() Unknown
>       Qt5Widgetsd.dll!00000000564c067d()      Unknown
>       qtOSGdefault.exe!main(int argc, char * * argv) Line 49  C++
>       qtOSGdefault.exe!WinMain(HINSTANCE__ * instance, HINSTANCE__ * 
> prevInstance, char * __formal, int cmdShow) Line 131     C++
>       qtOSGdefault.exe!__tmainCRTStartup() Line 528   C
>       qtOSGdefault.exe!WinMainCRTStartup() Line 377   C
>       kernel32.dll!000000007768652d() Unknown
>       ntdll.dll!00000000778bc521()    Unknown
> 


I somehow don't get the error. Any ideas?


Thank you!

Cheers,
Jonathan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55858#55858




Attachments: 
http://forum.openscenegraph.org//files/assertion_147.png


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to