[maemo-developers] Status bar plugin problems

From: Eugene Antimirov turist at gmail.com
Date: Thu Sep 4 23:07:39 EEST 2008
Hi all!

I'm looking for the right way to develop a status bar plugin.

At the moment there is a problem here. As I've found from wiki at maemo.org
to kill running SB plugin I have to remove this file:

/usr/share/applications/hildon-status-bar/applet.desktop

so then I replace old libapplet.so file with a new one, copy .desktop file to
/usr/share/applications/hildon-status-bar. It starts ok, but the
problem I'm stuck
with is that old binary seems to be loaded instead of new one. It's
like the running
process is still having old inode of the file. Actually if I try not
to remove .so file and
then copy a new one but run "cat newapplet.so >
/usr/lib.../libapplet.so" the whole
thing crashes with these messages:
"
qemu: uncaught target signal 11 (Segmentation fault) - exiting
maemo-launcher: child (pid=21568) terminated due to signal=11
matchbox-wm: X error warning (0xc000fa): BadWindow (invalid Window
parameter) (opcode: 12)
matchbox-wm: X error warning (0xc000fa): BadWindow (invalid Window
parameter) (opcode: 12)
matchbox-wm: X error warning (0xc000fa): BadWindow (invalid Window
parameter) (opcode: 25)
maemo-launcher: no child 21606 found in the kindergarten.
maemo-launcher: child (pid=21606) terminated due to exit()=0
"

Is there any good example of the plugin restart should be done?

-- 
Sincerely,
Eugene

More information about the maemo-developers mailing list