My application dies shortly after being launched from the menu

If the application works fine from command line, but dies when launched from the menu, you are most likely using the X-Service in your .desktop file, but not using osso_initialize.