Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User saurabh_gyl's Avatar
    Join Date
    Nov 2004
    Posts
    37
    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 vinsofts's Avatar
    Join Date
    Jun 2004
    Posts
    12
    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 saurabh_gyl's Avatar
    Join Date
    Nov 2004
    Posts
    37
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved