Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Active scheduler error(?)

2 replies · 2,942 views · Started 22 January 2003

CMsvOperation* operation = iSmsMtm->InvokeAsyncFunctionL(ESmsMtmCommandScheduleCopy,*sel,dummy,waiter->iStatus);

I'm trying to send an sms message with my 7650. But using line above gives me an error (e32user-cbase 46).

From E32USER-CBase:
46 This panic is raised by an active scheduler, a CActiveScheduler. It is caused by a stray signal.

I was hoping if you could help me to solve this problem or give a working example of sending an sms message. I've been working on with SendAsExample.

Thanx

i got quite alot of those errors when using timers/CPeriodicTask etc... when i turned the interval for the timer up it stopped .. but i still get this errors when exiting the app sometimes.

Getting an E32User-CBase 46 "stray signal" panic basically means that an asynchronous service which you requested has completed without anything available to receive the signal.

The most common case of this is requesting an asynchronous service in an active object without calling SetActive(). Another classic is not calling Cancel() in the destructor of your active object.

However, there are many possible causes, and tracking down the root of the problem involves careful scrutiny of your code.

The original poster's problem, I'd guess, is caused by the "waiter" object not being active, ie. not having called SetActive().