Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-09-02 Thread Eero Tamminen
Hi, ext Alexandre Fayolle wrote: Oh, I was not clear about this : I'm a linux coder, and I have not yet started coding on maemo but intend to do so soon (hence my subscribing to this list). Sorry for throwing you on a path harder than it seamed. OTOH, compiling strace should not be a problem

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-09-02 Thread Eero Tamminen
Hi, ext Han wrote: On Tue, Aug 31, 2010 at 8:37 AM, Eero Tamminen eero.tammi...@nokia.com wrote: I tried Valgrind, and it did report memory leaks. However, most are from gtk/gdk libs and not obvious to me if something is wrong in my program. For example: ==19494== 2,356 (256 direct, 2,100

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-09-01 Thread Han
Btw, I have already called gtk_main_quit() in the callback for GTK destroy signal. And here is the command I used to run Valgrind: G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=30 --log-file=vgdump my program Thanks

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-09-01 Thread Alexandre Fayolle
On Wednesday 01 September 2010 07:00:25 Han wrote: On Tue, Aug 31, 2010 at 12:40 AM, Alexandre Fayolle alexandre.fayo...@logilab.fr wrote: On Tuesday 31 August 2010 09:07:01 Han wrote: Hi, I am using Maemo 2.2 to develop some programs for Nokia 770. Things run pretty well except

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-09-01 Thread Han
no problem. Thanks. I learned about strace and OOM killer. It turns out it's due to memory leaks. There are many leaks reported by Valgrind. I fixed those that are clearly my fault and now my program running on 770 without crash :-). Thanks for this mail alias ! - Han On Tue, Aug 31, 2010 at

how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-08-31 Thread Han
Hi, I am using Maemo 2.2 to develop some programs for Nokia 770. Things run pretty well except sometime my program would crash for unknown reason. Normally I start the program from x terminal, and it would crash with only message Killed. I am wondering if possible to get a stack trace when the

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-08-31 Thread Alexandre Fayolle
On Tuesday 31 August 2010 09:07:01 Han wrote: Hi, I am using Maemo 2.2 to develop some programs for Nokia 770. Things run pretty well except sometime my program would crash for unknown reason. Normally I start the program from x terminal, and it would crash with only message Killed. I am

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-08-31 Thread Ian Stirling
Han wrote: Hi, I am using Maemo 2.2 to develop some programs for Nokia 770. Things run pretty well except sometime my program would crash for unknown reason. Normally I start the program from x terminal, and it would crash with only message Killed. I am wondering if possible to get a stack

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-08-31 Thread Eero Tamminen
Hi, ext Alexandre Fayolle wrote: On Tuesday 31 August 2010 09:07:01 Han wrote: Hi, I am using Maemo 2.2 to develop some programs for Nokia 770. Things run pretty well except sometime my program would crash for unknown reason. Normally I start the program from x terminal, and it would crash

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-08-31 Thread Han
On Tue, Aug 31, 2010 at 12:40 AM, Alexandre Fayolle alexandre.fayo...@logilab.fr wrote: On Tuesday 31 August 2010 09:07:01 Han wrote: Hi, I am using Maemo 2.2 to develop some programs for Nokia 770. Things run pretty well except sometime my program would crash for unknown reason. Normally I

Re: how to get crash stack trace in Maemo 2.2 (Nokia 770)

2010-08-31 Thread Han
On Tue, Aug 31, 2010 at 8:37 AM, Eero Tamminen eero.tammi...@nokia.com wrote: Hi, ext Alexandre Fayolle wrote: On Tuesday 31 August 2010 09:07:01 Han wrote: Hi, I am using Maemo 2.2 to develop some programs for Nokia 770. Things run pretty well except sometime my program would crash for