KERN-EXEC 0 when closing application

Login to reply to this topic.
Wed, 2005-07-13 14:05
Joined: 2005-07-13
Forum posts: 23
I have created a simple database application. I have splitted the application to GUI and Engine. Everything is working fine. But problem is that when I close the application it crashes with error KERN-EXEC 0.

I create engine in CMyAppDocument class and pass pointer to CMyAppAppUI and CMyAppContainer. Application crashes when I delete Engine in destructor of CMyAppDocument class.

Code:
CMyAppDocument::~CMyAppDocument()
{
if( iEngine )
{
delete iEngine;    // Crashes here!!
iEngine = NULL;
}
}

What could be the reason?

Thu, 2005-07-14 05:06
Joined: 2005-06-01
Forum posts: 76
Re: KERN-EXEC 0 when closing application
I think you are not calling Close() for some R object in your Engine. Please make sure you are "Closeing"  everything that you are "Opening" or "Connecting".
Also try to debug in your destructor of Engine.

All the Best.

..
KiraN Puranik
Thu, 2005-07-14 15:43
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 723
Re: KERN-EXEC 0 when closing application
It would be good if you shared the code of your engine destructor.

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

  • Login to reply to this topic.