473,395 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

R6025 mscorwrks.dll!CorExitProcess

Jim
My application is crashing in a weird way. I'm using .NET Forms called from
native code. The form pop-up correctly and run correctly UNTIL I try to close
the form. The close procedure basically is just a cleanup destructor written
in C++
that works fine the first two times it's used. The third time it appears to
work
ok as well but the base application takes an R6025 trap. Debugging this has
been a nightmare. I do single step in the debugger in the forms code and see
no
problems. I've added code to use _set_purecall_handler() in the wrapper
code that creates the .NET Form object but it never gets called unless I
force it.
When I force it, the base application appears to die in a consistent manner.

The stack trace I get when this occurs is:

msvc71d.dll!_NMSG_Write(rterrnum=25)
msvc71d.dll!_amsg_exit(rterrnum=25)
msvc71d.dll!_purecall()
mscorwrks.dll!CorExitProcess()
1b28a04e()

All of the stack looks ok except the CorExitProcess() function which I can not
get any documentation on or for that matter any related crash info on.

I need to know what is going on so I can fix what I'm doing wrong.
I do have virtual functions in the code but I'm pretty sure that they
aren't being called unless some magic in the constructors are causing
it to happen implicitly, there is no explicit calls in the constructors.
All I do is create the form, then click on my cancel button to cause the
problem and I don't understand why it's always the third time close
(Cancel) occurs that is causing it to occur.

Basically, I'm stumped. Please help.
Any documentation about CorExitProcess would also help.

--
-jc
Nov 17 '05 #1
0 1819

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Dario | last post by:
This is a technical C++ post regarding the Microsoft runtime error R6025 Pure Virtual Function Call that sometime occurs in programs compiled with Microsoft Visual C++ 6.0. Please consider the...
0
by: Brian Pelton | last post by:
I have a dotnet application that transfers data from one database to another. It has been running for some time, but out of the blue I get an error. The error says Microsoft Visual C++ Library...
0
by: RameshK | last post by:
Hi All, Laucnhing a VC7.0 custom wizard using DTEClass of ENVDTE namespace. Subscribed to events like OnBeginShutDown,AfterClosing... During manual close of the wizard generated program, getting...
0
by: RameshK | last post by:
Hi All, Laucnhing a VC7.0 custom wizard using DTEClass of ENVDTE namespace. Subscribed to events like OnBeginShutDown,AfterClosing... During manual close of the wizard generated program getting...
3
by: Antti Keskinen | last post by:
Hello ppl ! Since this newsgroup is a place where Microsoft MVPs or related visit somewhat often, could someone give me an advice with possible causes of this error. Note that it does not happen...
0
by: Catherine Tarbox via .NET 247 | last post by:
I am getting a Microsoft Visual C++ Runtime Library error whenrunning an application I built in VB.NET. The error occursinfrequently and at different time during execution. The errortext is: ...
0
by: ajb123 | last post by:
I am encountering an R6025 ("No object has been instantiated to handle the pure virtual function call") error in a complex application. The error is intermittent and it is time consuming to...
2
by: jazzy | last post by:
Hey can some one help with this I get this erroe message every time I try to open up my Windows Live Messenger? R6025 pure virtual function call. Thanks
2
by: aakjaa | last post by:
greetings. . i'm attempting to upload a video to a locally sponsored media website. when I load the url to enter the file location, intermittently (mostly 90% of the time), the referenced error...
0
by: jehugaleahsa | last post by:
Hello: I did some profiling and reduced my code time significantly. However, there are a lot of big numbers coming from the mscorwrks.dll and I want to know some suggestions as to why this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.