×

Discussion Board

Page 1 of 4 1234 LastLast
Results 1 to 15 of 52
  1. #1
    Regular Contributor
    Join Date
    May 2010
    Posts
    362

    Cool How to avoid Panic KERN-EXEC 3 and why this panic occurs

    Since it was found out in another topic that this actually is "KERN-EXEC 3" issue, it is very unlikely it is a UID problem.
    What is more likely is that the application is crashing due to bug in it's code.

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,538

    Re: The application does not launch, error message "System error" is displayed.

    Quote Originally Posted by teemup View Post
    Since it was found out in another topic that this actually is "KERN-EXEC 3" issue, it is very unlikely it is a UID problem.
    What is more likely is that the application is crashing due to bug in it's code.
    There seems to be a little confusion. The original poster has been having similar issues over the year and half of development, and each time he opens new threads instead of referring to older threads. What happened in this thread was due to UID progably which he hasnt confirmed since, but what happens to his thread http://www.developer.nokia.com/Commu...ens#post883904 that he made fresh is something totally different...just guessing

  3. #3
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,222

    Re: The application does not launch, error message "System error" is displayed.

    Sorry for not following the exact reason behind the panic error .

    The present problem is After Installing the app , when clicked on the app icon nothing happens

    In .hrh I gave as#define _UID3 0x2004aa20

    In Application.h I gave as const TUid KUidPLACEADSApp =
    {
    0x2004aa20
    };


    In _reg.rsss I gave as
    UID2 KUidAppRegistrationResourceFile
    UID3 0x2004aa20


    I have all the cerificate key pair, sis file given by nokia and instaled in the device too.

  4. #4
    Regular Contributor
    Join Date
    May 2010
    Posts
    362

    Re: The application does not launch, error message "System error" is displayed.

    Didn't you tell in the other thread that the error was KERN-EXEC -3?

  5. #5
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,222

    Re: The application does not launch, error message "System error" is displayed.

    Yes teeemup but what should I do to solve that problem and remove that error

  6. #6
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,019

    Re: The application does not launch, error message "System error" is displayed.

    KERN-EXEC -3 can be debugged on emulator as well. Simply put debug points in ConstructL() of AppUi till its end & see where it crashes.

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,173

    Re: The application does not launch, error message "System error" is displayed.

    Quote Originally Posted by GTO_India View Post
    Yes teeemup but what should I do to solve that problem and remove that error
    Still it is recommended and expected from you that you trace the code until you find the line which is generating Kern exec 3.

    EDIT: Page was not refreshed.. so kind of duplicate reply. Sorry for that.

  8. #8
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,222

    Re: The application does not launch, error message "System error" is displayed.

    what should I do to remove KERN-EXEC -3? error

  9. #9
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,019

    Re: The application does not launch, error message "System error" is displayed.

    Quote Originally Posted by vineet.jain View Post
    KERN-EXEC -3 can be debugged on emulator as well. Simply put debug points in ConstructL() of AppUi till its end & see where it crashes.
    What else you want me to write

  10. #10
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,222

    Re: The application does not launch, error message "System error" is displayed.

    How to put debug points in ConstructL()


    I defined like this :

    void CPLACEADSAppUi::ConstructL()
    {
    // Initialise app UI with standard value.
    BaseConstructL(CAknAppUi::EAknEnableSkin);

    // Create view object
    iAppView = CPLACEADSAppView::NewL(ClientRect());

    // Create a file to write the text to
    TInt err = CCoeEnv::Static()->FsSession().MkDirAll(KFileName);
    if ((KErrNone != err) && (KErrAlreadyExists != err))
    {
    return;
    }

    RFile file;
    err = file.Replace(CCoeEnv::Static()->FsSession(), KFileName, EFileWrite);
    CleanupClosePushL(file);
    if (KErrNone != err)
    {
    CleanupStack::PopAndDestroy(1); // file
    return;
    }

    RFileWriteStream outputFileStream(file);
    CleanupClosePushL(outputFileStream);
    outputFileStream << KText;

    CleanupStack::PopAndDestroy(2); // outputFileStream, file

  11. #11
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,019

    Re: The application does not launch, error message "System error" is displayed.

    In your IDE which is carbide, simply click on left hand side of it where the code line number is written, on clicking a red/blue dot will appear which signifies a debug point. Hit the debug button from your IDE() & your application will then be started in debug mode(remember its emulator debug not device debug). Now your application points you to the various debug points(line by line) which you have set in the project.You start debug by pressing F6 from keyboard & keep pressing it for line by line jump of code, this way you can come to know that exactly on which line the code is crashing.

  12. #12
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,538

    Re: The application does not launch, error message "System error" is displayed.

    probably checking Carbide.c++ help to see how to debug in emulator/device would help you. There may be guidelines in wiki too which could be searched.

  13. #13
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,222

    Cool How to avoid Panic KERN-EXEC 3 and why this panic occurs

    How to avoid Panic KERN-EXEC 3 and why this panic occurs. How can I know where has the problem occured in the code?


    when clciked on the application icon application is not starting what may be the valid reasons for such error?

  14. #14
    Registered User
    Join Date
    Nov 2010
    Posts
    59

    Re: How to avoid Panic KERN-EXEC 3 and why this panic occurs

    Check out the KERN-EXEC panic docs here.

    KERN-EXEC 3
    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.

  15. #15
    Registered User
    Join Date
    Nov 2010
    Posts
    59

    Re: How to avoid Panic KERN-EXEC 3 and why this panic occurs

    KERN-EXEC 3

    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.

Similar Threads

  1. Panic KERN-EXEC 3
    By dev_Cis in forum Symbian
    Replies: 15
    Last Post: 2011-11-16, 06:41
  2. getting panic KERN - EXEC 3
    By rohitnegi in forum Symbian User Interface
    Replies: 2
    Last Post: 2010-02-22, 11:01
  3. Help with KERN-EXEC 3 panic
    By rsiudak in forum Symbian
    Replies: 1
    Last Post: 2009-11-11, 16:05
  4. Panic KERN-EXEC 3
    By Rajmittal in forum Bluetooth Technology
    Replies: 2
    Last Post: 2008-07-28, 13:12
  5. kern-exec 3 panic?
    By samweb in forum Symbian
    Replies: 1
    Last Post: 2005-01-20, 09:04

Posting Permissions

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