<?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 - help! crash on UIQ3 - Comments</title>
 <link>http://www.newlc.com/en/forum/help-crash-uiq3</link>
 <description>Comments for &quot;help! crash on UIQ3&quot;</description>
 <language>en</language>
<item>
 <title>Re: help! crash on UIQ3</title>
 <link>http://www.newlc.com/en/forum/help-crash-uiq3#comment-40790</link>
 <description>&lt;p&gt;Thanks for your kindly help.&lt;br /&gt;
I change nothing, but it is OK now.&lt;/p&gt;</description>
 <pubDate>Fri, 17 Aug 2007 10:30:36 +0200</pubDate>
 <dc:creator>trendbigmouse</dc:creator>
 <guid isPermaLink="false">comment 40790 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: help! crash on UIQ3</title>
 <link>http://www.newlc.com/en/forum/help-crash-uiq3#comment-40764</link>
 <description>&lt;p&gt;Are you sure that OpenL is leaving? Where is the iDownloaderCfg getting initialised?&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br /&gt;
Sri&lt;/p&gt;</description>
 <pubDate>Thu, 16 Aug 2007 13:08:31 +0200</pubDate>
 <dc:creator>srikanth</dc:creator>
 <guid isPermaLink="false">comment 40764 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: help! crash on UIQ3</title>
 <link>http://www.newlc.com/en/forum/help-crash-uiq3#comment-40761</link>
 <description>&lt;p&gt;put a temporary TRAP around the OpenL to find the error. Also are you deleting iUtils in your destructor?&lt;br /&gt;
~b&lt;br /&gt;
 &lt;/p&gt;</description>
 <pubDate>Thu, 16 Aug 2007 11:46:36 +0200</pubDate>
 <dc:creator>brian.egan</dc:creator>
 <guid isPermaLink="false">comment 40761 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: help! crash on UIQ3</title>
 <link>http://www.newlc.com/en/forum/help-crash-uiq3#comment-40759</link>
 <description>&lt;p&gt;Thanks for your reply.&lt;br /&gt;
My code like following:&lt;br /&gt;
class CHttpClient : public CBase, public MHTTPDataSupplier, public MTimeOutNotifier, MUserCancelNotifier,public MHTTPAuthenticationCallback&lt;br /&gt;
{&lt;br /&gt;
	....&lt;br /&gt;
private:&lt;br /&gt;
	RHTTPSession iSess;&lt;br /&gt;
	....&lt;br /&gt;
};&lt;/p&gt;

&lt;p&gt;void CHttpClient::ConstructL(const TDesC&amp; aSource, const TDesC&amp; aFilename)&lt;br /&gt;
{&lt;br /&gt;
	iUtils = CHttpClientUtils::NewL(KHttpExampleClientTestName);&lt;/p&gt;

&lt;p&gt;	// Open the RHTTPSession&lt;br /&gt;
	iSess.OpenL();&lt;br /&gt;
	&lt;br /&gt;
	// Install this class as the callback for authentication requests&lt;br /&gt;
	InstallAuthenticationL(iSess);&lt;br /&gt;
	&lt;br /&gt;
	User::LeaveIfError(iFileServ.Connect());&lt;/p&gt;

&lt;p&gt;    	// Start a timer&lt;br /&gt;
	iTimer = CTimeOutTimer::NewL(EPriorityHigh, *this);&lt;br /&gt;
	&lt;br /&gt;
	iCancelHandle = CUserCancel::NewL(EPriorityHigh, *this); &lt;br /&gt;
	UserCancelSet_t ucs;&lt;br /&gt;
	ucs.handle = TM_AU_HTTP_User_Cancel;&lt;br /&gt;
	ucs.status = &amp;(iCancelHandle-&gt;iStatus);&lt;br /&gt;
	if(!DoCallback(iDownloaderCfg-&gt;tls(), Tmu_SET_USER_CANCEL_HANDLE, (TAny* )&amp;ucs))&lt;br /&gt;
	{&lt;br /&gt;
		User::Leave(TM_CHTTPCLIENT_USER_CANCEL);&lt;br /&gt;
	}&lt;br /&gt;
	iTransObs = CHttpEventHandler::NewL(*iUtils, iTimer, iDownloaderCfg);&lt;br /&gt;
	iSource.Copy(aSource);&lt;br /&gt;
	iTransObs-&gt;SetFileName(aFilename);&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;There is no return value for RHTTPSession::OpenL(). It crashes before return. Do you have any way to get last error?&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Thu, 16 Aug 2007 11:38:34 +0200</pubDate>
 <dc:creator>trendbigmouse</dc:creator>
 <guid isPermaLink="false">comment 40759 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: help! crash on UIQ3</title>
 <link>http://www.newlc.com/en/forum/help-crash-uiq3#comment-40730</link>
 <description>&lt;p&gt;Kern-exec 3 is normally a null pointer exception or something similar. &lt;br /&gt;
What could be happening is that your call to OpenL is leaving and that something else that you have created is not getting cleaned up as it is not on the cleanupstack at the time of the leave. Try to see if this is the case and see what error code is returned from your OpenL function.&lt;/p&gt;</description>
 <pubDate>Wed, 15 Aug 2007 15:38:13 +0200</pubDate>
 <dc:creator>brian.egan</dc:creator>
 <guid isPermaLink="false">comment 40730 at http://www.newlc.com</guid>
</item>
<item>
 <title>help! crash on UIQ3</title>
 <link>http://www.newlc.com/en/forum/help-crash-uiq3</link>
 <description>&lt;p&gt;I wrote following C++ code on UIQ3:&lt;br /&gt;
    RHTTPSession rSession; &lt;br /&gt;
    rSession.OpenL();&lt;br /&gt;
I compile the code to &quot;ARMV5 UREL&quot; and run it on smart phone,&lt;br /&gt;
rSession.OpenL() crash with error code KERN-EXEC 3.&lt;br /&gt;
When I put them in different place, sometimes crash, sometimes not.&lt;br /&gt;
When I compile the code to &quot;WINSCW UDEB&quot; , it won&#039;t crash.&lt;/p&gt;

&lt;p&gt;Could anyone tell me how to fix it? thanks very much.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/help-crash-uiq3&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/help-crash-uiq3#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Wed, 15 Aug 2007 13:43:41 +0200</pubDate>
 <dc:creator>trendbigmouse</dc:creator>
 <guid isPermaLink="false">18647 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
