[maemo-developers] [maemo-developers] Debugging maemo_af_desktop crashes

From: Jakub.Pavelek at nokia.com Jakub.Pavelek at nokia.com
Date: Fri Dec 8 09:56:28 EET 2006
>I believe I've mentioned before that my 770 likes to reboot 
>/proc/bootreason is sw_rst, 
>/var/lib/dsme/stats/lifeguard_resets usually indicates 
>/usr/bin/maemo_af_desktop (46 times already, out of 54 
>resets).  I mkdir'ed /media/mmc1/core-dumps and now have a 
>core file from the last crash.  Question: what can I do with it?
>gdb on the 770 doesn't appear to be very useful:
>/media/mmc1/core-dumps $ gdb maemo_af_desktop core.959 ...
>warning: core file may not match specified executable file.
>Core was generated by `/usr/bin/maemo_af_desktop'.
>Program terminated with signal 6, Aborted.
>Reading symbols from /lib/libc.so.6...(no debugging symbols 
>Loaded symbols for /lib/libc.so.6
>Reading symbols from /lib/ld-linux.so.3...(no debugging 
>symbols found)...done.
>Loaded symbols for /lib/ld-linux.so.3
>#0  0x40047c14 in kill () from /lib/libc.so.6
>(gdb) bt
>#0  0x40047c14 in kill () from /lib/libc.so.6
>#1  0x40047a2c in raise () from /lib/libc.so.6
>#2  0x00008f20 in ?? ()
>I'm still running mistral.  I've two status bar applets 
>installed (panelclock 0.5 and load-applet-run 0.4.3-2), but 
>previously I've seen these spontaneous reboots with only 
>osso-statusbar-cpu installed instead of these two.
>(I also happen to have four other core files from previous crashes:
>browser, maemo-launcher, dsme, osso_hss.)

It is not device crash, it is a forced reboot after a key component
segfaulted. AFAIK maemo_af_desktop usually dies when some applet does
something wrong, like for example calls abort().

Maybe we should have a place where users could upload their cores ;)



More information about the maemo-developers mailing list