×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    43

    Showing KERN-EXEC3 panic Problem

    Hi All,

    When i run this code for picture capture in client-server where both client and server are residing in the emulator,

    TSize screenSize = CEikonEnv::Static()->ScreenDevice()->SizeInPixels();

    TDisplayMode displayMode = CEikonEnv::Static()->ScreenDevice()->DisplayMode();

    CFbsBitmap*iBitmap = new (ELeave) CFbsBitmap();
    User::LeaveIfError(iBitmap->Create(screenSize, displayMode));

    TInt err = CEikonEnv::Static()->ScreenDevice()->CopyScreenToBitmap(iBitmap);

    the emulator it is showing KERN-EXEC 3 panic

    When i debug the problem, the panic is causing at the statement which i have bolded above,

    I also found that screenSize that is the height and width are showing both in negitive values,

    Can any one help me in solving this problem,

    Also, when i run this programm indivudually, it is working fine with out any problems and i could able to capture the picture and store it in phone memory.


    Regards,

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Showing KERN-EXEC3 panic Problem

    Quote Originally Posted by [URL="http://www.symbian.com/developer/techlib/v8.1adocs/doc_source/reference/reference-cpp/N10192/CEikonEnvClass.html#%3a%3aCEikonEnv%3a%3aStatic%28%29"]Symbian OS SDK v8.1a » Symbian OS reference » C++ component reference » App framework UIKON » CEikonEnv[/URL]

    Static()

    Code:
    static inline CEikonEnv *Static();
    Description

    Gets the CEikonEnv maintained by the framework for the application.

    This function should never be run in a thread where such a static Uikon environment does not exist. Code that may run on the server side of an application server is one such case.

    Return value
    CEikonEnv * A static CEikonEnv.

    See also:

    * CCoeEnv::Static()
    Why are you assuming that all the method calls are succesful?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Replies: 9
    Last Post: 2007-06-01, 07:39
  2. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36
  3. What is the real problem to receive data calls with Nokia TDMA cel modems?
    By jackal_jr in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2002-12-09, 09:02
  4. What is the real problem to receive data calls with Nokia TDMA cell modem?
    By jackal_jr in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2002-12-04, 16:05
  5. PJava runtime problem within Nokia 9210, Hrlp~!
    By Nokia_Archive in forum PersonalJava
    Replies: 1
    Last Post: 2002-05-28, 13:15

Posting Permissions

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