Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Strange crash, ask for help on how to debug

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


firstfan at gmail

Jul 30, 2010, 8:32 AM

Post #1 of 3 (261 views)
Permalink
Strange crash, ask for help on how to debug

Hi all,

I'm porting PCManX to N900.
The functions work well now, but it will crash frequently.
Usually, I need to open XTerm, to set "ulimit -c unlimited", and run the
application, to get the crash dump file.
But it's strange for this application. The crash never happens if I run
the application from XTerm.
Whatever I run "pcmanx" or "run-standalone pcmanx", it will not crash.
Only if I start the application from the
application list, it may crash after a while.

I think most of you won't use this application. I mean, PCManX is an old
style telnet BBS client.
So I just would like to ask if you have any idea about how to debug that
in this situation? I cannot get any crash log now.

Best regards,
Evan JIANG


trippin1 at gmail

Jul 30, 2010, 8:46 AM

Post #2 of 3 (243 views)
Permalink
Re: Strange crash, ask for help on how to debug [In reply to]

Hi,

On 30 July 2010 16:32, Evan JIANG <firstfan [at] gmail> wrote:
>     Whatever I run "pcmanx" or "run-standalone pcmanx", it will not crash.
> Only if I start the application from the
>     application list, it may crash after a while.

In your desktop file, you're using X-Osso-Service but you aren't
calling osso_initialize in your program. Since hildon-desktop is
starting your program up via D-Bus, it expects to be able to call the
"top_application" method on your application. You can either do that
(call osso_initialize) or remove the X-Osso-Service line.

Best regards,
Faheem
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


firstfan at gmail

Jul 30, 2010, 9:30 AM

Post #3 of 3 (244 views)
Permalink
Re: Strange crash, ask for help on how to debug [In reply to]

It works now.
Thank you very much.

Kindly regards,
Evan JIANG
On Fri, Jul 30, 2010 at 11:46 PM, Faheem Pervez <trippin1 [at] gmail> wrote:

> Hi,
>
> On 30 July 2010 16:32, Evan JIANG <firstfan [at] gmail> wrote:
> > Whatever I run "pcmanx" or "run-standalone pcmanx", it will not
> crash.
> > Only if I start the application from the
> > application list, it may crash after a while.
>
> In your desktop file, you're using X-Osso-Service but you aren't
> calling osso_initialize in your program. Since hildon-desktop is
> starting your program up via D-Bus, it expects to be able to call the
> "top_application" method on your application. You can either do that
> (call osso_initialize) or remove the X-Osso-Service line.
>
> Best regards,
> Faheem
>

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.