×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2012
    Location
    Denmark
    Posts
    9

    Program terminates when restored from thumbnail

    Hi

    I have this fairly simple program, which monitors the position via the location api.

    Everything works, but every time the program has been minimized and are restored, it terminates !

    This only happens when the program is started from the launcher, when it is started via the debugger or from command line there are no problems.

    I have been unable to find any information about the exit in the log files.

    Any ideas as to why the program exits, or how I can find the reason for the exit ?

    Kim

  2. #2
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Program terminates when restored from thumbnail

    Hi,

    I am not very sure but this could be a problem with the invoker. You can see the limitations here. Also please check if the invoker is being used with the right arguments. This is in the .desktop file (this might have been already observed by you)

  3. #3
    Registered User
    Join Date
    Jan 2012
    Location
    Denmark
    Posts
    9

    Re: Program terminates when restored from thumbnail

    HI

    Thanks for your answer.

    I'm using the default .desktop file, generated by QtCreator :

    [Desktop Entry]
    Encoding=UTF-8
    Version=1.0
    Type=Application
    Terminal=false
    Name=OSMapper
    Exec=/usr/bin/invoker --type=d -s /opt/OSMapper/bin/OSMapper
    Icon=/usr/share/icons/hicolor/80x80/apps/OSMapper80.png
    X-Window-Icon=
    X-HildonDesk-ShowInToolbar=true
    X-Osso-Type=application/x-executable

    I'm using the default desktop in two other projects, without this problem !

    The program does not use threads or forks, its a fairly simple c++/QML program.

    Any other ideas ?

    Kim

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2009
    Posts
    200

    Re: Program terminates when restored from thumbnail

    Is it a QML application?

    If not try changing the type parameter (or try changing it anyway)
    http://harmattan-dev.nokia.com/docs/...invoker&sp=all

  5. #5
    Registered User
    Join Date
    Nov 2011
    Posts
    48

    Re: Program terminates when restored from thumbnail

    Does your aegis manifest request credentials for the invoker?
    Code:
    	<for path="/opt/OSMapper/bin/OSMapper" />
    	<for path="applauncherd-launcher::/usr/bin/applauncherd.bin" id="" />

  6. #6
    Registered User
    Join Date
    Jan 2012
    Location
    Denmark
    Posts
    9

    Re: Program terminates when restored from thumbnail

    Hi

    My program is a c++ & QML program.

    Yes the aegis manifest does include "<for path="applauncherd-launcher::/usr/bin/applauncherd.bin" id="" />"

    Some testing has shown that the program is terminated with a signal 11, while restoring from thumb nail, just when it should re-initialize the meego display system.

    If I use type=q or type=e the failure disappears !

    I do not understand why this should be the case, as I have several other programs using type=d without showing this problem, but the problem has been solved

    Thanks for your help.

    Kim

Similar Threads

  1. Forum restored
    By Nokia Ron in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 0
    Last Post: 2011-07-20, 17:07
  2. Restored from PC Suite
    By stevenc9 in forum Symbian C++
    Replies: 2
    Last Post: 2009-05-26, 10:34
  3. No Panic is shown, program just terminates
    By mg_at_uni in forum Symbian C++
    Replies: 6
    Last Post: 2008-03-27, 12:45
  4. Replies: 3
    Last Post: 2008-02-17, 21:05

Posting Permissions

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