×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    38

    KERN EXEC 3 PANIC

    Hi all,
    I am developing a UI Application. I get KERN EXEC 3 Panic after the AppUi calls Exit() method. Why am i getting that panic and how do i find the cause of that panic. Thanks.

  2. #2
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    125

    Re: KERN EXEC 3 PANIC

    Quote Originally Posted by s.baalajee View Post
    Hi all,
    I am developing a UI Application. I get KERN EXEC 3 Panic after the AppUi calls Exit() method. Why am i getting that panic and how do i find the cause of that panic. Thanks.
    Debug your application put break points in the destructor. May be you are trying to delete the objects which are not created or already deleted.


    regards,
    manjusg

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    38

    Re: KERN EXEC 3 PANIC

    Thanks for the reply. But the problem is that the destructors of the AppUi and the View are never called after Exit() is called. I think the panic is raised as soon as the Exit() is called. Any other way to find the cause of the Panic.

  4. #4
    Registered User
    Join Date
    Jan 2009
    Location
    India
    Posts
    143

    Re: KERN EXEC 3 PANIC

    I get KERN EXEC 3 Panic after the AppUi calls Exit() method. Why am i getting that panic and how do i find the cause of that panic.

    Exit() calls Appui's Destructor. put the break point over there and start debugging.
    Regards,
    Gobi

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    38

    Re: KERN EXEC 3 PANIC

    Hi,
    I have two Views in my application. Since the Views are CAknView derived I dont call the View's destructors from AppUi. So my AppUi destructor is empty. I have instance variables (like a pointer to CArrayFixFlat) in the two View's which are dynamically allocated. I delete those instance variables in the View's destructors as follows:

    Code:
    if(iVariable != NULL)
     {
      delete iVariable;
      iVariable = NULL;
     }
    My application needs to be switched from one view to the other when the user clicks appropriate menu. So i have deleted the instance variables in the DoDeactivate() method of the View's using the above code.

    I have set break points in the open set brackets of the AppUi's and the two View's destructor. When debugging I found that the panic is raised after the call to Exit() in AppUi and before any of the destructor is called. I Stepped into Exit() and found that the panic is raised when executing avkon.dll. I cant find any place where i accessing a NULL pointer by mistake (I can say this because i ensure that the pointer is not NULL before calling delete on it both in the View's DoDeactivate() and the Destructors). Thanks.
    Last edited by s.baalajee; 2010-04-08 at 11:03.

  6. #6
    Registered User
    Join Date
    Mar 2010
    Posts
    38

    Re: KERN EXEC 3 PANIC

    Hi,
    Does any one know why i get the Panic after Exit() is called??

Similar Threads

  1. Replies: 3
    Last Post: 2010-04-07, 06:10
  2. kern exec 3 panic
    By ganeshs87 in forum Symbian
    Replies: 7
    Last Post: 2010-03-11, 07:43
  3. Panic - Kern Exec 3
    By ganeshs87 in forum Symbian
    Replies: 9
    Last Post: 2010-03-09, 10:35
  4. getting panic KERN - EXEC 3
    By rohitnegi in forum Symbian User Interface
    Replies: 2
    Last Post: 2010-02-22, 11:01
  5. Replies: 2
    Last Post: 2007-07-19, 01:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×