Getting KernExec 3 while exiting from application

Login to reply to this topic.
Fri, 2008-07-25 07:21
Joined: 2008-04-11
Forum posts: 27

Hello All,

M trying to exit from application......but when i am removing the views from control stack in AppUi.....after destrying the Views its giving me kern exec 3 while returning ......

Could u guys plz tell me the right way if m worng some whr...

CMPlayerAppUi::~CMPlayerAppUi()
{
        delete iInterface;
        delete iProgressBar;
        delete iSignalIndicator;
        delete iMPlayerLAF;
        delete iMPlayerBatteryIndicator;
       
        RemoveView (iMainViewId);
        RemoveView (iCreatePLViewId);
        RemoveView (iGoToPlaylistViewId);
        RemoveView (iAllSongsViewId);
        RemoveView (iSelectSongsViewId);
        RemoveView (iDisplaySelectedSongsViewId);
        RemoveView (iFavouriteSongsViewId);
        RemoveView (iExtraViewId);
        RemoveView (iSongInfoViewId);
        RemoveView (iPreviewViewId); //Returning from destructor of this view i am getting panic at this statement only}


correct me if m worng


Fri, 2008-07-25 09:46
Joined: 2007-01-17
Forum posts: 99
Re: Getting KernExec 3 while exiting from application

Instead of RemoveView() use DeregisterView(*iSomeView);

Also i guess iPreviewViewId is the view id of last activated view. I think it wont be neccessary to Remove this as it would have already been removed Hence the KERN-EXEC 3 Exception


Shashi Kiran G M

Sat, 2008-07-26 14:17
Joined: 2007-08-29
Forum posts: 293
Re: Getting KernExec 3 while exiting from application

hi,
for Kern-Exec 3 panic you can see this link.
http://www.newlc.com/forum/damn-kern-exec-3-device


Thanks & Regards
Ram

Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++

Mon, 2008-07-28 08:11
Joined: 2006-04-19
Forum posts: 155
Re: Getting KernExec 3 while exiting from application

Hi,

Are you working on S60 or UIQ ?? Is there any specific reason to make your view object as member variable??

Thanks&Regards
Isha


"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".

Wed, 2008-07-30 06:01
Joined: 2008-06-27
Forum posts: 29
Re: Getting KernExec 3 while exiting from application

hi pawan!

This panic is raised when an unhandled exception occurs. Exceptions have many causes, but the most common are access violations caused, for example, by dereferencing NULL. Among other possible causes are: general protection faults, executing an invalid instruction, alignment checks, etc.

so u working on UIQ or S60

  • Login to reply to this topic.