Problem in Server Startup - KERN-EXEC 4

Login to reply to this topic.
Thu, 2008-06-19 11:53
Joined: 2007-11-07
Forum posts: 15

I am getting KERN-EXEC 4 while start up of my server at :
User::WaitForRequest(...).

TInt StartServer()
   {
   TInt result = KErrNone;
   if ( !IsServerStarted() )
       {
        RProcess process;
        result = process.Create( KMyServerExe,
                      KNullDesC );

         if ( result == KErrNone ||
              result == KErrAlreadyExists )
             {
              TRequestStatus logonStatus;
              TRequestStatus rendezvousStatus;
               
               process.Logon( logonStatus );
               process.Rendezvous( rendezvousStatus );
               
                if ( result == KErrNone )
                    {
                    process.Resume();
                    }
               User::WaitForRequest(
                       logonStatus, rendezvousStatus );
                .................................
                .................................
             }

While debugging i found that result value is always 0, due to which process.Resume() get executed (as expected) but after that it is crashing.
Please help me .....


Thu, 2008-06-19 12:07
Joined: 2007-11-16
Forum posts: 32
Re: Problem in Server Startup - KERN-EXEC 4

Hi,

This panic is raised when the Kernel attempts to free a message, an RMessage, when that message is not in the accepted state. This panic is probably caused by a breakdown in client/server relations.

Pramod


"Nobody will believe in you unless you believe in yourself."

  • Login to reply to this topic.