Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2010

    Kern exec 3 panic while debugging test app for an exe on emulator

    Hi All

    I get the following panic when I try to create an obj of a class in an app which ahs to be tested.

    104.370 [QTestLib] PASS : TestClientCF::initTestCase()
    104.395 [QTestLib] QDEBUG : TestClientCF::testClientCFGetFriends() create client
    104.430 [QTestLib] QDEBUG : TestClientCF::testClientCFGetFriends() client == NULL
    104.875 Thread TestClientApp::TestClientApp Panic KERN-EXEC 3

    like client = new MyClass();
    It is panicking.

    This MyClass belongs to an exe.
    This is on emulator.Please let me know what might be the possible reason for this panic.


  2. #2
    Super Contributor
    Join Date
    Nov 2009
    Minnesota, USA

    Re: Kern exec 3 panic while debugging test app for an exe on emulator

    I think putting a breakpoint on qFatal will catch most panics and let you observe the all-important call stack.

    There is also a global emulator setting you can do, IIRC, to achieve the same thing, but I can't recall what it is.

  3. #3
    Regular Contributor
    Join Date
    Sep 2008

    Re: Kern exec 3 panic while debugging test app for an exe on emulator

    epoc32\data\epoc.ini change justintime from 0/None to debug (or 1 if you want to be on all the time).
    qFatal calls __DEBUGGER(); which invokes just in time.


    To catch windows exceptions from Carbide debug menu go to tab "x86 exceptions" and check all but "c++ exception".
    Kern-exec 3 is Access Violation and thus the exception is triggered.

Similar Threads

  1. KERN EXEC 0 panic on the second run
    By varshini.muthukrishnan in forum Symbian
    Replies: 1
    Last Post: 2010-04-11, 10:02
  2. Carbide.vs emulator hangs when debugging
    By jyrkiettila in forum Symbian Tools & SDKs
    Replies: 14
    Last Post: 2008-02-26, 17:22
  3. Panic Code in CodeWarrior 3.1 when debugging in Emulator?
    By AlfredoRU in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-09-15, 16:36
  4. Panic Codes from Emulator
    By tunelabguy in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-09-15, 07:54
  5. cant test app with Nokia Emulator
    By logemann in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2002-12-19, 16:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts