Join Now

This page was last modified 14:14, 23 January 2008.

Talk:Constructing CEikMenuBar crashes on some FP1 models

From Forum Nokia Wiki


This has been reproduced on the mentioned device/sw versions. Specifically,

  CEikMenuBar* obj = new (ELeave) CEikMenuBar;
  delete obj;

causes a KERN-EXEC 3 panic. The impact of this is minimal however, as the problem does not occur if the menu bar is constructed properly before deleting it:

  CEikMenuBar* obj = new (ELeave) CEikMenuBar;
  CleanupStack::PushL(obj);
  obj->ConstructL(this, NULL, R_MY_MENUBAR);
  CleanupStack::PopAndDestroy(obj);

Forum Nokia KB 16:14, 23 January 2008 (EET)

 
Powered by MediaWiki