×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    25

    KERN EXEC 3 ERROR

    Hi
    i've error on this code, it's KERN EXEC 3,

    void CDEng::RunL()
    {
    CEikonEnv::Static()->AlertWin(_L("In Run"));

    iOffScreenBmp->LockHeap();////terminate

    iRenderer->RenderNextFrameL((TUint16*)iOffScreenBmp->DataAddress());

    CEikonEnv::Static()->AlertWin(_L("LockHeap"));

    // blit the offscreen bitmap (if used) to screen

    if(!iUseFrameBuffer)
    {
    iGc->BitBlt(iPosition, iOffScreenBmp, iFlagRect);
    iDirectScreenAccess->ScreenDevice()->Update();
    }
    else
    {
    // copy bitmap contents to frame buffer
    iOffScreenBmp->LockHeap();
    Mem::Copy(iScreenAddr, iOffScreenBmp->DataAddress(), iFrameBufLen);
    UserSvr::AddEvent(iRedraw);
    }

    // Renew request
    After(TTimeIntervalMicroSeconds32(KGenerationInterval));
    if(iOffScreenBmp)
    {
    iOffScreenBmp->UnlockHeap();
    }
    }
    in destructor i have delete

    delete iOffScreenBmp;

    can any suggestion me for this kind of error. i m check all per help but still the same problem.
    my contol come in RUN, and terminate to get error KERN EXEC 3.
    Last edited by sanjayks84; 2008-05-28 at 07:50.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: KERN EXEC 3 ERROR

    is this UI application having application farmework, or is it something else ?

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    25

    Re: KERN EXEC 3 ERROR

    Quote Originally Posted by symbianyucca View Post
    is this UI application having application farmework, or is it something else ?
    I m using UI Application.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: KERN EXEC 3 ERROR

    So then, can you run it in a emulator and see which line is crashing the app.

  5. #5
    Registered User
    Join Date
    Feb 2010
    Posts
    25

    Re: KERN EXEC 3 ERROR

    hello sir
    i've error on this code, it's KERN EXEC 3,
    TBool CHandleErrors::Construct()
    {
    logi(_L("::Start Construct::"));
    LoggingValue = true;
    logi(_L(":: Construct-1::"));
    TInt err = iFs.Connect();
    logi(_L(":: Construct-2::"));
    if (!err)
    {
    logi(_L(":: Construct-3::"));
    TFileName logFileName;
    err = !GetLogFileNameWithoutExt(logFileName);
    logi(_L(":: Construct-4::"));
    if(!err)
    {
    logi(_L(":: Construct-5::"));
    TFileName oldLogFileName(logFileName);
    logi(_L(":: Construct-6::"));
    oldLogFileName.Append(KOldFileExt);
    logi(_L(":: Construct-7::"));
    iFs.Delete(oldLogFileName);
    logi(_L(":: Construct-8::"));
    logFileName.Append(KLogFileExt);
    logi(_L(":: Construct-9::"));
    iFs.Rename(logFileName, oldLogFileName);
    logi(_L(":: Construct-10::"));
    err = iFile.Create(iFs, logFileName, EFileShareAny | EFileWrite);
    logi(_L(":: Construct-11::"));
    if(!err)
    {
    logi(_L(":: Construct-12::"));
    TInt pos(0);
    iFile.Seek(ESeekEnd, pos);
    TBuf8<KMaxFullName> appName;
    logi(_L(":: Construct-13::"));
    appName.Copy(BaflUtils::ExtractAppNameFromFullName(RThread().FullName()));
    logi(_L(":: Construct-14::"));
    iLogBuffer.AppendFormat(KLogStart, &appName);
    logi(_L(":: Construct-15::"));
    err = iFile.Write(iLogBuffer);
    logi(_L(":: Construct-16::"));
    }
    logi(_L(":: Construct-17::"));
    }
    logi(_L(":: Construct-18::"));
    }
    logi(_L(":: Construct-19::"));
    return (!err);
    logi(_L("::Done Construct::"));
    }

    Thanks sir
    nrsthakur@gmail.com

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: KERN EXEC 3 ERROR

    ok, let me try quoting my last reply once again:

    Quote Originally Posted by symbianyucca View Post
    So then, can you run it in a emulator and see which line is crashing the app.

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. i cant build helloworld project
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-12-22, 12:38
  3. help !! about SIP errors
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2006-05-17, 05:30
  4. Compiling error (Urgent)
    By waelali in forum Symbian
    Replies: 2
    Last Post: 2006-02-06, 04:32
  5. Building
    By pacman2000z in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-07-17, 10:44

Posting Permissions

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