App. closed Main E32User-CBase 71

Login to reply to this topic.
Fri, 2004-09-17 15:51
Joined: 2004-07-14
Forum posts: 28
Hi,
I added the ErrRd file to my C:\system\Bootdata directory on the device. After this I ran a program which accesses the database using RDbs object. Its a console application. It runs to completion, doing all that is required of it and then exits with a "App. closed Main E32User-CBase 71" message. what is this error. where can i get the description of other panic codes.

Gaurav Jain Huh:

Gaurav


Fri, 2004-09-17 17:36
Joined: 2004-06-06
Forum posts: 205
App. closed Main E32User-CBase 71
description of panic codes are in sdk docs(system panic reference). this error means:
Code:
This panic is raised when TRAPs have been nested and an attempt is made to exit from a TRAP nest level before all the cleanup items belonging to that level have been popped off the cleanup stack.

Best regards,
Michal Laskowski

Fri, 2004-09-17 19:56
gauravj_home@hotmail.com (not verified)
Forum posts: 2018
E32User-CBase 71
thank you for your reply,

I am using only one TRAPD macro (they a are not nested). I call this macro in E32Main() function of my console application. why do i still get a E32User-CBase 71 message

Gaurav Jain
Fri, 2004-09-17 21:04
Joined: 2004-06-06
Forum posts: 205
App. closed Main E32User-CBase 71
you build to exe and you forgot to create CTrapCleanup

Best regards,
Michal Laskowski

Sat, 2004-09-18 20:03
Anonymous (not verified)
Forum posts: 2018
App. closed Main E32User-CBase 71
I have used CTrapCleanup. Here is my E32Main code:


   CTrapCleanup* cleanup=CTrapCleanup::New(); // get clean-up stack
   TRAPD(error, MyfuctionL()); // more initialization, then do example
   __ASSERT_ALWAYS(!error,User::Panic(KTxtPanicConnectDatabase,error));
   delete cleanup; // destroy clean-up stack


Gaurav Jain
Sun, 2004-09-19 18:51
Joined: 2004-07-10
Forum posts: 364
App. closed Main E32User-CBase 71
"before all the cleanup items belonging to that level have been popped off the cleanup stack"
  • Login to reply to this topic.