program crash at CActiveScheduler::Start()
| Tue, 2008-01-01 18:31 | |
|
Hello everyone, I am making an HttpClient application on S60 which will communicates with the HTTP server. I have code which request by submitting a transaction iTrans = iSess.OpenTransactionL(uri, *iTransObs, aMethod); CActiveScheduler::Start();//Program Crashes when server sends some hdrs My application is poling to the HttpServer by repeatedly calling above code and it works well with But when server sends some hdrs in second time then With Thanks & Regards,
|
|






program crashes at CActiveScheduler::Start().
Forum posts: 95
Hi,
What error you are getting. What is the Panic reason. Is suppose it is caused due to a stray signal.
Check that you are calling SetActive() method of the active object before issuing any request.
Chao,
Raghav
Forum posts: 10
Thanks raghav for suggestions,
There is not any active object which i am implementing in HTTPclient & not any stray signal issue.
I am able to know the reason of panic by enabling JIT debugging frm emulator tools->preferences.
The panic was arising due to StringPool .
I was using istrpool.OpenL() on StringPool and try to get RStringF frm it.
But when i used aTransaction.Session().StringPool() instead
of istrpool.OpenL() then that panic removed.