Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

I am using
OS : windows7 (32bit).
application : xtend IVR System

Initialy it runs fine, but after some time I am facing the following problems
1)exception thrown in destructor
(f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\filecore.cpp:111)
2) due to that It popup multiple messages having content
"Runtime Error"
"Program : D:\xivr\Plugins\http.exe"
"abnormal program termination"


can someone tell me how to resolved this issue ASAP possible?


Thanks in advance.
Posted
Updated 23-May-15 2:21am
v2
Comments
OriginalGriff 23-May-15 7:45am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
So how are we supposed to even begin to guess what you are doing that causes that?
That's like randomly dialing a number, saying "my car broke", ending the call, and expecting whoever happened to answer to organise the repair immediately.

Use the "Improve question" widget to edit your question and provide better information.
Ankur Ramanuj 23-May-15 8:22am    
I have update the question with more details

1 solution

Run your application in the debugger and find out what is throwing the exception. Fix it.

That might not look very helpful, but with the limited amount of information you supplied I would say it's the quickest way.

Edit: since it doesn't crash in the debugger, I suggest making the executable create a crash dump. You can load that into the debugger and it should help you find the fault the next time it happens.

Here are a couple of functions that should help you with that:
SetErrorMode[^]
SetUnhandledExceptionFilter[^]
MiniDumpWriteDump[^]
 
Share this answer
 
v2
Comments
Ankur Ramanuj 23-May-15 8:24am    
Thanks for your reply,
I did that but could not get any error during debugging.
I have updated the question with more details.
Can you please guide me?
Frankie-C 24-May-15 5:42am    
When no bug appears in debugging session in 99% of cases the problem is an uninitialized pointer or variable (under debug the bss section of executables is initialized to 0 by OS).
I suggest you to have a better look on pointers and variables (i.e. if you check a pointer to be null to reinitialize it, and you have never initialized it to null on first run, the code will work well under debug, but will crash under normal execution with memory exception).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900