[maemo-developers] Status bar plugin problems

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Fri Sep 5 11:04:58 EEST 2008
On Thu, 2008-09-04 at 23:07 +0300, ext Eugene Antimirov wrote:
> 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?

After installing a new version of the plugin, you could restart the
hildon-desktop using the /etc/init.d/hildon-desktop script.

BR; Kimmo

More information about the maemo-developers mailing list