×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jan 2010
    Posts
    82

    getting panic KERN - EXEC 3

    below code giving panic KERN - EXEC 3 . what could be the reason? I am trying to insert the values of array in the listbox in InitializeControlsL() method. but when it comes back to below function it gives panic KERN - EXEC 3 at SetRect( aRect ) line.

    void CSymbianContainer3::ConstructL(
    const TRect& aRect,
    const CCoeControl* aParent,
    MEikCommandObserver* aCommandObserver )
    {
    if ( aParent == NULL )
    {
    CreateWindowL();
    }
    else
    {
    SetContainerWindowL( *aParent );
    }
    iFocusControl = NULL;
    iCommandObserver = aCommandObserver;
    InitializeControlsL();
    SetRect( aRect ); //this line giving Panic KERN - EXEC 3
    ActivateL();
    }

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: getting panic KERN - EXEC 3

    Can it happen that it crashes in the InitializeControlsL() and you believe the culprit is SetRect()?

    Show your InitializeControlsL() and also try debugging your code again, line by line.
    Nokia Developer Wiki Moderation team

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Location
    India
    Posts
    136

    Re: getting panic KERN - EXEC 3

    Check CountComponentControl and ComponenetControl in your application.


    Quote Originally Posted by rohitnegi View Post
    below code giving panic KERN - EXEC 3 . what could be the reason? I am trying to insert the values of array in the listbox in InitializeControlsL() method. but when it comes back to below function it gives panic KERN - EXEC 3 at SetRect( aRect ) line.

    void CSymbianContainer3::ConstructL(
    const TRect& aRect,
    const CCoeControl* aParent,
    MEikCommandObserver* aCommandObserver )
    {
    if ( aParent == NULL )
    {
    CreateWindowL();
    }
    else
    {
    SetContainerWindowL( *aParent );
    }
    iFocusControl = NULL;
    iCommandObserver = aCommandObserver;
    InitializeControlsL();
    SetRect( aRect ); //this line giving Panic KERN - EXEC 3
    ActivateL();
    }

Similar Threads

  1. KERN EXEC 3 Panic when try to call .pyd
    By SymbianTH in forum Symbian
    Replies: 9
    Last Post: 2009-07-09, 09:11
  2. EXit() returns Kern Exec 3 panic
    By jey_ in forum Symbian
    Replies: 5
    Last Post: 2009-03-03, 14:17
  3. panic kern exec 3 error need help
    By urban37 in forum Symbian User Interface
    Replies: 13
    Last Post: 2008-12-17, 08:24
  4. Replies: 4
    Last Post: 2008-03-05, 09:30
  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
  •  
×