All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

Old 08-10-2004, 11:07 AM
sumit_thatte sumit_thatte is offline
Registered User
Join Date: Oct 2004
Posts: 2
sumit_thatte is on a distinguished road
KERN_EXEC 3 while creating active object

We are creating an active object for our application , the code is as below,

The error(KERN_EXEC 3) comes when it executes the Start function of the scheduler.

iActiveEncoder = ActiveEncoder::NewLC();




ActiveEncoder::ActiveEncoder() :CActive(EPriorityStandard)



ActiveEncoder* ActiveEncoder::NewLC()


ActiveEncoder* self=new (ELeave) ActiveEncoder(); CleanupStack::PushL(self);


return self;


void ActiveEncoder::ConstructL()




void ActiveEncoder::IssueRequest(TRequestStatus& aStatus)


aStatus = KRequestPending;

1. some memory allocation is happening.

2. Loads Ldd Pdd and opens the logical channel for the device driver

3. Calls “Initialize()” another function of this Active Object.


void ActiveEncoder::Initialize()


Do some processing


TRequestStatus* status = &iStatus ;

User::RequestComplete(status, KErrNone) ;


void ActiveEncoder::RunL()



calls one function; in this function we call Stop function of scheduler


DummyRequest(iStatus); //This does nothing


Old 12-10-2004, 02:36 AM
Posts: n/a
You need to call CActiveScheduler::Add() with your active object before you call start!


active, creating, kernexec, object

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Desk for 7650 now available via Handango Rafe Series 60 2 20-07-2002 02:50 PM
Cibenix have announced Active Desk for the Nokia 7650 Rafe Series 60 2 17-07-2002 04:07 PM

All times are GMT. The time now is 02:49 PM.

vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy