×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    125

    kern exec 3 panic during secure connection (emulator problem)

    Hi all,
    i am getting kern exec 3 panic, while making secure(SSL) connection with the server . I guess it happens because of the certificate sent by the server.

    The code is..
    Code:
    	_LIT(KTLS,"SSL3.0");
    		iTLSSocket = CSecureSocket::NewL( iSocket,KTLS());
    		// start the handshake 
    		TBuf8<200> serverName; 
    		serverName.Copy(iServerAdd);
    	    TInt error = iTLSSocket->SetOpt(KSoSSLDomainName, KSolInetSSL,serverName);
    	    iTLSSocket->FlushSessionCache();
    	    iTLSSocket->StartClientHandshake(iStatus);
    	
    	    iLastFmState = ESecureConnection;
    		if(!IsActive())
    			SetActive();
    Application exits before reaching RunL() raising panic kern exec 3. And emulator won't prompt confirmation about certificate. I reinstalled the sdk but of no use . How can i overcome this issue?

    sdk used is S60 3rd Ed MR.
    note: This problem happens only in emulator,not in device .

    regards,
    manjusg

  2. #2
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Bangalore
    Posts
    208

    Re: kern exec 3 panic during secure connection (emulator problem)

    yup the issue may be b'coz of the certificate. Just trap
    TRAPD(err,iTLSSocket->SetOpt(KSoSSLDomainName, KSolInetSSL,serverName));
    as Kern-Exec 3 is due to unhandled exception. Bug the code and chck for the error code which u are getting

  3. #3
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: kern exec 3 panic during secure connection (emulator problem)

    Quote Originally Posted by mdzahidul_haque View Post
    yup the issue may be b'coz of the certificate. Just trap
    TRAPD(err,iTLSSocket->SetOpt(KSoSSLDomainName, KSolInetSSL,serverName));
    as Kern-Exec 3 is due to unhandled exception. Bug the code and chck for the error code which u are getting
    Kern-Exec 3 is a Panic not just a Leave, thus you can not TRAP it.

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

    Re: kern exec 3 panic during secure connection (emulator problem)

    Quote Originally Posted by mdzahidul_haque View Post
    yup the issue may be b'coz of the certificate. Just trap
    TRAPD(err,iTLSSocket->SetOpt(KSoSSLDomainName, KSolInetSSL,serverName));
    as Kern-Exec 3 is due to unhandled exception. Bug the code and chck for the error code which u are getting
    I tried that and got error code as KErrNone. As i know TRAP won't catch panics.. So i thought some emulator settings may solve the problem. So i searched for settings but didn't got any settings or links. If anyone knows regarding this kindly inform me..


    Reagrds,
    manjusg

Similar Threads

  1. KERN EXEC 3 Panic !!
    By nisheethpandey in forum Symbian C++
    Replies: 6
    Last Post: 2009-07-27, 14:19
  2. KERN EXEC 3 Panic when try to call .pyd
    By SymbianTH in forum Python
    Replies: 9
    Last Post: 2009-07-09, 09:11
  3. Using Bluetooth serial port in MIDlets (nokia 9500 issue)
    By orsteglasy in forum Mobile Java Networking & Messaging & Security
    Replies: 11
    Last Post: 2007-10-07, 21:49
  4. why kern exec 3 on CopyFile?
    By flicker82 in forum Symbian C++
    Replies: 2
    Last Post: 2005-05-16, 02:25
  5. Can't make secure connection using WTLS
    By BGarfield in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-08-15, 14:37

Posting Permissions

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