Assertion failed

A

Amiru

I wrote an ATL windows service that combines a c++ unmanaged code and a Com
visible dll file created in c# both complied in a debug mode.
and another c++ unmanaged dll file compiled in unicode debug (OS - windows
2003).
and for unknow reason after x period of time I recieve a Debug Assertion Popup
saying

Assertion Failed!

Program: C:program FilesT-MailerEntTelSvc_NMS.exe

File: dbgdel.cpp

Line: 52

Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)

For information on how your program can cause an assertion

failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application

What could be the reason?
 
N

Nicholas Paldino [.NET/C# MVP]

Amiru,

Doing a search for this on google seems to indicate that you are
deleting a pointer to something too many times, or not releasing (or
releasing too many times).

Is the COM code your code, or not your code?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Debug Assertion Failed 3
Debug Assertion Failed 1
microsoft visual C++ Debug Library 2
Windows XP Assertion failed 3
Debug Assertion Failed! 0
debug assertion failed 1
Debug assertion failed 2
Debug Assertion Failed dbgdel.cpp error 2

Top