This page was last modified 12:17, 2 April 2008.
KIS000879 - Deleting an object of CBrCtlInterface may cause a panic
From Forum Nokia Wiki
| ID | KIS000879 | Creation date | April 2, 2008 |
| Platform | S60 3rd Edition | Devices | Nokia N73, Nokia E65 |
| Category | Symbian C++ | Subcategory | Nokia Web Browser |
Description
Deleting an object of CBrCtlInterface when the controller is still loading a Web page can cause a Kern-Exec 3 Panic. This known issue occurs in some old S60 3rd Edition devices using the old Browser Engine (Services).
Solution
The only way to avoid the panic is to not delete the CBrCtlInterface object before the Web page has been fully loaded. If the Web page is loading when user wants to quit, open an empty Web page calling the CBrCtlInterface::LoadUrl() function and wait until the empty page has been loaded and then call AppUi::Exit(). This is done because loading an empty page is more likely faster than waiting for the current Web page to be loaded.
The MBrCtlLoadEventObserver::HandleBrowserLoadEventL function can be used to observe the state changes of the Web page loading task. For instance, the function can be used to observe when the page has been fully loaded and application closing is possible.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CEikEdwin will panic if no SetCursorL() after Insert() | edelsesto | Symbian User Interface | 1 | 2003-10-27 10:46 |
| EPoc32 Panic : PANIC DCommWins : 2 | suzuk | Symbian Networking & Messaging | 0 | 2003-07-17 13:53 |
| panic at E32Main() at xyz.cpp file | vivek_mics | General Symbian C++ | 1 | 2006-09-25 20:57 |
| Why there is user halted thread after CBrCtlInterface::LoadDataL invoked | Slavik.Norns | General Symbian C++ | 0 | 2007-01-27 09:47 |
| Use/Mis Use of acyive Objects | Osprey | General Symbian C++ | 1 | 2006-10-18 12:14 |

