<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Active object Stray Signal (E32User-Cbase 46) - Comments</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46</link>
 <description>Comments for &quot;Active object Stray Signal (E32User-Cbase 46)&quot;</description>
 <language>en</language>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47241</link>
 <description>&lt;p&gt;My bad i did not see his &lt;span style=&quot;font-weight:bold&quot;&gt;ConstructL() &lt;/span&gt;Andreas...&lt;/p&gt;</description>
 <pubDate>Tue, 01 Jul 2008 06:30:05 +0200</pubDate>
 <dc:creator>gmsk19</dc:creator>
 <guid isPermaLink="false">comment 47241 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47240</link>
 <description>&lt;p&gt;Also Checkout this:-&lt;br /&gt;
&lt;a href=&quot;http://www.newlc.com/forum/regarding-e32user-cbase-46&quot;&gt;http://www.newlc.com/forum/regarding-e32user-cbase-46&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 01 Jul 2008 06:26:13 +0200</pubDate>
 <dc:creator>er.khalid</dc:creator>
 <guid isPermaLink="false">comment 47240 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47235</link>
 <description>&lt;p&gt;cheers:  whenever you make a asynchronous call, please make sure that the variable holding the result&lt;br /&gt;
remain valid until you have been notified that the request is completed. In this case, you shouldn&#039;t use&lt;br /&gt;
the local variable TBuf8&lt;40&gt; Test, although this might not fix your Stray Signal problem.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 16:22:24 +0200</pubDate>
 <dc:creator>symbiandeveloper</dc:creator>
 <guid isPermaLink="false">comment 47235 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47231</link>
 <description>&lt;p&gt;Actually, calling SetActive twice should give another specific &quot;Don&#039;t call setactive twice&quot;-panic, and the &quot;IsActive&quot; check is supposed to make sure a request isn&#039;t issued twice...&lt;/p&gt;

&lt;p&gt;So that shouldn&#039;t be the problem either.&lt;/p&gt;

&lt;p&gt;praveen:  &lt;br /&gt;
Please don&#039;t just re-iterate stuff the original poster obviously already know, and/or that has already been said in other posts.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 14:14:44 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 47231 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47230</link>
 <description>&lt;p&gt;hi all&lt;br /&gt;
 &lt;br /&gt;
E32USER-CBase 46 panic is raised by the Active Scheduler due to a stray signal. A stray signal is a technical term for a situation when the Active Scheduler is signalled upon an outstanding asynchronous request having been completed, but it (i.e. the Active Scheduler) cannot find any active objects ready for handling the request. &lt;br /&gt;
I think It is the most appropriate explanation for stray signal , Just try to figure out error where is it in your code ,if couldn&#039;t  post your whole code here &lt;br /&gt;
Thanks and Regard &lt;br /&gt;
Praveen Kumar Sharma &lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 14:03:37 +0200</pubDate>
 <dc:creator>praveen.nitdgp@gmail.com</dc:creator>
 <guid isPermaLink="false">comment 47230 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47229</link>
 <description>&lt;p&gt;gmsk19: didn&#039;t you read his original question?! Add call is in the ConstructL.&lt;/p&gt;

&lt;p&gt;cheers: you are calling your ConstructL, are you?&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 13:44:44 +0200</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 47229 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47228</link>
 <description>&lt;p&gt;i think you have forgotten to add this statement in your constructor &lt;br /&gt;
&lt;code&gt; &lt;br /&gt;
CActiveScheduler::Add(this);&lt;br /&gt;
&lt;code&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 13:27:31 +0200</pubDate>
 <dc:creator>gmsk19</dc:creator>
 <guid isPermaLink="false">comment 47228 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47227</link>
 <description>&lt;p&gt;The Panics Description given in docs is as follows &quot;This panic is raised by an active scheduler, a CActiveScheduler. It is caused by a stray signal. &quot;&lt;br /&gt;
As praveen said it might be due to calling SetActive() twice or in case of timers  calling After() twice.&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 13:25:21 +0200</pubDate>
 <dc:creator>gmsk19</dc:creator>
 <guid isPermaLink="false">comment 47227 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47226</link>
 <description>&lt;p&gt;hi&lt;br /&gt;
I think ,Either You are calling SetActive() function twice for Only One Asynchronous Request OR calling Only One SetActive() for two or more Asynchronous Request , Check your code again If you couldn&#039;t figure out the problem post you code here&lt;br /&gt;
Thanks  and  Regard &lt;br /&gt;
Praveen&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 13:03:21 +0200</pubDate>
 <dc:creator>praveen.nitdgp@gmail.com</dc:creator>
 <guid isPermaLink="false">comment 47226 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47225</link>
 <description>&lt;p&gt;Ok then, if it still not works with the above code, its a tougher problem &lt;img src=&quot;/sites/all/modules/smileys/packs/example/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt;&lt;/p&gt;

&lt;p&gt;There should only be three ways you could get a stray signal panic&lt;/p&gt;

&lt;p&gt;1. You have not added your Active Object to the AS&lt;br /&gt;
2. You have forgot to SetActive your AO&lt;br /&gt;
3. You you issue a request to a TRequestStatus not connected to an AO, and return back to the AS loop without waiting for the request to complete (User::WaitForRequest)&lt;/p&gt;

&lt;p&gt;Since you seem to do these things right, I&#039;m suspecting the problem might not be with this AO at all, but maybe there is some other request you issue?&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 12:53:59 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 47225 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47224</link>
 <description>&lt;p&gt;I have checked that also.... sorry for the TRequestStatus iStatus (i will change that), actually i was checking all possiblities of iStatus (local and CActive)&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 12:28:25 +0200</pubDate>
 <dc:creator>cheers</dc:creator>
 <guid isPermaLink="false">comment 47224 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47222</link>
 <description>&lt;p&gt;the problem is this line:&lt;/p&gt;

&lt;p&gt;&lt;pre class=&quot;bb-code-block&quot;&gt;
      TRequestStatus iStatus;
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;You must use the request status of your active object, and not declare your own.&lt;br /&gt;
by declaring your own iStatus, you disconnect the request from your active object, and the active scheduler then can&#039;t find what ao is handling the request (which is not strange, because then infact there is no active object handling it)&lt;/p&gt;

&lt;p&gt;&quot;Stray Signal&quot; simply means &quot;I couldn&#039;t find any AO that is set to handle the request&quot;&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 12:08:48 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 47222 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comment-47221</link>
 <description>&lt;p&gt;You must use the iStatus inherited from CActive, not your own. The Active Scheduler is using the one in CActive.&lt;/p&gt;</description>
 <pubDate>Mon, 30 Jun 2008 12:07:49 +0200</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 47221 at http://www.newlc.com</guid>
</item>
<item>
 <title>Active object Stray Signal (E32User-Cbase 46)</title>
 <link>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46</link>
 <description>&lt;p&gt;&lt;code&gt;
void CReadFile::ReadfileL()
    {
    if( !IsActive())
      {
      .........................
      User::LeaveIfError(iFileSession.Connect());
      iFile.Open( iSession, KFile8, EFileShareReadersOrWriters ));
      TBuf8&lt;40&gt; Test;
      iFile.Read( 0, Test, iStatus); 
      SetActive();
      .......................
      .......................
      }&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/active-object-stray-signal-e32user-cbase-46#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Mon, 30 Jun 2008 11:56:53 +0200</pubDate>
 <dc:creator>cheers</dc:creator>
 <guid isPermaLink="false">21330 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
