Exiting the application on P800
| Wed, 2003-11-19 12:59 | |
|
Hi, While Exiting the Application on P800 my application crashes. I have a new view in it. In destructor of the application I am doing all the Need full. Deregistring the view and Removing it from the Stack. I also delete the Pointer to the view. Any Clues what exactly is going wrong. Thanks For your Time. Sanket Lopez. Hungarian Notation ain't useful outside Hungary! |
|






Forum posts: 40
Do you have more than one view? it is possible you accidently delete a shared object.
Imzadi
Forum posts: 106
Yes i have more views, around eight of them and three are registered. So whats the Shared Object that you are talking about.
Thanks for your Time.
Sanket Lopez
Regards,
Varun
Forum posts: 40
I had a similar problem when two views used the same CDesCArrayFlat array. I used it as a text array for CEikTextListBox. Notice that CTextListBoxModel ConstructL has a default for taking ownership over its array. That's why my program crashed on exiting. Both views had owenrship over the array, which means both views tried to destroy it. The first one succeeded, but the second one obviouslly failed.
hope it helps
Imzadi
Forum posts: 36
Previously i was not Deleteing a pointer, so the App Crashed. Now I m Getting a Cone 8 Error. Whats Wrong. Any clues.
Thanks For Your Time.
Sanket Lopez.
Hungarian Notation ain't useful outside Hungary!
Forum posts: 40
well, CONE error 8 is "Environment found window server resources had not been freed". I haven't encountered that problem myself so I can't help you more than that. sorry.
good luck!
Imzadi
Forum posts: 36
This is rather unusual behavoiur that my application is showing. On Emulator we get the Cone 8 - "Window Server" Error. On the Device this seems to work very well. The Cone 8 error is not seen at all and my application close without any hasel.
Can this cause a problem with the device? Is it ok to to forget about Cone 8 as the application is working properly on the device?
Is the Cone 8 error related only to device? Where can I get a list of such errors, which dont cause a prb on the device but do show up on the emulator.
Thanks for your time.
Sanket Lopez.
Hungarian Notation ain't useful outside Hungary!
Forum posts: 53
you are allocating (loading) a resource "manually" and you don't remove it when the component using it is destroyed
Forum posts: 21
/Andreas