You Are Here:

Community: Developer Discussion Boards

#1 Old There is something very weird with active object - 2006-06-20, 18:42

Join Date: Dec 2003
Posts: 17
vyskocil
Offline
Registered User
I play with e32.Ao.timer, e32.Ao_lock and e32.ao_callgate (bluetooth GPS handling is done in another thread) in a GPS program and I my program stop at a error :

E32USER-CBase 42

It happen when the program call lock.wait() twice in a row.

I think python shouldn't exit with this error (?)
Reply With Quote

#2 Old Re: There is something very weird with active object - 2006-06-21, 01:50

Join Date: May 2003
Posts: 984
Location: Vancouver, Canada
antonypr's Avatar
antonypr
Offline
Forum Nokia Champion
I haven't played with Python yet. However, according to Symbian C++ documentation, E32USER-CBase 42 panic happens when you try to activate an active object that is already active.

"This panic is raised by the SetActive() member function of an active object, a CActive. It is caused by an attempt to flag the active object as active when it is already active, i.e. a request is still outstanding."

May be you shouldn't call lock.wait() twice there.
Reply With Quote

#3 Old Re: There is something very weird with active object - 2006-06-21, 11:14

Join Date: Dec 2003
Posts: 17
vyskocil
Offline
Registered User
As lock.wait() wait until a signal is raised it souldn't be wrong to call lock.wait() twice in the same thread for example :

while !self.exit:
lock.wait()

But lock.wait() let also user interface interraction and I think there is some race condition (?)
Reply With Quote

#4 Old Re: There is something very weird with active object - 2006-06-21, 17:14

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
Well at least the Ao_timer bugs, see this thread: http://discussion.forum.nokia.com/fo...ad.php?t=80922

Easiest thing to avoid your problem is to use the work-around mentioned on that thread.

ao_callgate bug and work-around: http://sourceforge.net/tracker/index...55&atid=790646
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
active object call inside another active object maina1976 General Symbian C++ 4 2008-08-25 14:05
Testing an Active Object? (With attached code from two attempts) nawkboy General Symbian C++ 2 2007-10-05 21:40
Active Object hogs active scheduler. FloydFan General Symbian C++ 4 2005-09-29 07:32
E32User-Cbase 46 panic when terminating long running active object delwynh General Symbian C++ 2 2003-09-01 23:15
helpthe problem of active object in Dial program--- "E32user-CBase" 49 jianwending2000 General Symbian C++ 1 2002-08-28 10:12

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ