×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    37

    Unhappy KERN EXEC 0 panic at second use of an RObject and not on first

    i am getteing a KERN EXEC 0 panic on second use of an RObject and not on first.
    i am really confused cause this panic occurs if RObject is uninitialised , in such case it should occur in first case also. see code below. am using a rmUTEX oBJECT.


    RMutex iInitParamMutex;

    //in ConstructL()
    iInitParamMutex.CreateLocal();

    ///somewhere else

    iInitParamMutex.Wait();
    iTimeOutTimer->Start(iInitParams->iTimeOutPeriod,
    iInitParams->iTimeOutPeriod ,
    TCallBack(CCommandHandler::TimeOut,this));
    iInitParamMutex.Signal();



    now panic occurs at iInitParamMutex.Signal();

    can any one please give some reasons.
    thanks.

  2. #2
    Registered User
    Join Date
    Jun 2004
    Posts
    12

    Re: KERN EXEC 0 panic at second use of an RObject and not on first

    I am also getting the same KERN-EXEC 0 panic while running my application. It's a bluetooth based application, when ever I trid to do the device/service discovery I was getting this panic. The interesting part is that I didn't get this error always, it was comming randomly. Another thing is if there were more than two devices then this error was not coming.

    Can anybody guide me in this regard. I'm realy fed-up with this problem. Any clue will be of great helpful.

  3. #3
    Registered User
    Join Date
    Nov 2004
    Posts
    37

    Re: KERN EXEC 0 panic at second use of an RObject and not on first

    i found that this panic occurs when u have created an RObject in one thread and are trying to use it in another thread. An RObect is thread specific.

Posting Permissions

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