×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    22

    Application crashed on E61 & E71

    Hello,

    i have created application for 3rd & 5th edition devices, which draws the shapes in container where arrow keys are used for navigation from one shape to other, it works fine for all devices but on E61 & E71 after pressed any directional key application closed without giving any error msg...

    thanks in advance.

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

    Re: Application crashed on E61 & E71

    Nokia Developer Wiki Moderation team

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    22

    Re: Application crashed on E61 & E71

    thanks kiran,

    but using this i can't fix my problem, i want my application runs without any problem on E61 & E71 also..

    On E71 it show error Kern-Exec 3

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

    Re: Application crashed on E61 & E71

    extended panic codes ofcourse doesn't solves your problem but they show you the problem if any , which may arise in your code.So are you getting any panic code?

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Application crashed on E61 & E71

    Actually that link will help you in finding out actual Panic code on device. You may also want to try On device debugging and see where does your application panics. http://wiki.forum.nokia.com/index.ph..._-_screencasts
    Nokia Developer Wiki Moderation team

  6. #6
    Registered User
    Join Date
    Sep 2009
    Posts
    22

    Re: Application crashed on E61 & E71

    Panic code is Kern-Exec 3

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Application crashed on E61 & E71

    Quote Originally Posted by kalpesh.dev View Post
    Panic code is Kern-Exec 3
    On device debugging will help. See my previous reply.
    Nokia Developer Wiki Moderation team

  8. #8
    Registered User
    Join Date
    Sep 2009
    Posts
    22

    Re: Application crashed on E61 & E71

    actually i don't have device, i m testing it on Remote Device(RDA)

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Application crashed on E61 & E71

    Quote Originally Posted by kalpesh.dev View Post
    actually i don't have device, i m testing it on Remote Device(RDA)
    Interesting case!

    Are you implementing HandlePointerEventL in the S60 3rd edition code also? If so then it may create problem since S60 3rd edition phones do not have Touch interface and thus should not have HandlePointerEventL implementation.
    Nokia Developer Wiki Moderation team

  10. #10
    Registered User
    Join Date
    Sep 2009
    Posts
    22

    Re: Application crashed on E61 & E71

    Quote Originally Posted by kiran10182 View Post
    Interesting case!

    Are you implementing HandlePointerEventL in the S60 3rd edition code also? If so then it may create problem since S60 3rd edition phones do not have Touch interface and thus should not have HandlePointerEventL implementation.
    as i told my application is for 3rd as well as 5th edition devices, i have implemented HandlePointerEventL method and if this method gives problem then why only for E61 & E71?

    and more thing For 3rd edition devices HandlePointerEventL method is not called..
    (i have logged in all methods in Container as well as View class)

  11. #11
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Application crashed on E61 & E71

    Then try to get E61 or E71 and perform On device debugging otherwise it is hard to suggest any solution.
    Nokia Developer Wiki Moderation team

  12. #12
    Registered User
    Join Date
    Sep 2009
    Posts
    22

    Re: Application crashed on E61 & E71

    Quote Originally Posted by kiran10182 View Post
    Then try to get E61 or E71 and perform On device debugging otherwise it is hard to suggest any solution.
    Thanks Kiran for your valuable response...

  13. #13
    Registered User
    Join Date
    Sep 2009
    Posts
    22

    Re: Application crashed on E61 & E71

    Finally i got the problem...

    when i press any key then i m changing the label of Status pane which gives error.
    this is my codem whats wrong with this??

    CEikStatusPane * sp = iEikonEnv->AppUiFactory()->StatusPane();

    //iNaviPane, iNaviDecorator - member variables of class

    iNaviPane = ( CAknNavigationControlContainer * ) sp->ControlL( TUid::Uid( EEikStatusPaneUidNavi ) );


    if ( iNaviDecorator != NULL )
    {
    iNaviPane->Pop( iNaviDecorator);
    delete iNaviDecorator;
    iNaviDecorator = NULL;
    }


    CAknNavigationDecorator* iNaviDecoratorTemp;
    iNaviDecoratorTemp = iNaviPane->CreateNavigationLabelL( string );
    delete iNaviDecorator;
    iNaviDecorator = NULL;
    iNaviDecorator = iNaviDecoratorTemp;
    string.Zero();
    iNaviPane->PushL( * iNaviDecorator );

  14. #14
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Application crashed on E61 & E71

    Guard your objects before accessing them. For ex:

    Code:
    if(iNaviPane)
    {
    ...
    ...
    iNaviDecoratorTemp = iNaviPane->CreateNavigationLabelL( string );
    }
    Following is from SDK help:
    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.
    Nokia Developer Wiki Moderation team

  15. #15
    Registered User
    Join Date
    Sep 2009
    Posts
    22

    Re: Application crashed on E61 & E71

    Quote Originally Posted by kiran10182 View Post
    Guard your objects before accessing them. For ex:

    Code:
    if(iNaviPane)
    {
    ...
    ...
    iNaviDecoratorTemp = iNaviPane->CreateNavigationLabelL( string );
    }
    Following is from SDK help:
    Thanks Kiran,

    i have resolved my problem..

    CAknNavigationControlContainer* naviPane = (CAknNavigationControlContainer*) iEikonEnv->AppUiFactory()->StatusPane()->ControlL(TUid::Uid(EEikStatusPaneUidNavi));
    naviPane->Pop();

    CAknNavigationDecorator* deco = naviPane->CreateNavigationLabelL(string);
    naviPane->PushL(*deco);

Similar Threads

  1. iPhone Blogger Blog Creation Application
    By semaphore10 in forum News and Announcements
    Replies: 4
    Last Post: 2009-10-06, 08:49
  2. [moved] How do I install a sample application on my E71?
    By oshokry in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 11
    Last Post: 2009-09-29, 12:21
  3. E71: Application installed in phone or card memory?
    By hezjing in forum General Development Questions
    Replies: 7
    Last Post: 2009-03-06, 11:26
  4. E61 & E71 - differences in CMdaAudioInputStream?
    By arijr in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2009-01-07, 23:05
  5. Console application not running on Nokia 6210 Navigator and Nokia E61
    By rohanwaugh in forum Symbian User Interface
    Replies: 22
    Last Post: 2008-09-13, 10:31

Posting Permissions

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