Active Topics

 


Reply
Thread Tools
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#1
Hi!

I am developing the QSportsEvent app. It has one very annoying bug. Once it's on the device, launching it from a desktop shortcut, it will spontaneously shutdown/crash within a couple of minutes, even when the app is idle. If, however, I launch it from the X Terminal window, it can stay alive for hours without any issues. What is the difference? What should I be looking at? Any tools that can be used to analyze this? The behaviour seems to be the same on Fremantle and Diablo.

It is a rather 'normal' Qt application built in Qt Creator/MADDE using a local SQLITE Db.
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#2
I have found issues like this related to
1. path related issues, try and launch in xterm from outside directory and see if you get meaningful messages
2. Desktop D-bus issues, but have a look at your .desktop file for the application.
__________________
N900_Email_Options Wiki Page
 

The Following User Says Thank You to mikec For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
Comment out the X-Osso-Service line in your desktop file.

Usually I'd say osso_initialize () but I do not know how well it goes with Qt (libosso uses dbus_connection_setup_with_g_main ()). That said, it'd probably work - I'm presuming that Qt on Fremantle uses the GLib main loop because it uses Hildon widgets well.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#4
Originally Posted by qwerty12 View Post
Comment out the X-Osso-Service line in your desktop file.

Usually I'd say osso_initialize () but I do not know how well it goes with Qt (libosso uses dbus_connection_setup_with_g_main ()). That said, it'd probably work - I'm presuming that Qt on Fremantle uses the GLib main loop because it uses Hildon widgets well.
I guess this is what you're referring to?

http://wiki.forum.nokia.com/index.ph...application_UI

I'll try it out.
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).
 
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#5
Originally Posted by qwerty12 View Post
Comment out the X-Osso-Service line in your desktop file.
That did the trick. Magic, if you ask me...

Thanks!
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).
 

The Following User Says Thank You to magnuslu For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:02.