[maemo-developers] [maemo-developers] Application receives SIGKILL if executed through the menu
From: Celso Pinto cpinto at yimports.comDate: Wed Jan 4 17:16:01 EET 2006
- Previous message: [maemo-developers] Application receives SIGKILL if executed through the menu
- Next message: [maemo-developers] Application receives SIGKILL if executed through the menu
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Kalle, thanks for your insight. One more question though, in the service file, the service name should then be com.nokia.<PACKAGENAME>, right? In related news, how can I suggest changes to the "new application howto" as to include this precious information? Cheers, Celso On Wed, 2006-01-04 at 16:58 +0200, Kalle Vahlman wrote: > 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
- Previous message: [maemo-developers] Application receives SIGKILL if executed through the menu
- Next message: [maemo-developers] Application receives SIGKILL if executed through the menu
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]