×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    69

    CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    I seem to be getting error even after instantiating the class. Any solutions I should be looking into?

    The construct L looks like this

    Code:
    ConstructL(CPbkContactEngine* aContactEngine)
    	{
    	
    	iPbkContactEngine = aContactEngine;
    	
    	params.iContactView = &iPbkContactEngine->AllContactsView();	
    	
    	fetcher = CPbkMultipleEntryFetchDlg::NewL(params, *iPbkContactEngine);
    	fetcher->SetMopParent(this->Parent());
    	
    	fetcher->ExecuteLD();
    	}

  2. #2
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    69

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    Its okay, I've already solved it. Thanks

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    23

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    Quote Originally Posted by yuenfatt View Post
    Its okay, I've already solved it. Thanks
    How did U solve it?
    Please tell me, I met the same problem.
    Thank U In Advance!

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

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    try out something like this:

    http://www.newlc.com/en/topic-12737

  5. #5
    Registered User
    Join Date
    Sep 2010
    Posts
    23

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    Thank U for your solution, but in my project, it still crashes at TInt okPressed = fetchDlg->ExecuteLD();
    my project is on S60 v5. Please help me!! Thank U.........
    Code:
    					RPbkViewResourceFile  phonebookResource( *(CEikonEnv::Static())  );	
    					if ( !phonebookResource.IsOpen())
    						{
    						phonebookResource.OpenL();
    						}
    					
    					CPbkMultipleEntryFetchDlg::TParams params;
    					CleanupStack::PushL(params);
    					
    					CPbkContactEngine*	aPbkContactEngine = CPbkContactEngine::NewL(&iEikonEnv->FsSession());
    					CleanupStack::PushL(aPbkContactEngine);
    					CContactDatabase::TContactViewFilter filter(CContactDatabase::EPhonable); 		
    					params.iContactView = &aPbkContactEngine->FilteredContactsViewL( filter );
    					CPbkMultipleEntryFetchDlg* fetchDlg = CPbkMultipleEntryFetchDlg::NewL( params, *aPbkContactEngine );
    					fetchDlg->SetMopParent( this );  
    					TInt okPressed = fetchDlg->ExecuteLD();
    					if ( okPressed )
    						{
    						
    						}		
    					CleanupStack::PopAndDestroy(2);  
    					phonebookResource.Close();	   // Close the phonebook view	
    					delete aPbkContactEngine;

  6. #6
    Registered User
    Join Date
    Sep 2010
    Posts
    23

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    Quote Originally Posted by vineet.jain View Post
    try out something like this:

    http://www.newlc.com/en/topic-12737
    I find this in epocwind.out, Hope U can help me,thank u~
    Code:
     102.700	[DOSSERVER] RDosServer::Connect()
       102.700	[DOSSERVER]	 RDosServer::Connect() tries: 0
       102.700	CDosServer::NewSessionL()
       102.705	[DOSSERVER]	 ** CDosServer - Add session, count: 4
       102.705	[DOSSERVER]	 RDosServer::Connect()-CreateSession err: 0
       102.705	RDosSharedData::Open(RDosServer& aServer)
       102.705	[DOSSERVER]	 CDosSession::ServiceL()
       102.705	[DOSSERVER]	 CDosSession::DispatchMessageL()
       102.705	[DOSSERVER]	 EDosCreateSharedDataSubSession
       102.705	CDosSession::DispatchMessageL() calling CDosSharedDataBase::NewL(0xbd101c4)
       102.705	CDosSession::DispatchMessageL() iSDCounter = 1
       102.705	[DOSSERVER]	 CDosSharedDataBase* CDosSharedDataBase::NewL(0xbd101c4)
       102.705	[DOSSERVER]	 CDosSharedDataBase* CDosSharedDataBase::NewL(0xbd101c4)
       102.705	[DOSSERVER]	 CDosSharedDataBase::ConstructL(0xbd101c4)
       102.705	[DOSSERVER]	 dosService created, continuing...
       102.705	[DOSSERVER]	 CDosSession::SetupSubSessionL()
       102.705	[DOSSERVER]	 CDosSession::SetupSubSessionL() - aService valid
       102.705	[DOSSERVER]	 CDosSession::SetupSubSessionL() completed
       102.805	CTouchFeedbackImpl::EnableFeedbackForControl - Begin
       102.805	CTouchFeedbackImpl::EnableFeedbackForControl (overload) - Begin
       102.805	CTouchFeedbackImpl::EnableFeedbackForControl (overload) - End
       102.805	CTouchFeedbackImpl::EnableFeedbackForControl - End
       102.805	CTouchFeedbackImpl::EnableFeedbackForControl - Begin
       102.805	CTouchFeedbackImpl::EnableFeedbackForControl (overload) - Begin
       102.805	CTouchFeedbackImpl::EnableFeedbackForControl (overload) - End
       102.805	CTouchFeedbackImpl::EnableFeedbackForControl - End
       102.805	CTouchFeedbackImpl::SetFeedbackArea - Begin
       102.805	CTouchFeedbackImpl::SetFeedbackArea - End, err = 0
       102.810	CTouchFeedbackImpl::SetFeedbackArea - Begin
       102.810	CTouchFeedbackImpl::SetFeedbackArea - End, err = 0

  7. #7
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,956

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    Try increasing the Stack size of the application if you are using the default size, it sometimes causes KERN EXEC 3 unexpectedly.

    Also, i hope you have added the required capabilities it requires, though KERN EXEC 3 has nothing to do with it, but you can still check that out

  8. #8
    Registered User
    Join Date
    Sep 2010
    Posts
    23

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    Quote Originally Posted by vineet.jain View Post
    Try increasing the Stack size of the application if you are using the default size, it sometimes causes KERN EXEC 3 unexpectedly.

    Also, i hope you have added the required capabilities it requires, though KERN EXEC 3 has nothing to do with it, but you can still check that out
    Thank U!
    All the cases u mationed is OK. and i also have tried to make EPOCHEAPSIZE larger, but unfortunately, it still crashes. it make me crazy........
    Code:
    EPOCHEAPSIZE 0x1000 20000000
    EPOCSTACKSIZE 0x1000 20000000
    
    CAPABILITY	  	  ReadUserData NetworkServices WriteDeviceData WriteUserData ReadDeviceData

  9. #9
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,956

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    Are you chechking it in real device or emulator?.Try checking it on device once & see if problem still exists.

    Also lower those values of stack & heap size:

    EPOCHEAPSIZE 0x1000000 2000000
    EPOCSTACKSIZE 0x8000

  10. #10
    Registered User
    Join Date
    Sep 2010
    Posts
    23

    Re: CPbkMultipleEntryFetchDlg::ExecuteLD( ) causes kern-exec 3 error?

    i checked the project on emulator with both EPOCHEAPSIZE 0x1000000 2000000 and EPOCHEAPSIZE 0x1000 20000000, they have the same result:crash.

    i checked the project on device with EPOCHEAPSIZE 0x1000 20000000, crashed still.

    but the same code in a test project , it works. i don't know why? Any suggestions?

Similar Threads

  1. KERN EXEC 3 ERROR
    By sanjayks84 in forum Symbian User Interface
    Replies: 5
    Last Post: 2011-02-11, 07:16
  2. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  3. error including vector
    By Lichtens in forum Open C/C++
    Replies: 5
    Last Post: 2009-04-03, 14:19
  4. Browser monitoring
    By NevePankaj in forum Symbian
    Replies: 19
    Last Post: 2008-08-12, 10:06
  5. help !! about SIP errors
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2006-05-17, 05:30

Posting Permissions

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