[maemo-developers] [maemo-developers] Application receives SIGKILL if executed through the menu

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Wed Jan 4 16:58:03 EET 2006
On 1/4/06, Celso Pinto <cpinto at yimports.com> wrote:
> Hi everyone,

Hi!

> I installed a small application I'm developing on the 770 and noticed
> that it crashed a lot so the next thing I did was to install it as well
> in the (x86) SDK and run it there. I noticed that the application also
> crashed but only when I run it by using the menu entry.
[snip]

Usually this is not a crash actually, but intentional interruption by
the system (which is why you get SIGKILL). This is due to the launched
program not providing correct service in the dbus (or indeed a service
at all), which the system takes as if the program failed to load
properly (hanged) and kills it off so it won't stay and consume
resources.

The X-Osso-Service entry in the .desktop file should match exactly the
PACKAGE argument you are giving to the osso_initialize() function.

Note that AFAIK the released SDK version of libosso will
unconditionally prefix the argument "com.nokia", although this can be
omitted in the .desktop file (at least if the name doesn't contain a
dot).

--
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi

More information about the maemo-developers mailing list